aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mpeg4ip
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2007-06-12 01:12:54 +0800
committermezz <mezz@FreeBSD.org>2007-06-12 01:12:54 +0800
commiteb89044aded4565c26e3e43d4ae3054d7278afb0 (patch)
treeaf2c00ee2f1e50e428ed024be77de375ffc950ef /multimedia/mpeg4ip
parent2333c06fb9f608c5509673412424fa417dcd7721 (diff)
downloadfreebsd-ports-gnome-eb89044aded4565c26e3e43d4ae3054d7278afb0.tar.gz
freebsd-ports-gnome-eb89044aded4565c26e3e43d4ae3054d7278afb0.tar.zst
freebsd-ports-gnome-eb89044aded4565c26e3e43d4ae3054d7278afb0.zip
Fix the build with GCC 4.2. I am not sure if it is right, but it seems work.
Reported by: kris
Diffstat (limited to 'multimedia/mpeg4ip')
-rw-r--r--multimedia/mpeg4ip/files/patch-fix_with_gcc4218
1 files changed, 18 insertions, 0 deletions
diff --git a/multimedia/mpeg4ip/files/patch-fix_with_gcc42 b/multimedia/mpeg4ip/files/patch-fix_with_gcc42
new file mode 100644
index 000000000000..3a68696d8796
--- /dev/null
+++ b/multimedia/mpeg4ip/files/patch-fix_with_gcc42
@@ -0,0 +1,18 @@
+--- common/video/iso-mpeg4/src/type_basic.cpp.orig Mon Jun 11 11:51:06 2007
++++ common/video/iso-mpeg4/src/type_basic.cpp Mon Jun 11 11:52:17 2007
+@@ -317,13 +317,13 @@
+ iHalfY = m_vctTrueHalfPel.y - iMVY * 2;
+ }
+
+-Void CMotionVector::setToZero (Void)
++Void CMotionVector::setToZero ()
+ {
+ memset (this, 0, sizeof (*this));
+ }
+
+ // RRV insertion
+-Void CMotionVector::scaleup (Void)
++Void CMotionVector::scaleup ()
+ {
+ if(m_vctTrueHalfPel.x == 0){
+ m_vctTrueHalfPel_x2.x = 0;