summaryrefslogtreecommitdiffstats
path: root/extra/a2ps/a2ps-4.14-fix-stpcpy-proto.patch
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-21 18:39:20 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-21 18:39:20 +0200
commit6d6caa92e7418c7bbcbee40d421863f5e850a0f6 (patch)
treeb015b5897db7ab7e51607089580cc1d3069bb2f4 /extra/a2ps/a2ps-4.14-fix-stpcpy-proto.patch
parent1f7c3db43f053c1617275d22770b13e6a935b077 (diff)
downloadnutyx-pakxe-6d6caa92e7418c7bbcbee40d421863f5e850a0f6.tar.gz
nutyx-pakxe-6d6caa92e7418c7bbcbee40d421863f5e850a0f6.tar.bz2
nutyx-pakxe-6d6caa92e7418c7bbcbee40d421863f5e850a0f6.tar.xz
nutyx-pakxe-6d6caa92e7418c7bbcbee40d421863f5e850a0f6.zip
maj a2ps#4.14-1
Diffstat (limited to 'extra/a2ps/a2ps-4.14-fix-stpcpy-proto.patch')
-rw-r--r--extra/a2ps/a2ps-4.14-fix-stpcpy-proto.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/extra/a2ps/a2ps-4.14-fix-stpcpy-proto.patch b/extra/a2ps/a2ps-4.14-fix-stpcpy-proto.patch
new file mode 100644
index 000000000..7c3c69076
--- /dev/null
+++ b/extra/a2ps/a2ps-4.14-fix-stpcpy-proto.patch
@@ -0,0 +1,17 @@
+=== modified file 'lib/xstrrpl.c'
+--- lib/xstrrpl.c 2008-04-14 18:04:50 +0000
++++ lib/xstrrpl.c 2008-04-14 18:20:20 +0000
+@@ -20,12 +20,10 @@
+
+ #include "system.h"
+ #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", ""}}
+ */
+ char *
+