Date: Mon, 16 Oct 2006 13:52:27 +0200 (CEST) From: "Thomas E. Zander" <riggs@rrr.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/104460: [Maintainer-update] Make multimedia/mplayer compile on 4.x again Message-ID: <200610161152.k9GBqR2Y010557@marvin.riggiland.au> Resent-Message-ID: <200610161200.k9GC0mxV036231@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 104460 >Category: ports >Synopsis: [Maintainer-update] Make multimedia/mplayer compile on 4.x again >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Oct 16 12:00:48 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Thomas E. Zander >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: >Environment: >Description: This pr fixes two minor issues with mplayer: o Resolving a build problem on legacy 4.x releases. (Enforcing gcc 3.4 or newer for building works now for 4.x environments) o Remove dependency on bitmap fonts if built without freetype support and without X11 support, e.g. for audio-only-player configurations. >How-To-Repeat: >Fix: Please apply this patch to multimedia/mplayer: diff -ruN /usr/ports/multimedia/mplayer/Makefile mplayer/Makefile --- /usr/ports/multimedia/mplayer/Makefile Mon Oct 16 10:01:13 2006 +++ mplayer/Makefile Mon Oct 16 13:41:28 2006 @@ -179,6 +179,7 @@ .include <bsd.port.pre.mk> .if ${OSVERSION} < 500000 +USE_GCC= 3.4+ CFLAGS+= -Duint_fast64_t=uint64_t CFLAGS+= -Droundf=rintf .if ${ARCH} == "i386" @@ -266,10 +267,6 @@ RUN_DEPENDS+= ${LOCALBASE}/share/mplayer/skins:${PORTSDIR}/multimedia/mplayer-skins .endif -.if ( ${OSVERSION} < 500000 ) -USE_GCC= 3.4 -.endif - USE_GNOME+= gtk20 CONFIGURE_ARGS+= --enable-gui @@ -340,7 +337,6 @@ .if defined(WITH_LIBDV) LIB_DEPENDS+= dv.4:${PORTSDIR}/multimedia/libdv - CONFIGURE_ARGS+= --enable-libdv .else CONFIGURE_ARGS+= --disable-libdv @@ -471,7 +467,9 @@ --enable-freetype LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 .else +.if !defined(WITHOUT_X11) RUN_DEPENDS+= ${LOCALBASE}/share/mplayer/fonts:${PORTSDIR}/multimedia/mplayer-fonts +.endif CONFIGURE_ARGS+= --disable-freetype .endif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610161152.k9GBqR2Y010557>