Bug 93343 - [PATCH] www/mplayer-plugin: update to 3.21
Summary: [PATCH] www/mplayer-plugin: update to 3.21
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Joe Marcus Clarke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-14 16:00 UTC by Adi Pircalabu
Modified: 2013-03-17 04:25 UTC (History)
0 users

See Also:


Attachments
diff (1.12 KB, patch)
2006-02-14 16:00 UTC, Adi Pircalabu
no flags Details | Diff
mplayerplug-in-3.20_3.21.diff (1.91 KB, patch)
2006-02-16 13:46 UTC, Adi Pircalabu
no flags Details | Diff
BitDefender.txt (128 bytes, text/plain)
2006-02-16 13:46 UTC, Adi Pircalabu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adi Pircalabu 2006-02-14 16:00:24 UTC
Update mplayerplug-in to 3.21 (trivial)

How-To-Repeat: See the diff
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-02-14 16:04:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->marcus

Over to maintainer
Comment 2 adi 2006-02-15 11:56:50 UTC
Hi Marcus, can you actually try the following diff? It has a workaround  
for pthread_mutex_lock / pthread_mutex_unlock issue (remember #91952?)
It's a better idea, though, to patch the fiile from project's Sourceforge  
CVS
Thanks

--- diff starts here ---

diff -urN /usr/ports/www/mplayer-plugin/Makefile  
/data/adi/work/ports/mplayer-plugin/Makefile
--- /usr/ports/www/mplayer-plugin/Makefile      Tue Feb  7 23:41:16 2006
+++ /data/adi/work/ports/mplayer-plugin/Makefile        Wed Feb 15  
13:29:57 2006
@@ -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
diff -urN /usr/ports/www/mplayer-plugin/distinfo  
/data/adi/work/ports/mplayer-plugin/distinfo
--- /usr/ports/www/mplayer-plugin/distinfo      Tue Feb  7 23:41:16 2006
+++ /data/adi/work/ports/mplayer-plugin/distinfo        Wed Feb 15  
13:30:18 2006
@@ -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 -urN  
/usr/ports/www/mplayer-plugin/files/patch-Source_plugin-support.cpp  
/data/adi/work/ports/mplayer-plugin/files/patch-Source_plugin-support.cpp
--- /usr/ports/www/mplayer-plugin/files/patch-Source_plugin-support.cpp  
Thu Jan  1 02:00:00 1970
+++ /data/adi/work/ports/mplayer-plugin/files/patch-Source_plugin-support.cpp    
Wed Feb 15 13:23:06 2006
@@ -0,0 +1,16 @@
+--- Source/plugin-support.cpp.orig     Tue Jan 31 17:28:55 2006
++++ Source/plugin-support.cpp  Wed Feb 15 12:24:23 2006
+@@ -486,9 +486,13 @@
+     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 ends here ---

-- 
Adi Pircalabu


-- 
Fight against viruses and spam
BitDefender for FreeBSD
Comment 3 Adi Pircalabu 2006-02-16 13:46:23 UTC
Sorry for the malformed diff from the previous follow-up, please take a
look at this one.

Thanks

-- 
Adi Pircalabu (PGP Key ID 0x04329F5E)
Comment 4 Joe Marcus Clarke freebsd_committer freebsd_triage 2006-02-18 22:17:36 UTC
State Changed
From-To: open->closed

Committed, thanks!