summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2005-08-24 07:54:42 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2005-08-24 07:54:42 +0000
commit9f18f2d12e4c4ba654a9312abc4560641797801e (patch)
treee6e4480f7a85688dd34f4ce37ebd3de55432a081 /x11-plugins/wmmp3/files
parentFixed cp commandline and removed root:root chown. (diff)
downloadgentoo-2-9f18f2d12e4c4ba654a9312abc4560641797801e.tar.gz
gentoo-2-9f18f2d12e4c4ba654a9312abc4560641797801e.tar.bz2
gentoo-2-9f18f2d12e4c4ba654a9312abc4560641797801e.zip
Added patch to make safety checks on X includes and libraries. Closes bug #103531.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'x11-plugins/wmmp3/files')
-rw-r--r--x11-plugins/wmmp3/files/wmmp3-0.12-x_includes_n_libraries.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-plugins/wmmp3/files/wmmp3-0.12-x_includes_n_libraries.patch b/x11-plugins/wmmp3/files/wmmp3-0.12-x_includes_n_libraries.patch
new file mode 100644
index 000000000000..91e6c679dcda
--- /dev/null
+++ b/x11-plugins/wmmp3/files/wmmp3-0.12-x_includes_n_libraries.patch
@@ -0,0 +1,20 @@
+--- configure.orig 2005-08-24 09:45:23.000000000 +0200
++++ configure 2005-08-24 09:45:08.000000000 +0200
+@@ -1977,11 +1977,15 @@
+
+
+ if test "$x_includes" != "NONE"; then
+- CFLAGS="$CFLAGS -I$x_includes"
++ if test "$x_includes" != ""; then
++ CFLAGS="$CFLAGS -I$x_includes"
++ fi
+ fi
+
+ if test "$x_libraries" != "NONE"; then
+- LDFLAGS="$LDFLAGS -L$x_libraries"
++ if test "$x_libraries" != ""; then
++ LDFLAGS="$LDFLAGS -L$x_libraries"
++ fi
+ fi
+
+ echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6