[56498] trunk/dports/print/a2ps

toby at macports.org toby at macports.org
Fri Aug 28 17:25:33 PDT 2009


Revision: 56498
          http://trac.macports.org/changeset/56498
Author:   toby at macports.org
Date:     2009-08-28 17:25:29 -0700 (Fri, 28 Aug 2009)
Log Message:
-----------
#20867 (a2ps fails build on 10.6 (looks like stpcpy issue))

Modified Paths:
--------------
    trunk/dports/print/a2ps/Portfile

Added Paths:
-----------
    trunk/dports/print/a2ps/files/patch-lib__xstrrpl.c

Modified: trunk/dports/print/a2ps/Portfile
===================================================================
--- trunk/dports/print/a2ps/Portfile	2009-08-28 23:53:36 UTC (rev 56497)
+++ trunk/dports/print/a2ps/Portfile	2009-08-29 00:25:29 UTC (rev 56498)
@@ -18,7 +18,7 @@
 
 depends_build	bin:psnup:psutils
 
-patchfiles		patch-contrib_sample_Makefile.in
+patchfiles		patch-contrib_sample_Makefile.in patch-lib__xstrrpl.c
 
 pre-configure	{ reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/configure }
 configure.args	--with-medium=Letter \

Added: trunk/dports/print/a2ps/files/patch-lib__xstrrpl.c
===================================================================
--- trunk/dports/print/a2ps/files/patch-lib__xstrrpl.c	                        (rev 0)
+++ trunk/dports/print/a2ps/files/patch-lib__xstrrpl.c	2009-08-29 00:25:29 UTC (rev 56498)
@@ -0,0 +1,11 @@
+--- lib/xstrrpl.c.orig	2009-08-28 17:22:42.000000000 -0700
++++ lib/xstrrpl.c	2009-08-28 17:22:45.000000000 -0700
+@@ -22,8 +22,6 @@
+ #include <assert.h>
+ #include "xstrrpl.h"
+ 
+-extern char * stpcpy();
+-
+ /* Perform subsitutions in string.  Result is malloc'd
+    E.g., result = xstrrrpl ("1234", subst) gives result = "112333"
+    where subst = { {"1", "11"}, {"3", "333"}, { "4", ""}}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090828/089453bc/attachment.html>


More information about the macports-changes mailing list