summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-07-06 23:07:03 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-07-06 23:07:03 +0000
commitb2a6749c54020b5fd99d192315d04354a7b36548 (patch)
treec59ff608e1dfc8e2865b633b8096ee5ebafaebae /media-plugins/xmms-crystality/files
parenttemporary remove of 0.6.0-r2 (Manifest recommit) (diff)
downloadgentoo-2-b2a6749c54020b5fd99d192315d04354a7b36548.tar.gz
gentoo-2-b2a6749c54020b5fd99d192315d04354a7b36548.tar.bz2
gentoo-2-b2a6749c54020b5fd99d192315d04354a7b36548.zip
-sparc ~amd64
Diffstat (limited to 'media-plugins/xmms-crystality/files')
-rw-r--r--media-plugins/xmms-crystality/files/xmms-crystality-0.92-PIC.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/media-plugins/xmms-crystality/files/xmms-crystality-0.92-PIC.patch b/media-plugins/xmms-crystality/files/xmms-crystality-0.92-PIC.patch
new file mode 100644
index 000000000000..30333a74423f
--- /dev/null
+++ b/media-plugins/xmms-crystality/files/xmms-crystality-0.92-PIC.patch
@@ -0,0 +1,37 @@
+diff -Naur crystality-plugin-0.92.orig/Makefile crystality-plugin-0.92/Makefile
+--- crystality-plugin-0.92.orig/Makefile 2001-08-12 16:41:14.000000000 -0700
++++ crystality-plugin-0.92/Makefile 2004-07-06 15:59:23.720725935 -0700
+@@ -1,13 +1,13 @@
+-GTK_CFLAGS= $(shell gtk-config --cflags)
++GTK_CFLAGS= $(shell gtk-config --cflags) -fPIC -DPIC
+
+ XMMS_PLUGIN= libcrystality.so
+-XMMS_CFLAGS= $(shell xmms-config --cflags)
++XMMS_CFLAGS= $(shell xmms-config --cflags) -fPIC -DPIC
+ XMMS_PLUGINDIR= $(shell xmms-config --effect-plugin-dir)
+
+ STDIO_PLUGIN= crystality-stdio
+ STDIO_LIBS= -lpthread $(shell gtk-config --libs)
+
+-CFLAGS= -s -mpentium -O6 -Wall -ffast-math -fomit-frame-pointer -finline-functions -fexpensive-optimizations $(GTK_CFLAGS)
++MYCFLAGS= $(GTK_CFLAGS) $(XMMS_CFLAGS) $(CFLAGS)
+
+
+ TARGETS= $(XMMS_PLUGIN) $(STDIO_PLUGIN)
+@@ -15,13 +15,13 @@
+ all : $(TARGETS)
+
+ $(STDIO_PLUGIN): crystality.o gui.o stdio.o
+- cc $(CFLAGS) -o$(STDIO_PLUGIN) $(STDIO_LIBS) crystality.o gui.o stdio.o -lpthread
++ cc $(MYCFLAGS) -o$(STDIO_PLUGIN) $(STDIO_LIBS) crystality.o gui.o stdio.o -lpthread
+
+ $(XMMS_PLUGIN): crystality.o gui.o xmms.o
+- cc $(CFLAGS) -o$(XMMS_PLUGIN) -shared -fPIC crystality.o gui.o xmms.o
++ cc $(MYCFLAGS) -o$(XMMS_PLUGIN) -shared -fPIC crystality.o gui.o xmms.o
+
+ .c.o :
+- cc $(CFLAGS) -c $<
++ cc $(MYCFLAGS) -c $<
+
+ clean :
+ rm -f $(TARGETS) core *\.o