[vlc-devel] [PATCH 2/4] contribs: goom2k4 wants to install stuff outside of our prefix...

Dominique Martinet asmadeus at codewreck.org
Fri Apr 15 19:23:29 CEST 2011


---
 .../contrib/src/Patches/goom2k4-xmmslibdir.patch   |   11 +++++++++++
 extras/contrib/src/contrib-src.mak                 |    1 +
 2 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100644 extras/contrib/src/Patches/goom2k4-xmmslibdir.patch

diff --git a/extras/contrib/src/Patches/goom2k4-xmmslibdir.patch b/extras/contrib/src/Patches/goom2k4-xmmslibdir.patch
new file mode 100644
index 0000000..3459caa
--- /dev/null
+++ b/extras/contrib/src/Patches/goom2k4-xmmslibdir.patch
@@ -0,0 +1,11 @@
+--- goom/xmms-goom/Makefile.am	2005-02-07 22:46:42.000000000 +0900
++++ goom.new/xmms-goom/Makefile.am	2011-04-16 02:03:15.420291009 +0900
+@@ -2,7 +2,7 @@
+ 
+ if HAVE_XMMS
+ xmms_lib_LTLIBRARIES = libxmmsgoom2.la
+-xmms_libdir = $(XMMS_VISUALIZATION_PLUGIN_DIR)
++xmms_libdir = $(libdir)
+ libxmmsgoom2_la_LIBADD = $(top_builddir)/src/libgoom2.la $(XMMS_LIBS)
+ libxmmsgoom2_la_SOURCES = xmms_goom.c
+ INCLUDES=-DDATADIR=\"@XMMS_DATA_DIR@\" @XMMS_CFLAGS@ -Wall -I../src/
diff --git a/extras/contrib/src/contrib-src.mak b/extras/contrib/src/contrib-src.mak
index cfde3dc..75c87f5 100644
--- a/extras/contrib/src/contrib-src.mak
+++ b/extras/contrib/src/contrib-src.mak
@@ -1378,6 +1378,7 @@ ifdef HAVE_MACOSX
 	patch -p0 < Patches/goom2k4-osx.patch
 endif
 	patch -p0 < Patches/goom2k4-noxmmx.patch
+	patch -p0 < Patches/goom2k4-xmmslibdir.patch
 	(cd $@; rm -f configure; autoreconf -ivf)
 
 .goom2k4: goom
-- 
1.7.3.2




More information about the vlc-devel mailing list