aboutsummaryrefslogtreecommitdiffstats
path: root/main/a2ps/fix-redeclarations.patch
diff options
context:
space:
mode:
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. */
+