Magellan Linux

Contents of /trunk/libfame/patches/libfame-0.9.1-gcc34.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (show annotations) (download)
Tue May 8 20:06:05 2007 UTC (17 years ago) by niro
File size: 1316 byte(s)
-import

1 Submitted By: Randy McMurchy <randy_at_linuxfromscratch_dot_org>
2 Date: 2004-09-04
3 Initial Package Version: 0.9.1
4 Upstream Status: Not submitted
5 Origin: Randy McMurchy
6 Description: Fixes libfame library when compiled with GCC-3.4.x
7
8 $LastChangedBy: randy $
9 $Date: 2007-05-08 19:54:03 $
10
11 diff -Naur libfame-0.9.1-orig/src/half_mmx.h libfame-0.9.1/src/half_mmx.h
12 --- libfame-0.9.1-orig/src/half_mmx.h 2002-04-30 18:04:02.000000000 +0000
13 +++ libfame-0.9.1/src/half_mmx.h 2004-09-05 03:49:09.666845896 +0000
14 @@ -18,7 +18,7 @@
15 */
16 /**************************** half-pixel interpolation ***********************/
17
18 -static short const _mmx_one[] = { 1, 1, 1, 1 };
19 +const _mmx_one[] = { 1, 1, 1, 1 };
20
21 static void inline mmx_interpolate(unsigned char **ref,
22 int pitch,
23
24 diff -Naur libfame-0.9.1-orig/src/half_sse.h libfame-0.9.1/src/half_sse.h
25 --- libfame-0.9.1-orig/src/half_sse.h 2002-01-27 02:24:56.000000000 +0000
26 +++ libfame-0.9.1/src/half_sse.h 2004-09-05 03:49:39.894250632 +0000
27 @@ -19,7 +19,7 @@
28 */
29 /**************************** half-pixel interpolation ***********************/
30
31 -static short const _mmx_one[] = { 1, 1, 1, 1 };
32 +const _mmx_one[] = { 1, 1, 1, 1 };
33 static unsigned char const _mmx_one_byte[] = {1,1,1,1,1,1,1,1};
34
35