summaryrefslogtreecommitdiff
path: root/www/mplayer-plugin
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-02-18 22:16:20 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-02-18 22:16:20 +0000
commit22105c48ceeaee4ecad8b568bf6ad07fedbb8013 (patch)
treee6fa070f2ab19a9e9354ad6cac8708271d08dbb5 /www/mplayer-plugin
parentAdding port devel/p5-Iterator-Misc, Miscellaneous iterator functions. (diff)
Update to 2.31.
PR: 93343 Submitted by: Adi Pircalabu <apircalabu@bitdefender.com>
Notes
Notes: svn path=/head/; revision=156336
Diffstat (limited to 'www/mplayer-plugin')
-rw-r--r--www/mplayer-plugin/Makefile3
-rw-r--r--www/mplayer-plugin/distinfo6
-rw-r--r--www/mplayer-plugin/files/patch-Source_plugin-support.cpp16
-rw-r--r--www/mplayer-plugin/files/patch-configure2
4 files changed, 22 insertions, 5 deletions
diff --git a/www/mplayer-plugin/Makefile b/www/mplayer-plugin/Makefile
index 3d54565b3d57..fad3bc81e406 100644
--- a/www/mplayer-plugin/Makefile
+++ b/www/mplayer-plugin/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mplayerplug-in
-PORTVERSION= 3.20
+PORTVERSION= 3.21
CATEGORIES= www multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mplayerplug-in
@@ -19,6 +19,7 @@ RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_X_PREFIX= yes
USE_REINPLACE= yes
+USE_GETTEXT= yes
USE_GMAKE= yes
USE_GECKO= firefox mozilla seamonkey
PLUGINSFILES= mplayerplug-in.so mplayerplug-in.xpt mplayerplug-in-wmp.so \
diff --git a/www/mplayer-plugin/distinfo b/www/mplayer-plugin/distinfo
index 71b5f1c7eeed..0be98d2da3d5 100644
--- a/www/mplayer-plugin/distinfo
+++ b/www/mplayer-plugin/distinfo
@@ -1,3 +1,3 @@
-MD5 (mplayerplug-in-3.20.tar.gz) = ded921539090d998d225583cf6915729
-SHA256 (mplayerplug-in-3.20.tar.gz) = 457518d1650bf7064d755bf4d74772ad87306d3899c056a88c17a6862da429dd
-SIZE (mplayerplug-in-3.20.tar.gz) = 209190
+MD5 (mplayerplug-in-3.21.tar.gz) = 3e36aa1a42aa312b312ba7ceaaa75f73
+SHA256 (mplayerplug-in-3.21.tar.gz) = d72142236ee88a143325003eb47bcb5d41b11e0c66795f753b9f626202297193
+SIZE (mplayerplug-in-3.21.tar.gz) = 209865
diff --git a/www/mplayer-plugin/files/patch-Source_plugin-support.cpp b/www/mplayer-plugin/files/patch-Source_plugin-support.cpp
new file mode 100644
index 000000000000..5e2dc49d100f
--- /dev/null
+++ b/www/mplayer-plugin/files/patch-Source_plugin-support.cpp
@@ -0,0 +1,16 @@
+--- Source/plugin-support.cpp.orig Sat Feb 18 17:05:30 2006
++++ Source/plugin-support.cpp Sat Feb 18 17:05:58 2006
+@@ -486,9 +486,13 @@ void killmplayer(nsPluginInstance * inst
+ if (instance->paused == 1)
+ sendCommand(instance, "pause\n");
+ sendCommand(instance, "quit\n");
++#ifndef BSD
+ pthread_mutex_lock(&(instance->read_mutex));
++#endif
+ instance->cancelled = 1;
++#ifndef BSD
+ pthread_mutex_unlock(&(instance->read_mutex));
++#endif
+
+ /* count = 0;
+ while (count < 500) {
diff --git a/www/mplayer-plugin/files/patch-configure b/www/mplayer-plugin/files/patch-configure
index e7b7a83d1eb3..ded52dd57fcd 100644
--- a/www/mplayer-plugin/files/patch-configure
+++ b/www/mplayer-plugin/files/patch-configure
@@ -4,7 +4,7 @@
echo "$as_me:$LINENO: checking MOZPLUG_CFLAGS" >&5
echo $ECHO_N "checking MOZPLUG_CFLAGS... $ECHO_C" >&6
MOZPLUG_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin"`
-+ MOZPLUG_CFLAGS="${MOZPLUG_CFLAGS} -I"`$PKG_CONFIG --variable=includedir "mozilla-plugin"`
++ MOZPLUG_CFLAGS="${MOZPLUG_CFLAGS} -I"`$PKG_CONFIG --variable=includedir "mozilla-plugin"`
echo "$as_me:$LINENO: result: $MOZPLUG_CFLAGS" >&5
echo "${ECHO_T}$MOZPLUG_CFLAGS" >&6