summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-06-27 09:50:06 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-06-27 09:50:06 +0000
commit68d023ba80365801b9da793dabd1db42f0eee5be (patch)
tree17b90ab67a313e9043dd3289f273ab3b4c0fb2e2 /app-text
parentForce truetype support since users dont know what a fontless wine actually me... (diff)
downloadgentoo-2-68d023ba80365801b9da793dabd1db42f0eee5be.tar.gz
gentoo-2-68d023ba80365801b9da793dabd1db42f0eee5be.tar.bz2
gentoo-2-68d023ba80365801b9da793dabd1db42f0eee5be.zip
Fix cachecheck to make it work with autoconf-2.60, thanks to flameeyes, bug 138161
(Portage version: 2.1.1_pre1-r3)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/a2ps/ChangeLog7
-rw-r--r--app-text/a2ps/a2ps-4.13c-r5.ebuild5
-rw-r--r--app-text/a2ps/files/a2ps-4.13-fixcachecheck.patch16
3 files changed, 26 insertions, 2 deletions
diff --git a/app-text/a2ps/ChangeLog b/app-text/a2ps/ChangeLog
index 4c277a601515..83f3f8171fcc 100644
--- a/app-text/a2ps/ChangeLog
+++ b/app-text/a2ps/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/a2ps
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/ChangeLog,v 1.47 2006/06/01 23:31:14 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/ChangeLog,v 1.48 2006/06/27 09:50:06 genstef Exp $
+
+ 27 Jun 2006; Stefan Schweizer <genstef@gentoo.org>
+ +files/a2ps-4.13-fixcachecheck.patch, a2ps-4.13c-r5.ebuild:
+ Fix cachecheck to make it work with autoconf-2.60, thanks to flameeyes, bug
+ 138161
*a2ps-4.13c-r5 (01 Jun 2006)
diff --git a/app-text/a2ps/a2ps-4.13c-r5.ebuild b/app-text/a2ps/a2ps-4.13c-r5.ebuild
index 519a14714485..0c318a31476d 100644
--- a/app-text/a2ps/a2ps-4.13c-r5.ebuild
+++ b/app-text/a2ps/a2ps-4.13c-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/a2ps-4.13c-r5.ebuild,v 1.1 2006/06/01 23:31:14 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/a2ps-4.13c-r5.ebuild,v 1.2 2006/06/27 09:50:06 genstef Exp $
inherit gnuconfig eutils autotools
@@ -57,6 +57,9 @@ src_unpack() {
# fix psset with sed-4.1, bug #126403
epatch ${FILESDIR}/a2ps-4.13c-psset.patch
+ # fix >=autoconf-2.60, bug 138161
+ epatch ${FILESDIR}/a2ps-4.13-fixcachecheck.patch
+
gnuconfig_update || die "gnuconfig_update failed"
AT_M4DIR="m4" eautoreconf || die "eautoreconf failed"
}
diff --git a/app-text/a2ps/files/a2ps-4.13-fixcachecheck.patch b/app-text/a2ps/files/a2ps-4.13-fixcachecheck.patch
new file mode 100644
index 000000000000..0ecfec53f4ac
--- /dev/null
+++ b/app-text/a2ps/files/a2ps-4.13-fixcachecheck.patch
@@ -0,0 +1,16 @@
+Index: a2ps-4.13/configure.in
+===================================================================
+--- a2ps-4.13.orig/configure.in
++++ a2ps-4.13/configure.in
+@@ -158,8 +158,9 @@ if test $ac_cv_func_fnmatch_works = no;
+ fi
+
+ # Check for C99 va_copy
+-AC_CACHE_CHECK([
+- AC_TRY_LINK([#include <stdarg.h>],
++AC_CACHE_CHECK([if compiler supports C99 va_copy],
++ [ac_cv_va_copy],
++ [AC_TRY_LINK([#include <stdarg.h>],
+ [
+ va_list va1, va2;
+