summaryrefslogtreecommitdiff
path: root/app-text/a2ps/files/a2ps-4.14-fix-stpcpy-proto.patch
blob: ed72bbad07150b856ade217da8cf3d7313a7ddc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fix compilation error due to invalid stpcpy() prototype
https://bugs.gentoo.org/216588

--- a2ps-4.14/lib/xstrrpl.c
+++ a2ps-4.14/lib/xstrrpl.c
@@ -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", ""}}