aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-12-22 01:07:53 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-12-22 01:07:53 +0000
commitce4c8148a4f56e83bd1af879ac2225141f275aab (patch)
treec125678bd9fa034568016037afc0c8032711a872
parentbf3c459d42dc14348c0ee3f170c440bebedcc57c (diff)
downloadports-ce4c8148a4f56e83bd1af879ac2225141f275aab.tar.gz
ports-ce4c8148a4f56e83bd1af879ac2225141f275aab.zip
Notes
-rw-r--r--multimedia/mplayer/Makefile1
-rw-r--r--multimedia/mplayer/files/patch-libavcodec-vp56.h11
-rw-r--r--multimedia/mplayer/files/patch-libmpcodecs-vf_ass.c11
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"