[147583] trunk/dports/graphics/vigra

devans at macports.org devans at macports.org
Fri Apr 8 12:49:06 PDT 2016


Revision: 147583
          https://trac.macports.org/changeset/147583
Author:   devans at macports.org
Date:     2016-04-08 12:49:06 -0700 (Fri, 08 Apr 2016)
Log Message:
-----------
vigra: apply patch suggested by maintainer to fix build with hdf5 1.10.0 (#51093).

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

Added Paths:
-----------
    trunk/dports/graphics/vigra/files/
    trunk/dports/graphics/vigra/files/patch-include-vigra-hdf5impex.hxx.diff

Modified: trunk/dports/graphics/vigra/Portfile
===================================================================
--- trunk/dports/graphics/vigra/Portfile	2016-04-08 19:26:28 UTC (rev 147582)
+++ trunk/dports/graphics/vigra/Portfile	2016-04-08 19:49:06 UTC (rev 147583)
@@ -38,6 +38,8 @@
 
 cmake.out_of_source yes
 
+patchfiles          patch-include-vigra-hdf5impex.hxx.diff
+
 post-patch {
     reinplace "s|@DOCDIR@|${prefix}/share/doc/${name}|g" ${worksrcpath}/config/vigra-config.in
 }

Added: trunk/dports/graphics/vigra/files/patch-include-vigra-hdf5impex.hxx.diff
===================================================================
--- trunk/dports/graphics/vigra/files/patch-include-vigra-hdf5impex.hxx.diff	                        (rev 0)
+++ trunk/dports/graphics/vigra/files/patch-include-vigra-hdf5impex.hxx.diff	2016-04-08 19:49:06 UTC (rev 147583)
@@ -0,0 +1,11 @@
+--- include/vigra/hdf5impex.hxx.orig	2016-04-08 12:27:16.000000000 -0700
++++ include/vigra/hdf5impex.hxx	2016-04-08 12:27:56.000000000 -0700
+@@ -1145,7 +1145,7 @@
+ 
+     bool isOpen() const
+     {
+-        return fileHandle_ != 0;
++        return fileHandle_ != (hid_t) 0;
+     }
+ 
+     bool isReadOnly() const
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160408/fe6bee69/attachment.html>


More information about the macports-changes mailing list