summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2006-06-26 22:44:12 +0000
committerJeroen Roovers <jer@gentoo.org>2006-06-26 22:44:12 +0000
commit5414d58bd34edfabb86e82a5cca8e792be868d91 (patch)
tree62620189ce69eced4f84e7f946434b5ed3038d4b /app-text/pinfo/files
parentVersion bump, resolves CVE-2006-3082. Upstream also includes support for DSA2... (diff)
downloadgentoo-2-5414d58bd34edfabb86e82a5cca8e792be868d91.tar.gz
gentoo-2-5414d58bd34edfabb86e82a5cca8e792be868d91.tar.bz2
gentoo-2-5414d58bd34edfabb86e82a5cca8e792be868d91.zip
Fixing --as-needed as reported in bug #138106. Thanks to TGL for reporting and the patch, and Flameeyes and exg for their kind advice.
(Portage version: 2.1.1_pre1-r2)
Diffstat (limited to 'app-text/pinfo/files')
-rw-r--r--app-text/pinfo/files/pinfo-0.6.9-as-needed.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/app-text/pinfo/files/pinfo-0.6.9-as-needed.patch b/app-text/pinfo/files/pinfo-0.6.9-as-needed.patch
new file mode 100644
index 000000000000..e2c005099b8f
--- /dev/null
+++ b/app-text/pinfo/files/pinfo-0.6.9-as-needed.patch
@@ -0,0 +1,22 @@
+--- ./macros/curses.m4.orig 2006-06-26 22:29:10.000000000 +0200
++++ ./macros/curses.m4 2006-06-26 22:31:16.000000000 +0200
+@@ -257,8 +257,8 @@
+ dnl save CFLAGS and LDFLAGS and set new ones
+ CFLAGS_OLD=$CFLAGS
+ CFLAGS="$CFLAGS $curses_includes"
+- LDFLAGS_OLD=$LDFLAGS
+- LDFLAGS="$LDFLAGS $curses_libs"
++ LIBS_OLD=$LIBS
++ LIBS="$LIBS $curses_libs"
+
+ dnl do the compile test
+ AC_MSG_CHECKING([if curses is usable])
+@@ -288,7 +288,7 @@
+
+ dnl restore variables
+ CFLAGS=$CFLAGS_OLD
+- LDFLAGS=$LDFLAGS_OLD
++ LIBS=$LIBS_OLD
+
+ ])
+