[csw-devel] SF.net SVN: gar:[18196] csw/mgar/pkg/figlet/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Jun 1 22:16:59 CEST 2012


Revision: 18196
          http://gar.svn.sourceforge.net/gar/?rev=18196&view=rev
Author:   dmichelsen
Date:     2012-06-01 20:16:59 +0000 (Fri, 01 Jun 2012)
Log Message:
-----------
figlet/trunk: Update to 2.2.5

Modified Paths:
--------------
    csw/mgar/pkg/figlet/trunk/Makefile
    csw/mgar/pkg/figlet/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/figlet/trunk/files/0001-Include-alloca.h.patch

Modified: csw/mgar/pkg/figlet/trunk/Makefile
===================================================================
--- csw/mgar/pkg/figlet/trunk/Makefile	2012-06-01 14:28:54 UTC (rev 18195)
+++ csw/mgar/pkg/figlet/trunk/Makefile	2012-06-01 20:16:59 UTC (rev 18196)
@@ -1,6 +1,5 @@
 NAME = figlet
-VERSION = 2.2.2
-RELEASE = 222
+VERSION = 2.2.5
 CATEGORIES = apps
 GARTYPE = v2
 
@@ -14,30 +13,32 @@
 endef
 
 MASTER_SITES = ftp://ftp.figlet.org/pub/figlet/program/unix/
-DISTFILES  = $(NAME)$(RELEASE).tar.gz
+DISTFILES  = $(DISTNAME).tar.gz
 MASTER_SITES += ftp://ftp.figlet.org/pub/figlet/fonts/
 # ours.tar.gz is already in the figlet distribution
-DISTFILES += contributed.tar.gz international.tar.gz ms-dos.tar.gz
+DISTFILES += contributed.tar.gz
+DISTFILES += international.tar.gz
+DISTFILES += ms-dos.tar.gz
 
-SPKG_SOURCEURL = http://www.figlet.org
+PATCHFILES += 0001-Include-alloca.h.patch
 
+VENDOR_URL = http://www.figlet.org
+
 LICENSE = LICENSE
 
-DISTNAME = $(NAME)$(RELEASE)
-
-# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(NAME)(\d+(?:\.\d+)*).tar.gz
-
 # We don't have this modern autoconfig-doodle-crap
 CONFIGURE_SCRIPTS =
 
 APPDIR = $(sharedstatedir)/$(NAME)
 DEFAULTFONTDIR = $(APPDIR)/fonts
 
+EXTRA_CFLAGS += -D__BEGIN_DECLS=
+EXTRA_CFLAGS += -D__END_DECLS=
+
 BUILD_OVERRIDE_DIRS = CC CFLAGS DEFAULTFONTDIR
 
 # FIGlet doesn't have tests
-TEST_SCRIPTS =
+# TEST_SCRIPTS =
 
 INSTALL_SCRIPTS = custom
 

Modified: csw/mgar/pkg/figlet/trunk/checksums
===================================================================
--- csw/mgar/pkg/figlet/trunk/checksums	2012-06-01 14:28:54 UTC (rev 18195)
+++ csw/mgar/pkg/figlet/trunk/checksums	2012-06-01 20:16:59 UTC (rev 18196)
@@ -1,4 +1,4 @@
-6e2dec4499f7a7fe178522e02e0b6cd1  download/contributed.tar.gz
-9fcf4f1651b8e6d3f56f1ef665285b2e  download/figlet222.tar.gz
-b2d53f7e251014adcdb4d407c47f90ef  download/international.tar.gz
-49aa57ab989e8d952be037414b0bbbe4  download/ms-dos.tar.gz
+6e2dec4499f7a7fe178522e02e0b6cd1  contributed.tar.gz
+d88cb33a14f1469fff975d021ae2858e  figlet-2.2.5.tar.gz
+b2d53f7e251014adcdb4d407c47f90ef  international.tar.gz
+49aa57ab989e8d952be037414b0bbbe4  ms-dos.tar.gz

Added: csw/mgar/pkg/figlet/trunk/files/0001-Include-alloca.h.patch
===================================================================
--- csw/mgar/pkg/figlet/trunk/files/0001-Include-alloca.h.patch	                        (rev 0)
+++ csw/mgar/pkg/figlet/trunk/files/0001-Include-alloca.h.patch	2012-06-01 20:16:59 UTC (rev 18196)
@@ -0,0 +1,27 @@
+From e78edada0f6c198ba7418c39cd5832ee0d16b6db Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <da\xC2m at opencsw.org>
+Date: Fri, 1 Jun 2012 22:12:46 +0200
+Subject: [PATCH] Include alloca.h
+
+---
+ figlet.c |    4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/figlet.c b/figlet.c
+index 3de795a..87e8d35 100644
+--- a/figlet.c
++++ b/figlet.c
+@@ -71,6 +71,10 @@
+ #include <sys/ioctl.h> /* Needed for get_columns */
+ #endif
+ 
++#ifdef __sun
++#include <alloca.h>
++#endif
++
+ #ifdef TLF_FONTS
+ #include <wchar.h>
+ #include <wctype.h>
+-- 
+1.7.10
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list