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
commitd676b7a8f025effc89e401f9541c52396090333b (patch)
tree118efff8d009bb64c16a345ddbcd44a1960da36b /app-text/a2ps/files
parentForce truetype support since users dont know what a fontless wine actually me... (diff)
downloadhistorical-d676b7a8f025effc89e401f9541c52396090333b.tar.gz
historical-d676b7a8f025effc89e401f9541c52396090333b.tar.bz2
historical-d676b7a8f025effc89e401f9541c52396090333b.zip
Fix cachecheck to make it work with autoconf-2.60, thanks to flameeyes, bug 138161
Package-Manager: portage-2.1.1_pre1-r3
Diffstat (limited to 'app-text/a2ps/files')
-rw-r--r--app-text/a2ps/files/a2ps-4.13-fixcachecheck.patch16
1 files changed, 16 insertions, 0 deletions
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;
+