summaryrefslogtreecommitdiff
path: root/graphics/enfle/files/patch-plugins-loader-png-png.c
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
commit2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch)
treec04604583d8be53b3ed7f10975be828c731f87cb /graphics/enfle/files/patch-plugins-loader-png-png.c
parent- Allow for larger database UIDs (diff)
- update png to 1.5.10
Notes
Notes: svn path=/head/; revision=297915
Diffstat (limited to '')
-rw-r--r--graphics/enfle/files/patch-plugins-loader-png-png.c18
1 files changed, 13 insertions, 5 deletions
diff --git a/graphics/enfle/files/patch-plugins-loader-png-png.c b/graphics/enfle/files/patch-plugins-loader-png-png.c
index eab0c8c1ed78..956b39a4fdcb 100644
--- a/graphics/enfle/files/patch-plugins-loader-png-png.c
+++ b/graphics/enfle/files/patch-plugins-loader-png-png.c
@@ -1,6 +1,14 @@
---- plugins/loader/png/png.c.orig 2006-03-12 09:24:16.000000000 +0100
-+++ plugins/loader/png/png.c 2010-03-29 16:51:07.000000000 +0200
-@@ -156,7 +156,7 @@
+--- plugins/loader/png/png.c.orig 2010-10-06 14:47:32.000000000 +0200
++++ plugins/loader/png/png.c 2012-05-04 07:30:47.000000000 +0200
+@@ -34,6 +34,7 @@
+ #error Install libpng
+ #endif
+ #endif
++# include <pngpriv.h>
+
+ #include "enfle/loader-plugin.h"
+ #include "utils/libstring.h"
+@@ -156,7 +157,7 @@
int try_when_error;
unsigned int i, num_text;
int num_trans;
@@ -9,7 +17,7 @@
png_bytep trans;
//debug_message("png loader: load() called\n");
-@@ -260,7 +260,7 @@
+@@ -260,7 +261,7 @@
color_type = png_get_color_type(png_ptr, info_ptr);
/* Set the transparent color */
@@ -18,7 +26,7 @@
//p->transparent_disposal = info->transparent_disposal;
switch (color_type) {
case PNG_COLOR_TYPE_PALETTE:
-@@ -273,13 +273,13 @@
+@@ -273,13 +274,13 @@
break;
case PNG_COLOR_TYPE_RGB:
case PNG_COLOR_TYPE_RGB_ALPHA: