From 95d15e718218159b8e8e3dddd668cc0bb761346e Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 5 Aug 2012 23:42:09 +0200 Subject: libfame correction url --- libfame/Pkgfile | 4 ++-- libfame/libfame-0.9.1-gcc34-1.patch | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 libfame/libfame-0.9.1-gcc34-1.patch (limited to 'libfame') diff --git a/libfame/Pkgfile b/libfame/Pkgfile index e7fd452aa..7a1f09d34 100755 --- a/libfame/Pkgfile +++ b/libfame/Pkgfile @@ -6,8 +6,8 @@ name=libfame version=0.9.1 release=1 -source=( http://downloads.sourceforge.net/fame/$name-$version.tar.gz\ - http://www.linuxfromscratch.org/patches/blfs/svn/libfame-0.9.1-gcc34-1.patch\ +source=(http://downloads.sourceforge.net/fame/$name-$version.tar.gz + libfame-0.9.1-gcc34-1.patch http://nutyx.meticul.eu/files/patchs/$name/libfame-0.9.1-config-1.patch) build() { diff --git a/libfame/libfame-0.9.1-gcc34-1.patch b/libfame/libfame-0.9.1-gcc34-1.patch new file mode 100644 index 000000000..94344e4e3 --- /dev/null +++ b/libfame/libfame-0.9.1-gcc34-1.patch @@ -0,0 +1,32 @@ +Submitted By: Randy McMurchy +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}; + + -- cgit v1.2.3-54-g00ecf