summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2005-04-26 13:45:37 +0000
committerMartin Schlemmer <azarah@gentoo.org>2005-04-26 13:45:37 +0000
commitc6a29fae539e6fd412c8711c1978ad42f7f68baf (patch)
tree17ccd622303ac8d26a162640b6e8250a244cc390 /media-libs/libmovtar/files
parentrevision bump to compile with R-2.0.0 via some ugly hack (diff)
downloadhistorical-c6a29fae539e6fd412c8711c1978ad42f7f68baf.tar.gz
historical-c6a29fae539e6fd412c8711c1978ad42f7f68baf.tar.bz2
historical-c6a29fae539e6fd412c8711c1978ad42f7f68baf.zip
Fix building with gcc4.
Package-Manager: portage-2.0.51.20-r4
Diffstat (limited to 'media-libs/libmovtar/files')
-rw-r--r--media-libs/libmovtar/files/libmovtar-0.1.3-gcc4.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-libs/libmovtar/files/libmovtar-0.1.3-gcc4.patch b/media-libs/libmovtar/files/libmovtar-0.1.3-gcc4.patch
new file mode 100644
index 000000000000..ed2150ef61dd
--- /dev/null
+++ b/media-libs/libmovtar/files/libmovtar-0.1.3-gcc4.patch
@@ -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++)
+ {