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 diff -Naur libfame-0.9.1-orig/src/half_mmx.h libfame-0.9.1/src/half_mmx.h
9 --- libfame-0.9.1-orig/src/half_mmx.h 2002-04-30 18:04:02.000000000 +0000
10 +++ libfame-0.9.1/src/half_mmx.h 2004-09-05 03:49:09.666845896 +0000
11 @@ -18,7 +18,7 @@
12 */
13 /**************************** half-pixel interpolation ***********************/
14
15 -static short const _mmx_one[] = { 1, 1, 1, 1 };
16 +const _mmx_one[] = { 1, 1, 1, 1 };
17
18 static void inline mmx_interpolate(unsigned char **ref,
19 int pitch,
20
21 diff -Naur libfame-0.9.1-orig/src/half_sse.h libfame-0.9.1/src/half_sse.h
22 --- libfame-0.9.1-orig/src/half_sse.h 2002-01-27 02:24:56.000000000 +0000
23 +++ libfame-0.9.1/src/half_sse.h 2004-09-05 03:49:39.894250632 +0000
24 @@ -19,7 +19,7 @@
25 */
26 /**************************** half-pixel interpolation ***********************/
27
28 -static short const _mmx_one[] = { 1, 1, 1, 1 };
29 +const _mmx_one[] = { 1, 1, 1, 1 };
30 static unsigned char const _mmx_one_byte[] = {1,1,1,1,1,1,1,1};
31
32
|