[111808] trunk/dports/math/parmetis

ryandesign at macports.org ryandesign at macports.org
Wed Oct 2 09:38:19 PDT 2013


Revision: 111808
          https://trac.macports.org/changeset/111808
Author:   ryandesign at macports.org
Date:     2013-10-02 09:38:19 -0700 (Wed, 02 Oct 2013)
Log Message:
-----------
parmetis: fix build with older clang by removing -Wno-unused-but-set-variable

Modified Paths:
--------------
    trunk/dports/math/parmetis/Portfile

Added Paths:
-----------
    trunk/dports/math/parmetis/files/patch-metis-GKlib-GKlibSystem.cmake.diff

Modified: trunk/dports/math/parmetis/Portfile
===================================================================
--- trunk/dports/math/parmetis/Portfile	2013-10-02 16:35:50 UTC (rev 111807)
+++ trunk/dports/math/parmetis/Portfile	2013-10-02 16:38:19 UTC (rev 111808)
@@ -22,7 +22,8 @@
 depends_build       port:cmake \
                     port:mpich-default
 
-patchfiles          patch-Makefile.diff
+patchfiles          patch-Makefile.diff \
+                    patch-metis-GKlib-GKlibSystem.cmake.diff
 
 # mpich-default is not universal
 universal_variant no

Added: trunk/dports/math/parmetis/files/patch-metis-GKlib-GKlibSystem.cmake.diff
===================================================================
--- trunk/dports/math/parmetis/files/patch-metis-GKlib-GKlibSystem.cmake.diff	                        (rev 0)
+++ trunk/dports/math/parmetis/files/patch-metis-GKlib-GKlibSystem.cmake.diff	2013-10-02 16:38:19 UTC (rev 111808)
@@ -0,0 +1,12 @@
+http://glaros.dtc.umn.edu/flyspray/task/117
+--- metis/GKlib/GKlibSystem.cmake.orig	2013-03-30 11:24:50.000000000 -0500
++++ metis/GKlib/GKlibSystem.cmake	2013-10-02 11:34:57.000000000 -0500
+@@ -33,7 +33,7 @@
+       set(GKlib_COPTIONS "${GKlib_COPTIONS} -fPIC")
+   endif(NOT MINGW)
+ # GCC warnings.
+-  set(GKlib_COPTIONS "${GKlib_COPTIONS} -Wall -pedantic -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unknown-pragmas")
++  set(GKlib_COPTIONS "${GKlib_COPTIONS} -Wall -pedantic -Wno-unused-variable -Wno-unknown-pragmas")
+ elseif(${CMAKE_C_COMPILER_ID} MATCHES "Sun")
+ # Sun insists on -xc99.
+   set(GKlib_COPTIONS "${GKlib_COPTIONS} -xc99")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131002/c0a12e27/attachment.html>


More information about the macports-changes mailing list