summaryrefslogtreecommitdiffstats
path: root/extra/xmoto/libpng-14.patch
diff options
context:
space:
mode:
authorsibel <lesibel at free dot fr>2010-06-25 00:00:44 +0200
committersibel <lesibel at free dot fr>2010-06-25 00:00:44 +0200
commit5cf63bfb91356c85868c15f83ae9038ad9ac68d1 (patch)
tree0a1bb360bce57156bd20122f04f671af75f4f500 /extra/xmoto/libpng-14.patch
parent6746697bb7b18e0881c72da78111d5a45a197116 (diff)
downloadnutyx-extra-5cf63bfb91356c85868c15f83ae9038ad9ac68d1.tar.gz
nutyx-extra-5cf63bfb91356c85868c15f83ae9038ad9ac68d1.tar.bz2
nutyx-extra-5cf63bfb91356c85868c15f83ae9038ad9ac68d1.tar.xz
nutyx-extra-5cf63bfb91356c85868c15f83ae9038ad9ac68d1.zip
maj de xmoto#0.5.3-1
Diffstat (limited to 'extra/xmoto/libpng-14.patch')
-rw-r--r--extra/xmoto/libpng-14.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/xmoto/libpng-14.patch b/extra/xmoto/libpng-14.patch
new file mode 100644
index 000000000..6e4eb2cd8
--- /dev/null
+++ b/extra/xmoto/libpng-14.patch
@@ -0,0 +1,11 @@
+--- xmoto-0.5.3/src/image/tim_png.cpp.old 2010-05-19 21:13:09.401802546 +0200
++++ xmoto-0.5.3/src/image/tim_png.cpp 2010-05-19 21:15:13.008451656 +0200
+@@ -166,7 +166,7 @@
+ png_set_palette_to_rgb(PngPtr);
+
+ if(nColorType==PNG_COLOR_TYPE_GRAY && nBitDepth<8)
+- png_set_gray_1_2_4_to_8(PngPtr);
++ png_set_expand_gray_1_2_4_to_8(PngPtr);
+
+ if(png_get_valid(PngPtr,InfoPtr,PNG_INFO_tRNS))
+ png_set_tRNS_to_alpha(PngPtr);