From 9833c708df114ffd26afae6d9926e2942d0892ba Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Tue, 15 Feb 2011 17:57:52 +0000 Subject: add patch for working with libpng15 submitted by Lars Wendler via bug #355065 (Portage version: 2.1.9.25/cvs/Linux i686) --- games-puzzle/pingus/files/pingus-0.7.3-libpng15.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 games-puzzle/pingus/files/pingus-0.7.3-libpng15.patch (limited to 'games-puzzle/pingus/files') 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); -- cgit v1.2.3-65-gdbad