diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-09-29 04:58:37 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-09-29 04:58:37 +0000 |
commit | ab6e565c4e1a8a1be1c7ba6ff824b05a4c125d82 (patch) | |
tree | fe9c8cdfd5becf99c5c70ecffe0b93d04d273ee3 /www/mplayer-plugin/files | |
parent | a2a5b22e44588d933a2c79ef8a6dfacc252f9a1a (diff) | |
download | ports-ab6e565c4e1a8a1be1c7ba6ff824b05a4c125d82.tar.gz ports-ab6e565c4e1a8a1be1c7ba6ff824b05a4c125d82.zip |
Update to 0.91.
Notes
Notes:
svn path=/head/; revision=89743
Diffstat (limited to 'www/mplayer-plugin/files')
-rw-r--r-- | www/mplayer-plugin/files/patch-Makefile | 22 | ||||
-rw-r--r-- | www/mplayer-plugin/files/patch-Source_mplayerplug-in.c | 28 |
2 files changed, 20 insertions, 30 deletions
diff --git a/www/mplayer-plugin/files/patch-Makefile b/www/mplayer-plugin/files/patch-Makefile index af2ae5878344..72a553f0f592 100644 --- a/www/mplayer-plugin/files/patch-Makefile +++ b/www/mplayer-plugin/files/patch-Makefile @@ -1,8 +1,8 @@ ---- Makefile.orig Sun Jan 19 10:12:43 2003 -+++ Makefile Tue Feb 25 00:51:25 2003 -@@ -29,9 +29,9 @@ - # PLUGIN_DEFINES= -DXP_UNIX -DPLUGIN_TRACE - PLUGIN_DEFINES= -DXP_UNIX -Iinclude -ISource/_gen -I/usr/X11R6/include +--- Makefile.orig Fri Sep 5 21:48:28 2003 ++++ Makefile Mon Sep 29 00:42:38 2003 +@@ -12,9 +12,9 @@ + + PLUGIN_DEFINES= -DXP_UNIX -Iinclude -fPIC -I/usr/X11R6/include -CC= gcc -OPTIMIZER= -g @@ -10,15 +10,15 @@ +CC?= gcc +OPTIMIZER= +CFLAGS+= $(OPTIMIZER) $(PLUGIN_DEFINES) -I. -I/usr/include - - SRC= Source/mplayerplug-in.c Source/stubs.c - OBJ= mplayerplug-in.o stubs.o -@@ -41,7 +41,7 @@ + #`pkg-config gtk+-2.0 --cflags` + STRICTFLAGS= -O3 -Wall -W -Wno-unused-variable -Wno-unused-parameter -Wwrite-strings -Werror + #LDFLAGS = `pkg-config gtk+-2.0 --libs` +@@ -25,7 +25,7 @@ default all: $(SHAREDTARGET) $(SHAREDTARGET): $(OBJ) - $(CC) -shared -o $(SHAREDTARGET) $(OBJ) $(LDFLAGS) + $(CC) -shared -L/usr/X11R6/lib -lXt -o $(SHAREDTARGET) $(OBJ) $(LDFLAGS) - mplayerplug-in.o: Source/mplayerplug-in.c - $(CC) -c $(CFLAGS) Source/mplayerplug-in.c + mplayerplug-in.o: Source/mplayerplug-in.c Source/mplayerplug-in.h + # $(CC) -c $(STRICTFLAGS) $(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 index 39253217acdb..463db10b7ad5 100644 --- a/www/mplayer-plugin/files/patch-Source_mplayerplug-in.c +++ b/www/mplayer-plugin/files/patch-Source_mplayerplug-in.c @@ -1,21 +1,11 @@ ---- Source/mplayerplug-in.c.orig Thu May 22 22:38:28 2003 -+++ Source/mplayerplug-in.c Mon Jul 21 15:14:24 2003 -@@ -142,9 +142,6 @@ - "audio/mpeg3:mp3:MPEG audio;" - "audio/x-mpeg3:mp3:MPEG audio;" - "audio/mp3:mp3:MPEG audio;" -- "audio/x-pn-realaudio:ram:RealAudio;" -- "audio/x-pn-realaudio-plugin:rpm:RealAudio;" -- "audio/x-realaudio:ra:RealAudio;" - "video/fli:fli,flc:FLI animation;" - "video/x-fli:fli,flc:FLI animation;" - "video/x-ms-asf-plugin:asf,asx:Windows Media;" -@@ -262,7 +262,7 @@ - } +--- Source/mplayerplug-in.c.orig Wed Sep 10 10:34:15 2003 ++++ Source/mplayerplug-in.c Mon Sep 29 00:43:56 2003 +@@ -67,7 +67,7 @@ + } - if (config == NULL) { -- config = fopen("/etc/mplayerplug-in.conf","r"); -+ config = fopen("%%PREFIX%%/etc/mplayerplug-in.conf","r"); - } + if (config == NULL) { +- config = fopen("/etc/mplayerplug-in.conf", "r"); ++ config = fopen("%%PREFIX%%/etc/mplayerplug-in.conf", "r"); + } - DEBUG = 0; + if (config == NULL) { |