Date: Mon, 28 Aug 2006 02:00:29 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/102570: Update port: multimedia/mplayer Message-ID: <20060828020029.54ff7b9b.tkato432@yahoo.com> Resent-Message-ID: <200608271710.k7RHANYD069220@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 102570 >Category: ports >Synopsis: Update port: multimedia/mplayer >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: Sun Aug 27 17:10:23 GMT 2006 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.11-RELEASE-p20 i386 >Organization: >Environment: >Description: - Fix build on 4-stable New file: files/patch-libmpdemux_cookies.c >How-To-Repeat: >Fix: diff -urN /usr/ports/multimedia/mplayer/Makefile multimedia/mplayer/Makefile --- /usr/ports/multimedia/mplayer/Makefile Fri Aug 11 01:30:33 2006 +++ multimedia/mplayer/Makefile Tue Aug 15 03:51:31 2006 @@ -175,7 +175,19 @@ .include <bsd.port.pre.mk> .if ${OSVERSION} < 500000 -IGNORE= does not build on 4.x. Patches are welcome +CFLAGS+= -Duint_fast64_t=uint64_t +CFLAGS+= -Droundf=rintf +.if ${ARCH} == "i386" +CFLAGS+= -DPRId64=\\\"lld\\\" +CFLAGS+= -DPRIu64=\\\"llu\\\" +CFLAGS+= -DPRIx64=\\\"llx\\\" +CFLAGS+= -DPRIX64=\\\"llX\\\" +.else +CFLAGS+= -DPRId64=\\\"ld\\\" +CFLAGS+= -DPRIu64=\\\"lu\\\" +CFLAGS+= -DPRIx64=\\\"lx\\\" +CFLAGS+= -DPRIX64=\\\"lX\\\" +.endif .endif #Building of vidix dependent shared libs is only possible diff -urN /usr/ports/multimedia/mplayer/files/patch-libmpdemux_cookies.c multimedia/mplayer/files/patch-libmpdemux_cookies.c --- /usr/ports/multimedia/mplayer/files/patch-libmpdemux_cookies.c Thu Jan 1 09:00:00 1970 +++ multimedia/mplayer/files/patch-libmpdemux_cookies.c Tue Aug 15 03:02:20 2006 @@ -0,0 +1,13 @@ +--- libmpdemux/cookies.c.orig Mon Jun 12 03:35:46 2006 ++++ libmpdemux/cookies.c Tue Aug 15 03:01:58 2006 +@@ -20,6 +20,10 @@ + + #define MAX_COOKIES 20 + ++#ifndef SIZE_MAX ++#define SIZE_MAX ((size_t)-1) ++#endif ++ + char *cookies_file = NULL; + + typedef struct cookie_list_type { >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060828020029.54ff7b9b.tkato432>