[105190] trunk/dports/math/metis

michaelld at macports.org michaelld at macports.org
Fri Apr 12 18:33:51 PDT 2013


Revision: 105190
          https://trac.macports.org/changeset/105190
Author:   michaelld at macports.org
Date:     2013-04-12 18:33:51 -0700 (Fri, 12 Apr 2013)
Log Message:
-----------
metis : remove error-generating -Wno-unused-but-set-variable; addresses ticket #38775.

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

Added Paths:
-----------
    trunk/dports/math/metis/files/patch-GKlib_GKlibSystem.cmake.diff

Modified: trunk/dports/math/metis/Portfile
===================================================================
--- trunk/dports/math/metis/Portfile	2013-04-13 01:09:55 UTC (rev 105189)
+++ trunk/dports/math/metis/Portfile	2013-04-13 01:33:51 UTC (rev 105190)
@@ -28,7 +28,8 @@
 checksums           rmd160  2c4a54bcd3179a609842cde1908dbd232a770495 \
                     sha256  76faebe03f6c963127dbb73c13eab58c9a3faeae48779f049066a21c087c5db2
 
-patchfiles          patch-Makefile-add-install-name-dir.diff
+patchfiles          patch-Makefile-add-install-name-dir.diff \
+                    patch-GKlib_GKlibSystem.cmake.diff
 
 # Metis uses a GNU make file to fire off a cmake command.
 # Used for configure, build, and install.

Added: trunk/dports/math/metis/files/patch-GKlib_GKlibSystem.cmake.diff
===================================================================
--- trunk/dports/math/metis/files/patch-GKlib_GKlibSystem.cmake.diff	                        (rev 0)
+++ trunk/dports/math/metis/files/patch-GKlib_GKlibSystem.cmake.diff	2013-04-13 01:33:51 UTC (rev 105190)
@@ -0,0 +1,11 @@
+--- GKlib/GKlibSystem.cmake.orig	2013-04-12 21:25:00.000000000 -0400
++++ GKlib/GKlibSystem.cmake	2013-04-12 21:25:18.000000000 -0400
+@@ -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/20130412/93878848/attachment.html>


More information about the macports-changes mailing list