diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2005-06-07 22:15:27 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2005-06-07 22:15:27 +0000 |
commit | 7a4086f6a9149b8133350aeebdddc74f3110fd49 (patch) | |
tree | 63803a7b36fe7d3a344910d5e70564fb7bcf8e6f /app-text/a2ps | |
parent | Fix dependencies because of apache revbump (diff) | |
download | gentoo-2-7a4086f6a9149b8133350aeebdddc74f3110fd49.tar.gz gentoo-2-7a4086f6a9149b8133350aeebdddc74f3110fd49.tar.bz2 gentoo-2-7a4086f6a9149b8133350aeebdddc74f3110fd49.zip |
fix sandbox violation
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'app-text/a2ps')
-rw-r--r-- | app-text/a2ps/a2ps-4.13c-r2.ebuild | 5 | ||||
-rw-r--r-- | app-text/a2ps/files/a2ps-4.13-acroread.patch | 26 |
2 files changed, 3 insertions, 28 deletions
diff --git a/app-text/a2ps/a2ps-4.13c-r2.ebuild b/app-text/a2ps/a2ps-4.13c-r2.ebuild index 484edc924829..c7af9befe795 100644 --- a/app-text/a2ps/a2ps-4.13c-r2.ebuild +++ b/app-text/a2ps/a2ps-4.13c-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/a2ps-4.13c-r2.ebuild,v 1.5 2005/06/07 17:24:01 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/a2ps-4.13c-r2.ebuild,v 1.6 2005/06/07 22:15:27 lanius Exp $ inherit gnuconfig eutils @@ -41,7 +41,8 @@ src_unpack() { epatch ${FILESDIR}/${P}-fixps.patch epatch ${FILESDIR}/${P}-psmandup.diff - has_version app-text/acroread && epatch ${FILESDIR}/a2ps-4.13-acroread.patch + # fix sandbox violation, bug #79012 + sed -i -e 's:$acroread -helpall:acroread4 -helpall:' configure configure.in gnuconfig_update || die "gnuconfig_update failed" libtoolize --copy --force || die "libtoolize failed" diff --git a/app-text/a2ps/files/a2ps-4.13-acroread.patch b/app-text/a2ps/files/a2ps-4.13-acroread.patch deleted file mode 100644 index 5c12361ce3f7..000000000000 --- a/app-text/a2ps/files/a2ps-4.13-acroread.patch +++ /dev/null @@ -1,26 +0,0 @@ -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 |