aboutsummaryrefslogtreecommitdiff
path: root/games/pingus/files/patch-src-screenshot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/pingus/files/patch-src-screenshot.cpp')
-rw-r--r--games/pingus/files/patch-src-screenshot.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/pingus/files/patch-src-screenshot.cpp b/games/pingus/files/patch-src-screenshot.cpp
new file mode 100644
index 000000000000..4f6cc17dd13e
--- /dev/null
+++ b/games/pingus/files/patch-src-screenshot.cpp
@@ -0,0 +1,11 @@
+--- src/screenshot.cpp.orig 2007-09-30 18:07:08.000000000 +0200
++++ src/screenshot.cpp 2012-04-29 06:49:26.000000000 +0200
+@@ -159,7 +159,7 @@
+ return;
+ }
+
+- if (setjmp(png_ptr->jmpbuf))
++ if (setjmp(png_jmpbuf(png_ptr)))
+ {
+ // If we get here, we had a problem reading the file
+ fclose(fp);