[97341] trunk/dports/graphics/pgplot

ryandesign at macports.org ryandesign at macports.org
Mon Sep 3 23:39:33 PDT 2012


Revision: 97341
          https://trac.macports.org/changeset/97341
Author:   ryandesign at macports.org
Date:     2012-09-03 23:39:33 -0700 (Mon, 03 Sep 2012)
Log Message:
-----------
pgplot: add patch to fix build with libpng 1.5 (#35945)

Modified Paths:
--------------
    trunk/dports/graphics/pgplot/Portfile

Added Paths:
-----------
    trunk/dports/graphics/pgplot/files/patch-drivers-pndriv.c.diff

Modified: trunk/dports/graphics/pgplot/Portfile
===================================================================
--- trunk/dports/graphics/pgplot/Portfile	2012-09-04 06:28:38 UTC (rev 97340)
+++ trunk/dports/graphics/pgplot/Portfile	2012-09-04 06:39:33 UTC (rev 97341)
@@ -42,6 +42,7 @@
 
 patchfiles          patch-makemake.diff \
                     patch-drivers.list.patch \
+                    patch-drivers-pndriv.c.diff \
                     patch-proccom.c.diff
 
 # Tell the compiler not to treat backslash characters as C-style escape sequences.

Added: trunk/dports/graphics/pgplot/files/patch-drivers-pndriv.c.diff
===================================================================
--- trunk/dports/graphics/pgplot/files/patch-drivers-pndriv.c.diff	                        (rev 0)
+++ trunk/dports/graphics/pgplot/files/patch-drivers-pndriv.c.diff	2012-09-04 06:39:33 UTC (rev 97341)
@@ -0,0 +1,11 @@
+--- drivers/pndriv.c.orig	1999-03-26 20:06:23.000000000 -0600
++++ drivers/pndriv.c	2012-09-04 01:36:12.000000000 -0500
+@@ -222,7 +222,7 @@
+ 	return;
+   }
+ 
+-  if (setjmp(png_ptr->jmpbuf)) { /* not really sure what I'm doing here... */
++  if (setjmp(png_jmpbuf(png_ptr))) { /* not really sure what I'm doing here... */
+ 	fprintf(stderr,"%s: error in libpng while writing file %s, plotting disabled\n", png_ident, filename);
+ 	png_destroy_write_struct(&png_ptr,&info_ptr);
+ 	dev->error = true;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120903/50d70ed9/attachment.html>


More information about the macports-changes mailing list