From garga@FreeBSD.org  Wed Mar 31 13:42:48 2010
Return-Path: <garga@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4CDD51065675
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 31 Mar 2010 13:42:48 +0000 (UTC)
	(envelope-from garga@FreeBSD.org)
Received: from capeta.freebsdbrasil.com.br (capeta.freebsdbrasil.com.br [201.48.151.3])
	by mx1.freebsd.org (Postfix) with SMTP id E28908FC23
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 31 Mar 2010 13:42:46 +0000 (UTC)
Received: (qmail 18142 invoked from network); 31 Mar 2010 10:41:43 -0300
Received: by simscan 1.4.0 ppid: 18131, pid: 18137, t: 0.2038s
         scanners:none
Received: from unknown (HELO botelhor.bplab.local) (garga@189.19.84.134)
  by capeta.freebsdbrasil.com.br with ESMTPA; 31 Mar 2010 10:41:43 -0300
Received: (qmail 17743 invoked by uid 1001); 30 Mar 2010 11:11:19 -0300
Message-Id: <20100330141119.17742.qmail@botelhor.bplab.local>
Date: 30 Mar 2010 11:11:19 -0300
From: Renato Botelho <garga@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: riggs@rrr.de
Subject: [PATCH] multimedia/mplayer: Fix build with new zlib
X-Send-Pr-Version: 3.113
X-GNATS-Notify: riggs@rrr.de

>Number:         145240
>Category:       ports
>Synopsis:       [PATCH] multimedia/mplayer: Fix build with new zlib
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    garga
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 31 13:50:00 UTC 2010
>Closed-Date:    Thu Apr 22 12:45:26 UTC 2010
>Last-Modified:  Thu Apr 22 12:45:26 UTC 2010
>Originator:     Renato Botelho
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
FreeBSD.org
>Environment:
System: FreeBSD botelhor.bplab.local 9.0-CURRENT FreeBSD 9.0-CURRENT #5 r205653: Thu Mar 25 20:10:16 BRT
>Description:
Zlib was updated on base system >= 900010, fix mplayer's build with new zlib
version

Port maintainer (riggs@rrr.de) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- mplayer-0.99.11_18.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/multimedia/mplayer/Makefile,v
retrieving revision 1.190
diff -u -u -r1.190 Makefile
--- Makefile	28 Mar 2010 06:40:54 -0000	1.190
+++ Makefile	30 Mar 2010 14:10:13 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	mplayer
 PORTVERSION=	${MPLAYER_PORT_VERSION}
-PORTREVISION=	17
+PORTREVISION=	18
 
 COMMENT=	High performance media player supporting many formats
 
@@ -246,6 +246,11 @@
 	@${REINPLACE_CMD} -e \
 		's|libxmms.so.1|libxmms.so|' \
 		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+.if ${OSVERSION} >= 900010
+	@${REINPLACE_CMD} -e \
+		'/CFLAGS.*-D_LARGEFILE64_SOURCE/ s/-D_LARGEFILE64_SOURCE/-D_FILE_OFFSET_BITS=64/' \
+		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+.endif
 	@${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|; \
 		s|/dev/cdrom|${DEFAULT_CDROM_DEVICE}|' \
 		${WRKSRC}/${CONFIGURE_SCRIPT}
--- mplayer-0.99.11_18.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->garga 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Mar 31 13:50:16 UTC 2010 
Responsible-Changed-Why:  
Submitter has GNATS access (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145240 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Mar 31 13:50:21 UTC 2010 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: riggs@rrr.de
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/145240: [PATCH] multimedia/mplayer: Fix build with new zlib
Date: Wed, 31 Mar 2010 13:50:19 UT

 Maintainer of multimedia/mplayer,
 
 Please note that PR ports/145240 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/145240
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Thomas Zander <thomas.e.zander@googlemail.com>
To: bug-followup@freebsd.org
Cc: garga@freebsd.org
Subject: Re: ports/145240: [PATCH] multimedia/mplayer: Fix build with new zlib
Date: Sun, 4 Apr 2010 13:53:03 +0200

 Since we are going to release a massive mplayer upgrade soon, please
 don't file PRs against the old mplayer port any more.
 Could you please verify that this patch is still necessary for the
 current release candidate of the upcoming mplayer port at
 http://www.rrr.de/~riggs/mplayer/m20100131.tar.bz2
 If it is, I will include it in our upcoming update.
 
 This pr should be closed.
 Thanks
 Riggs

From: Renato Botelho <garga@freebsd.org>
To: Thomas Zander <thomas.e.zander@googlemail.com>
Cc: bug-followup@freebsd.org
Subject: Re: ports/145240: [PATCH] multimedia/mplayer: Fix build with new
 zlib
Date: Tue, 6 Apr 2010 09:39:27 -0300

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 On Sun, Apr 04, 2010 at 01:53:03PM +0200, Thomas Zander wrote:
 > Since we are going to release a massive mplayer upgrade soon, please
 > don't file PRs against the old mplayer port any more.
 > Could you please verify that this patch is still necessary for the
 > current release candidate of the upcoming mplayer port at
 > http://www.rrr.de/~riggs/mplayer/m20100131.tar.bz2
 > If it is, I will include it in our upcoming update.
 
 I confirm, the patch is still necessary for 9-current with new zlib.
 
 I'll close the PR after new mplayer is committed.
 
 - -- 
 Renato Botelho <garga @ FreeBSD.org>
                <garga @ freebsdbrasil.com.br>
 GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc
 
 A.A.A.A.A.: An organization for drunks who drive.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.14 (FreeBSD)
 
 iEYEARECAAYFAku7K30ACgkQ6CRbiSJE7amZRgCfQ7L1IX+S7jkwx4+5i/uoe+5h
 EEAAoKXeCTYXTZjyQ3U2WHwDiGxHtHeu
 =mWDQ
 -----END PGP SIGNATURE-----

From: Thomas Zander <thomas.e.zander@googlemail.com>
To: Renato Botelho <garga@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: ports/145240: [PATCH] multimedia/mplayer: Fix build with new zlib
Date: Tue, 6 Apr 2010 18:36:33 +0200

 On Tue, Apr 6, 2010 at 14:39, Renato Botelho <garga@freebsd.org> wrote:
 
 > I confirm, the patch is still necessary for 9-current with new zlib.
 >
 > I'll close the PR after new mplayer is committed.
 
 Okay, thank you. I'll include it in my devel port before it is committed!
 
 Riggs
State-Changed-From-To: feedback->closed 
State-Changed-By: garga 
State-Changed-When: Thu Apr 22 12:45:24 UTC 2010 
State-Changed-Why:  
Fixed on new mplayer version 

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