summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/enigma/files/enigma-1.01-libpng15.patch')
-rw-r--r--games-puzzle/enigma/files/enigma-1.01-libpng15.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-puzzle/enigma/files/enigma-1.01-libpng15.patch b/games-puzzle/enigma/files/enigma-1.01-libpng15.patch
new file mode 100644
index 000000000000..a6ce342bd168
--- /dev/null
+++ b/games-puzzle/enigma/files/enigma-1.01-libpng15.patch
@@ -0,0 +1,11 @@
+--- lib-src/enigma-core/IMG_SavePNG.c
++++ lib-src/enigma-core/IMG_SavePNG.c
+@@ -84,7 +84,7 @@
+ png_bytep *row_pointers = 0;
+
+ /* Set error handling. */
+- if (setjmp(png_ptr->jmpbuf)) {
++ if (setjmp(png_jmpbuf(png_ptr))) {
+ IMG_SetError("Error writing the PNG file");
+ }
+ else {