diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-02-15 17:57:52 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-02-15 17:57:52 +0000 |
commit | 9833c708df114ffd26afae6d9926e2942d0892ba (patch) | |
tree | ca1faebcd8c176d131fb979d37a73f9a7ee6bc96 /games-puzzle/pingus/files | |
parent | Version bump. (diff) | |
download | gentoo-2-9833c708df114ffd26afae6d9926e2942d0892ba.tar.gz gentoo-2-9833c708df114ffd26afae6d9926e2942d0892ba.tar.bz2 gentoo-2-9833c708df114ffd26afae6d9926e2942d0892ba.zip |
add patch for working with libpng15 submitted by Lars Wendler via bug #355065
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'games-puzzle/pingus/files')
-rw-r--r-- | games-puzzle/pingus/files/pingus-0.7.3-libpng15.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/games-puzzle/pingus/files/pingus-0.7.3-libpng15.patch b/games-puzzle/pingus/files/pingus-0.7.3-libpng15.patch new file mode 100644 index 000000000000..9260a9bbad4a --- /dev/null +++ b/games-puzzle/pingus/files/pingus-0.7.3-libpng15.patch @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1 2011/01/20 23:41:02 wiz Exp $ + +Fix build with png-1.5. + +--- src/screenshot.cpp.orig 2007-09-30 16:07:08.000000000 +0000 ++++ src/screenshot.cpp +@@ -159,7 +159,7 @@ Screenshot::save_png(const std::string& + 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); |