diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-12-01 00:08:18 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-12-01 00:08:18 +0000 |
commit | cd537e26189e6143dc337b39a4e72357cd97167d (patch) | |
tree | 5f94d66efd34f1a1f22bae5a0269da6c80fb8894 /multimedia/libfame/files | |
parent | c7ca171686a5290bbfb7d24bf7264f32e6c49bbe (diff) | |
download | ports-cd537e26189e6143dc337b39a4e72357cd97167d.tar.gz ports-cd537e26189e6143dc337b39a4e72357cd97167d.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
Notes
Notes:
svn path=/head/; revision=373697
Diffstat (limited to 'multimedia/libfame/files')
-rw-r--r-- | multimedia/libfame/files/patch-src__half_mmx.h | 11 |
1 files changed, 11 insertions, 0 deletions
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, |