- Make the library actually usable on gcc 3.4 systems:
/usr/local/lib/libfame.so: undefined reference to `_mmx_one' PR: ports/74806 Submitted by: Hendrik Scholz <hendrik@scholz.net> Obtained from: http://www.linuxfromscratch.org/blfs/downloads/svn/libfame-0.9.1-gcc34-1.patch
This commit is contained in:
parent
bcba0638b2
commit
aa4fbca3ff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123481
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= libfame
|
||||
PORTVERSION= 0.9.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= fame
|
||||
|
22
multimedia/libfame/files/patch-mmx_one-gcc34
Normal file
22
multimedia/libfame/files/patch-mmx_one-gcc34
Normal file
@ -0,0 +1,22 @@
|
||||
--- src/half_sse.h.orig Tue Dec 7 10:24:14 2004
|
||||
+++ src/half_sse.h Tue Dec 7 10:24:29 2004
|
||||
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
/**************************** half-pixel interpolation ***********************/
|
||||
|
||||
-static short const _mmx_one[] = { 1, 1, 1, 1 };
|
||||
+const _mmx_one[] = { 1, 1, 1, 1 };
|
||||
static unsigned char const _mmx_one_byte[] = {1,1,1,1,1,1,1,1};
|
||||
|
||||
|
||||
--- src/half_mmx.h.orig Tue Dec 7 10:23:21 2004
|
||||
+++ src/half_mmx.h Tue Dec 7 10:23:32 2004
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
/**************************** half-pixel interpolation ***********************/
|
||||
|
||||
-static short const _mmx_one[] = { 1, 1, 1, 1 };
|
||||
+const _mmx_one[] = { 1, 1, 1, 1 };
|
||||
|
||||
static void inline mmx_interpolate(unsigned char **ref,
|
||||
int pitch,
|
Loading…
Reference in New Issue
Block a user