ports/145240: [PATCH] multimedia/mplayer: Fix build with new zlib
Renato Botelho
garga at FreeBSD.org
Wed Mar 31 13:50:06 UTC 2010
>Number: 145240
>Category: ports
>Synopsis: [PATCH] multimedia/mplayer: Fix build with new zlib
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 31 13:50:00 UTC 2010
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list