- 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
This commit is contained in:
Dmitry Marakasov 2014-12-01 00:08:18 +00:00
parent c7ca171686
commit cd537e2618
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373697
2 changed files with 12 additions and 1 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= libfame
PORTVERSION= 0.9.1
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= multimedia
MASTER_SITES= SF/fame/${PORTNAME}/${PORTVERSION}

View file

@ -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,