1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/multimedia/libfame/files/patch-src__half_mmx.h
Dmitry Marakasov cd537e2618 - 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
2014-12-01 00:08:18 +00:00

12 lines
389 B
C

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