[98771] trunk/dports/science/gmsh

ryandesign at macports.org ryandesign at macports.org
Mon Oct 15 06:21:36 PDT 2012


Revision: 98771
          http://trac.macports.org//changeset/98771
Author:   ryandesign at macports.org
Date:     2012-10-15 06:21:36 -0700 (Mon, 15 Oct 2012)
Log Message:
-----------
gmsh: fix build with libpng 1.5 (#36094)

Modified Paths:
--------------
    trunk/dports/science/gmsh/Portfile

Added Paths:
-----------
    trunk/dports/science/gmsh/files/patch-Graphics-gl2png.cpp.diff

Modified: trunk/dports/science/gmsh/Portfile
===================================================================
--- trunk/dports/science/gmsh/Portfile	2012-10-15 12:46:31 UTC (rev 98770)
+++ trunk/dports/science/gmsh/Portfile	2012-10-15 13:21:36 UTC (rev 98771)
@@ -29,7 +29,8 @@
                           sha1    b541fd9f1aadf1df7bf6fdd97a68ca41966ffeb6 \
                           rmd160  49ab2054d546e4549250119cec0453cd1cdfffef
 
-patchfiles          patch-cmakelists.diff
+patchfiles          patch-cmakelists.diff \
+                    patch-Graphics-gl2png.cpp.diff
 
 # https://trac.macports.org/ticket/33925
 if {${configure.compiler} == "clang"} {

Added: trunk/dports/science/gmsh/files/patch-Graphics-gl2png.cpp.diff
===================================================================
--- trunk/dports/science/gmsh/files/patch-Graphics-gl2png.cpp.diff	                        (rev 0)
+++ trunk/dports/science/gmsh/files/patch-Graphics-gl2png.cpp.diff	2012-10-15 13:21:36 UTC (rev 98771)
@@ -0,0 +1,10 @@
+--- Graphics/gl2png.cpp.orig	2010-10-15 08:35:00.000000000 -0500
++++ Graphics/gl2png.cpp	2012-10-15 07:51:00.000000000 -0500
+@@ -16,6 +16,7 @@
+ #else
+ 
+ #include <png.h>
++#include <zlib.h>
+ 
+ #ifndef png_jmpbuf
+ #  define png_jmpbuf(png_ptr) ((png_ptr)->jmpbuf)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121015/1c02d6b0/attachment.html>


More information about the macports-changes mailing list