diff options
Diffstat (limited to 'www/mplayer-plugin/files')
-rw-r--r-- | www/mplayer-plugin/files/patch-Makefile | 21 | ||||
-rw-r--r-- | www/mplayer-plugin/files/patch-Source_mplayerplug-in.c | 11 |
2 files changed, 28 insertions, 4 deletions
diff --git a/www/mplayer-plugin/files/patch-Makefile b/www/mplayer-plugin/files/patch-Makefile index f94cb0a8f0d3..fd87c9a9b5ab 100644 --- a/www/mplayer-plugin/files/patch-Makefile +++ b/www/mplayer-plugin/files/patch-Makefile @@ -1,7 +1,11 @@ ---- Makefile.orig Thu Feb 20 16:38:02 2003 -+++ Makefile Thu Feb 20 16:38:09 2003 -@@ -30,8 +30,8 @@ - PLUGIN_DEFINES= -DXP_UNIX -Iinclude -ISource/_gen -I/usr/X11R6/include +--- Makefile.orig Sun Jan 19 08:47:31 2003 ++++ Makefile Fri Feb 21 00:16:20 2003 +@@ -27,11 +27,11 @@ + # + + # PLUGIN_DEFINES= -DXP_UNIX -DPLUGIN_TRACE +-PLUGIN_DEFINES= -DXP_UNIX -Iinclude -ISource/_gen -I/usr/X11R6/include ++PLUGIN_DEFINES= -DXP_UNIX -Iinclude -ISource/_gen -I%%X11BASE%%/include CC= gcc -OPTIMIZER= -g @@ -11,3 +15,12 @@ SRC= Source/mplayerplug-in.c Source/stubs.c OBJ= mplayerplug-in.o stubs.o +@@ -41,7 +41,7 @@ + default all: $(SHAREDTARGET) + + $(SHAREDTARGET): $(OBJ) +- $(CC) -shared -o $(SHAREDTARGET) $(OBJ) $(LDFLAGS) ++ $(CC) -shared -L%%X11BASE%%/lib -lXt -o $(SHAREDTARGET) $(OBJ) $(LDFLAGS) + + mplayerplug-in.o: Source/mplayerplug-in.c + $(CC) -c $(CFLAGS) Source/mplayerplug-in.c diff --git a/www/mplayer-plugin/files/patch-Source_mplayerplug-in.c b/www/mplayer-plugin/files/patch-Source_mplayerplug-in.c new file mode 100644 index 000000000000..7bbe8c4e5dc8 --- /dev/null +++ b/www/mplayer-plugin/files/patch-Source_mplayerplug-in.c @@ -0,0 +1,11 @@ +--- Source/mplayerplug-in.c.orig Fri Feb 21 15:43:56 2003 ++++ Source/mplayerplug-in.c Fri Feb 21 15:44:24 2003 +@@ -219,7 +219,7 @@ + } + + if (config == NULL) { +- config = fopen("/etc/mplayerplug-in.conf","r"); ++ config = fopen("%%PREFIX%%/etc/mplayerplug-in.conf","r"); + } + + DEBUG = 0; |