r630 - in trunk: . libfame

jim at linuxfromscratch.org jim at linuxfromscratch.org
Tue Sep 7 21:39:38 PDT 2004


Author: jim
Date: 2004-09-07 22:39:37 -0600 (Tue, 07 Sep 2004)
New Revision: 630

Added:
   trunk/libfame/
   trunk/libfame/libfame-0.9.1-gcc34-1.patch
Log:
Added: libfame-0.9.1-gcc34-1.patch

Added: trunk/libfame/libfame-0.9.1-gcc34-1.patch
===================================================================
--- trunk/libfame/libfame-0.9.1-gcc34-1.patch	2004-09-08 04:38:50 UTC (rev 629)
+++ trunk/libfame/libfame-0.9.1-gcc34-1.patch	2004-09-08 04:39:37 UTC (rev 630)
@@ -0,0 +1,32 @@
+Submitted By:            Randy McMurchy <randy_at_linuxfromscratch_dot_org>
+Date:                    2004-09-04
+Initial Package Version: 0.9.1
+Upstream Status:         Not submitted 
+Origin:                  Randy McMurchy
+Description:             Fixes libfame library when compiled with GCC-3.4.x
+
+diff -Naur libfame-0.9.1-orig/src/half_mmx.h libfame-0.9.1/src/half_mmx.h
+--- libfame-0.9.1-orig/src/half_mmx.h	2002-04-30 18:04:02.000000000 +0000
++++ libfame-0.9.1/src/half_mmx.h	2004-09-05 03:49:09.666845896 +0000
+@@ -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,
+
+diff -Naur libfame-0.9.1-orig/src/half_sse.h libfame-0.9.1/src/half_sse.h
+--- libfame-0.9.1-orig/src/half_sse.h	2002-01-27 02:24:56.000000000 +0000
++++ libfame-0.9.1/src/half_sse.h	2004-09-05 03:49:39.894250632 +0000
+@@ -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};
+ 
+ 




More information about the patches mailing list