Modified: trunk/dports/math/parmetis/Portfile (111807 => 111808)
--- 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 (0 => 111808)
--- 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")