From nobody@FreeBSD.org  Tue Feb 14 15:57:32 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5BC5F16A420
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Feb 2006 15:57:32 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 75D2C43D58
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Feb 2006 15:57:29 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k1EFvShu080925
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Feb 2006 15:57:28 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k1EFvSmX080924;
	Tue, 14 Feb 2006 15:57:28 GMT
	(envelope-from nobody)
Message-Id: <200602141557.k1EFvSmX080924@www.freebsd.org>
Date: Tue, 14 Feb 2006 15:57:28 GMT
From: Adi Pircalabu <apircalabu@bitdefender.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] www/mplayer-plugin: update to 3.21
X-Send-Pr-Version: www-2.3

>Number:         93343
>Category:       ports
>Synopsis:       [PATCH] www/mplayer-plugin: update to 3.21
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    marcus
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 14 16:00:24 GMT 2006
>Closed-Date:    Sat Feb 18 22:17:49 GMT 2006
>Last-Modified:  Sun Mar 17 04:25:17 UTC 2013
>Originator:     Adi Pircalabu
>Release:        6.1-PRERELEASE
>Organization:
BitDefender
>Environment:
FreeBSD apircalabu 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #15: Tue Feb 14 13:36:04 EET 2006     root@apircalabu:/usr/obj/usr/src/sys/GERULA  i386
>Description:
Update mplayerplug-in to 3.21 (trivial)
>How-To-Repeat:
See the diff
>Fix:
--- 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        Tue Feb 14 17:44:27 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        Tue Feb 14 17:45:12 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 ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->marcus 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Feb 14 16:04:15 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93343 

From: Adi <adi@qbyte.net>
To: bug-followup@freebsd.org, apircalabu@bitdefender.com
Cc:  
Subject: Re: ports/93343: [PATCH] www/mplayer-plugin: update to 3.21
Date: Wed, 15 Feb 2006 13:56:50 +0200

 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
 

From: Adi Pircalabu <apircalabu@bitdefender.com>
To: bug-followup@FreeBSD.org, apircalabu@bitdefender.com
Cc:  
Subject: Re: ports/93343: [PATCH] www/mplayer-plugin: update to 3.21
Date: Thu, 16 Feb 2006 15:46:23 +0200

 --MP_U7T+SE3v00G2_TzrLXhKV=L
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 Sorry for the malformed diff from the previous follow-up, please take a
 look at this one.
 
 Thanks
 
 -- 
 Adi Pircalabu (PGP Key ID 0x04329F5E)
 
 --MP_U7T+SE3v00G2_TzrLXhKV=L
 Content-Type: text/x-patch; name=mplayerplug-in-3.20_3.21.diff
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename=mplayerplug-in-3.20_3.21.diff
 
 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) {
 
 --MP_U7T+SE3v00G2_TzrLXhKV=L
 Content-Type: text/plain; name="BitDefender.txt"
 Content-Disposition: inline; filename="BitDefender.txt"
 
 
 -- 
 This message was scanned for spam and viruses by BitDefender.
 For more information please visit http://www.bitdefender.com/
 
 --MP_U7T+SE3v00G2_TzrLXhKV=L--
 
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Sat Feb 18 22:17:36 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93343 
>Unformatted:
