aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libfame
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-12-01 08:08:18 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-12-01 08:08:18 +0800
commit7c2d1883535193f16c57cb022dd3858b194e0a78 (patch)
tree5f94d66efd34f1a1f22bae5a0269da6c80fb8894 /multimedia/libfame
parentcff7d45db225b94156b205ae9dcdaba6369dca82 (diff)
downloadfreebsd-ports-gnome-7c2d1883535193f16c57cb022dd3858b194e0a78.tar.gz
freebsd-ports-gnome-7c2d1883535193f16c57cb022dd3858b194e0a78.tar.zst
freebsd-ports-gnome-7c2d1883535193f16c57cb022dd3858b194e0a78.zip
- Fix library w/clang on i386
Broken .so was produced, undefined reference to _mmx_one. This fixes multimedia/recmpeg on i386. Approved by: portmgr blanket MFH: 2014Q4
Diffstat (limited to 'multimedia/libfame')
-rw-r--r--multimedia/libfame/Makefile2
-rw-r--r--multimedia/libfame/files/patch-src__half_mmx.h11
2 files changed, 12 insertions, 1 deletions
diff --git a/multimedia/libfame/Makefile b/multimedia/libfame/Makefile
index 027a52ccc2e7..09880704a80e 100644
--- a/multimedia/libfame/Makefile
+++ b/multimedia/libfame/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libfame
PORTVERSION= 0.9.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= multimedia
MASTER_SITES= SF/fame/${PORTNAME}/${PORTVERSION}
diff --git a/multimedia/libfame/files/patch-src__half_mmx.h b/multimedia/libfame/files/patch-src__half_mmx.h
new file mode 100644
index 000000000000..cac9d0640f43
--- /dev/null
+++ b/multimedia/libfame/files/patch-src__half_mmx.h
@@ -0,0 +1,11 @@
+--- src/half_mmx.h.orig 2002-04-30 22:04:02.000000000 +0400
++++ src/half_mmx.h 2014-12-01 01:08:04.000000000 +0300
+@@ -18,7 +18,7 @@
+ */
+ /**************************** half-pixel interpolation ***********************/
+
+-static short const _mmx_one[] = { 1, 1, 1, 1 };
++short const _mmx_one[] = { 1, 1, 1, 1 };
+
+ static void inline mmx_interpolate(unsigned char **ref,
+ int pitch,