aboutsummaryrefslogtreecommitdiffstats
path: root/community/a2ps/fix-redeclarations.patch
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-10-17 11:46:52 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-10-24 18:56:33 +0000
commit44f09f98c5e4c349dcc6b25edde778f864f4ca5a (patch)
tree8a07a6c786e1c1d32c5e7c72f2f875ab9438022d /community/a2ps/fix-redeclarations.patch
parente687ca43f002b7469d415bc786ba072459057f1f (diff)
downloadaports-44f09f98c5e4c349dcc6b25edde778f864f4ca5a.tar.bz2
aports-44f09f98c5e4c349dcc6b25edde778f864f4ca5a.tar.xz
community/a2ps: move from main
Closes !509
Diffstat (limited to 'community/a2ps/fix-redeclarations.patch')
-rw-r--r--community/a2ps/fix-redeclarations.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/community/a2ps/fix-redeclarations.patch b/community/a2ps/fix-redeclarations.patch
new file mode 100644
index 0000000000..170df701b6
--- /dev/null
+++ b/community/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. */
+