aboutsummaryrefslogtreecommitdiffstats
path: root/main/a2ps/fix-redeclarations.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-28 13:48:51 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-28 13:48:51 +0000
commitd57c0858200dfbca041aad04b551632c85a298e3 (patch)
treeca6375b22b8c1994385c58d5251a2d9e72039b16 /main/a2ps/fix-redeclarations.patch
parent9edb877588f01566225a289e63dc0f5667ae730b (diff)
downloadaports-d57c0858200dfbca041aad04b551632c85a298e3.tar.bz2
aports-d57c0858200dfbca041aad04b551632c85a298e3.tar.xz
main/a2ps: fix musl build
Diffstat (limited to 'main/a2ps/fix-redeclarations.patch')
-rw-r--r--main/a2ps/fix-redeclarations.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/a2ps/fix-redeclarations.patch b/main/a2ps/fix-redeclarations.patch
new file mode 100644
index 0000000000..170df701b6
--- /dev/null
+++ b/main/a2ps/fix-redeclarations.patch
@@ -0,0 +1,20 @@
+--- a2ps-4.14.orig/lib/options.c
++++ a2ps-4.14/lib/options.c
+@@ -57,7 +57,6 @@
+
+ #define MAN_LINES 66 /* no lines for a man */
+ extern char *program_name;
+-extern const char *program_invocation_name;
+
+ /*
+ * Hooks used
+--- a2ps-4.14.orig/src/main.c
++++ a2ps-4.14/src/main.c
+@@ -104,7 +104,6 @@
+ defined twice, see lib/confg.gperf, handling of `Options:'. */
+
+ char *program_name;
+-const char *program_invocation_name;
+
+ /* Stores the data of liba2ps. */
+