summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-22 01:06:36 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-22 01:06:36 +0000
commit1438e6feed95b15870ea06bacbe3d5e1e6eaa727 (patch)
tree4b04d78b70a3b8c91afd8ff7dab8d1498290e0de /media-libs/devil/files
parentAdded perl patch thanks to DerCorny. (diff)
downloadhistorical-1438e6feed95b15870ea06bacbe3d5e1e6eaa727.tar.gz
historical-1438e6feed95b15870ea06bacbe3d5e1e6eaa727.tar.bz2
historical-1438e6feed95b15870ea06bacbe3d5e1e6eaa727.zip
fix png types #83603
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'media-libs/devil/files')
-rw-r--r--media-libs/devil/files/devil-1.6.7-png-types.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/media-libs/devil/files/devil-1.6.7-png-types.patch b/media-libs/devil/files/devil-1.6.7-png-types.patch
new file mode 100644
index 000000000000..41bf7c868865
--- /dev/null
+++ b/media-libs/devil/files/devil-1.6.7-png-types.patch
@@ -0,0 +1,16 @@
+Make sure the internal types match that of png.
+
+http://bugs.gentoo.org/83603
+
+--- src-IL/src/il_png.c
++++ src-IL/src/il_png.c
+@@ -284,7 +284,8 @@
+ {
+ ILuint i;
+ png_bytepp row_pointers = NULL;
+- ILuint width, height, channels;
++ ILuint channels;
++ png_uint_32 width, height;
+ ILdouble screen_gamma = 1.0, image_gamma;
+ ILuint bit_depth;
+