Author: jaeger Date: 2006-05-21 20:48:18 +0200 (Sun, 21 May 2006) New Revision: 1422 Added: crux-2.2/ports/opt/libmovtar/libmovtar-0.1.3-gcc4.patch Modified: crux-2.2/ports/opt/libmovtar/.md5sum crux-2.2/ports/opt/libmovtar/Pkgfile Log: libmovtar: added patch for building with gcc4 Modified: crux-2.2/ports/opt/libmovtar/.md5sum =================================================================== --- crux-2.2/ports/opt/libmovtar/.md5sum 2006-05-21 15:35:27 UTC (rev 1421) +++ crux-2.2/ports/opt/libmovtar/.md5sum 2006-05-21 18:48:18 UTC (rev 1422) @@ -1,2 +1,3 @@ cedf741244f17031bc40505160893af2 jpegint.h +f1372fda16838484031b86fbed77a8f0 libmovtar-0.1.3-gcc4.patch 3810ba83a90c52676014ab1ea6d8cd9f libmovtar-0.1.3.tar.gz Modified: crux-2.2/ports/opt/libmovtar/Pkgfile =================================================================== --- crux-2.2/ports/opt/libmovtar/Pkgfile 2006-05-21 15:35:27 UTC (rev 1421) +++ crux-2.2/ports/opt/libmovtar/Pkgfile 2006-05-21 18:48:18 UTC (rev 1422) @@ -7,12 +7,13 @@ name=libmovtar version=0.1.3 -release=4 +release=5 source=(http://dl.sourceforge.net/sourceforge/mjpeg/$name-$version.tar.gz \ - jpegint.h) + jpegint.h $name-$version-gcc4.patch) build() { cd $name-$version + patch -p1 -i $SRC/$name-$version-gcc4.patch # jpegint.h should be from the same version of libjpeg-mmx that's installed cp $SRC/jpegint.h . sed -i -e "s,#include <jinclude.h>,," movtar_play.c Added: crux-2.2/ports/opt/libmovtar/libmovtar-0.1.3-gcc4.patch =================================================================== --- crux-2.2/ports/opt/libmovtar/libmovtar-0.1.3-gcc4.patch (rev 0) +++ crux-2.2/ports/opt/libmovtar/libmovtar-0.1.3-gcc4.patch 2006-05-21 18:48:18 UTC (rev 1422) @@ -0,0 +1,11 @@ +--- libmovtar-0.1.3/rtjpeg/RTjpeg.c 2005-04-26 13:42:26.000000000 +0000 ++++ libmovtar-0.1.3.az/rtjpeg/RTjpeg.c 2005-04-26 13:42:43.000000000 +0000 +@@ -129,7 +129,7 @@ + register int ci, co=1, tmp; + register __s16 ZZvalue; + +- (__u8)strm[0]=(__u8)(data[RTjpeg_ZZ[0]]>254) ? 254:((data[RTjpeg_ZZ[0]]<0)?0:data[RTjpeg_ZZ[0]]); ++ strm[0]=(__u8)(data[RTjpeg_ZZ[0]]>254) ? 254:((data[RTjpeg_ZZ[0]]<0)?0:data[RTjpeg_ZZ[0]]); + + for(ci=1; ci<=bt8; ci++) + {
participants (1)
-
crux@crux.nu