diff options
author | rafan <rafan@FreeBSD.org> | 2006-12-22 09:07:53 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2006-12-22 09:07:53 +0800 |
commit | 8213bb14ecee178f64b4d2af59923d4d949e5cf8 (patch) | |
tree | 84fdcd77bed77c037514f47aa506f301dea53711 /multimedia | |
parent | 21ac22fe28625541e53957fb739b78d643593763 (diff) | |
download | freebsd-ports-gnome-8213bb14ecee178f64b4d2af59923d4d949e5cf8.tar.gz freebsd-ports-gnome-8213bb14ecee178f64b4d2af59923d4d949e5cf8.tar.zst freebsd-ports-gnome-8213bb14ecee178f64b4d2af59923d4d949e5cf8.zip |
- Fix build on 4.x
PR: ports/106990
Submitted by: KATO Tsuguru <tkato432 at yahoo.com>
Approved by: Thomas E. Zander <riggs at rrr.de> (maintainer)
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mplayer/Makefile | 1 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-libavcodec-vp56.h | 11 | ||||
-rw-r--r-- | multimedia/mplayer/files/patch-libmpcodecs-vf_ass.c | 11 |
3 files changed, 23 insertions, 0 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile index f24552eb2593..580e414c960e 100644 --- a/multimedia/mplayer/Makefile +++ b/multimedia/mplayer/Makefile @@ -187,6 +187,7 @@ TOOLFILES= calcbpp.pl countquant.pl dvd2divxscript.pl \ USE_GCC= 3.4+ CFLAGS+= -Duint_fast64_t=uint64_t CFLAGS+= -Droundf=rintf +CFLAGS+= -Dllrint=rint .if ${ARCH} == "i386" CFLAGS+= -DPRId64=\\\"lld\\\" CFLAGS+= -DPRIu64=\\\"llu\\\" diff --git a/multimedia/mplayer/files/patch-libavcodec-vp56.h b/multimedia/mplayer/files/patch-libavcodec-vp56.h new file mode 100644 index 000000000000..5ac3e5f20a9d --- /dev/null +++ b/multimedia/mplayer/files/patch-libavcodec-vp56.h @@ -0,0 +1,11 @@ +--- libavcodec/vp56.h.orig Mon Oct 23 07:32:34 2006 ++++ libavcodec/vp56.h Wed Dec 13 03:03:41 2006 +@@ -24,7 +24,7 @@ + #ifndef VP56_H + #define VP56_H + +-#include <stdint.h> ++#include <inttypes.h> + + #include "vp56data.h" + #include "dsputil.h" diff --git a/multimedia/mplayer/files/patch-libmpcodecs-vf_ass.c b/multimedia/mplayer/files/patch-libmpcodecs-vf_ass.c new file mode 100644 index 000000000000..f4f914904e97 --- /dev/null +++ b/multimedia/mplayer/files/patch-libmpcodecs-vf_ass.c @@ -0,0 +1,11 @@ +--- libmpcodecs/vf_ass.c.orig Mon Oct 23 07:32:24 2006 ++++ libmpcodecs/vf_ass.c Wed Dec 13 03:04:26 2006 +@@ -23,7 +23,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +-#include <stdint.h> ++#include <inttypes.h> + #include <assert.h> + + #include "config.h" |