summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/a2ps/files/a2ps-4.13-acroread.patch')
-rw-r--r--app-text/a2ps/files/a2ps-4.13-acroread.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/app-text/a2ps/files/a2ps-4.13-acroread.patch b/app-text/a2ps/files/a2ps-4.13-acroread.patch
new file mode 100644
index 000000000000..5c12361ce3f7
--- /dev/null
+++ b/app-text/a2ps/files/a2ps-4.13-acroread.patch
@@ -0,0 +1,26 @@
+diff -urN a2ps-4.13.ORIG/configure a2ps-4.13/configure
+--- a2ps-4.13.ORIG/configure 2005-05-26 15:57:02.000000000 +0100
++++ a2ps-4.13/configure 2005-06-01 18:50:55.000000000 +0100
+@@ -31713,14 +31713,15 @@
+ if test "${a2_cv_com_acroread4+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+- $acroread -helpall >conftest.help
+- if fgrep -e -size conftest.help >/dev/null &&
+- fgrep -e -shrink conftest.help >/dev/null; then
++# For Gentoo, assume acroread 4 or later.
++# $acroread -helpall >conftest.help
++# if fgrep -e -size conftest.help >/dev/null &&
++# fgrep -e -shrink conftest.help >/dev/null; then
+ a2_cv_com_acroread4=yes
+- else
+- a2_cv_com_acroread4=no
+- fi
+- rm -f conftest.help
++# else
++# a2_cv_com_acroread4=no
++# fi
++# rm -f conftest.help
+ fi
+ echo "$as_me:$LINENO: result: $a2_cv_com_acroread4" >&5
+ echo "${ECHO_T}$a2_cv_com_acroread4" >&6