summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-09-15 02:53:41 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-09-15 02:53:41 +0000
commit8c3295f737a5c7a6c6a83df104c24bb03b42b501 (patch)
treedb0c782e7cfff592b8c428e7df7f70f5bb2b68a1 /games-rpg/freedroidrpg/files
parentFix building with libpng15 wrt #380145 by Diego Elio Pettenò (diff)
downloadgentoo-2-8c3295f737a5c7a6c6a83df104c24bb03b42b501.tar.gz
gentoo-2-8c3295f737a5c7a6c6a83df104c24bb03b42b501.tar.bz2
gentoo-2-8c3295f737a5c7a6c6a83df104c24bb03b42b501.zip
Fix building with libpng15 wrt #378239 by Diego Elio Pettenò
(Portage version: 2.2.0_alpha55/cvs/Linux x86_64)
Diffstat (limited to 'games-rpg/freedroidrpg/files')
-rw-r--r--games-rpg/freedroidrpg/files/freedroidrpg-0.14.1-libpng15.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-rpg/freedroidrpg/files/freedroidrpg-0.14.1-libpng15.patch b/games-rpg/freedroidrpg/files/freedroidrpg-0.14.1-libpng15.patch
new file mode 100644
index 000000000000..1c61a3a43ab2
--- /dev/null
+++ b/games-rpg/freedroidrpg/files/freedroidrpg-0.14.1-libpng15.patch
@@ -0,0 +1,11 @@
+--- win32/pngtoico.c
++++ win32/pngtoico.c
+@@ -188,7 +188,7 @@
+ goto perrexit;
+ }
+
+- if ( setjmp(png_ptr->jmpbuf) ) {
++ if ( setjmp(png_jmpbuf(png_ptr)) ) {
+ fprintf(stderr, "%s: PNG format error\n", file);
+ goto errexit;
+ }