summaryrefslogtreecommitdiff
path: root/app-text/a2ps/files
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/a2ps/files')
-rw-r--r--app-text/a2ps/files/a2ps-4.14-configure.ac.patch11
-rw-r--r--app-text/a2ps/files/a2ps-4.14-function-decl.patch12
2 files changed, 23 insertions, 0 deletions
diff --git a/app-text/a2ps/files/a2ps-4.14-configure.ac.patch b/app-text/a2ps/files/a2ps-4.14-configure.ac.patch
new file mode 100644
index 000000000000..58cbe4bca478
--- /dev/null
+++ b/app-text/a2ps/files/a2ps-4.14-configure.ac.patch
@@ -0,0 +1,11 @@
+--- a2ps-4.14/man/Makefile.maint
++++ a2ps-4.14/man/Makefile.maint
+@@ -4,7 +4,7 @@
+ HELP2MAN-run = $(PERL) -w -- $(srcdir)/$(HELP2MAN)
+
+ # Depend on configure.in to get version number changes.
+-$(man_MANS): $(top_srcdir)/configure.in common.x
++$(man_MANS): $(top_srcdir)/configure.ac common.x
+
+ # Depend on the source file containing the --help text.
+ # Filter out irregular cases.
diff --git a/app-text/a2ps/files/a2ps-4.14-function-decl.patch b/app-text/a2ps/files/a2ps-4.14-function-decl.patch
new file mode 100644
index 000000000000..1b330723e95b
--- /dev/null
+++ b/app-text/a2ps/files/a2ps-4.14-function-decl.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/870763
+
+--- a2ps-4.14/lib/path-concat.c
++++ a2ps-4.14/lib/path-concat.c
+@@ -26,6 +26,7 @@
+ #endif
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #if HAVE_STRING_H
+ # include <string.h>
+ #endif