Modified: trunk/dports/graphics/graphite2/Portfile (102364 => 102365)
--- trunk/dports/graphics/graphite2/Portfile 2013-02-01 06:34:40 UTC (rev 102364)
+++ trunk/dports/graphics/graphite2/Portfile 2013-02-01 06:38:19 UTC (rev 102365)
@@ -28,9 +28,12 @@
patchfiles patch-Graphite.cmake.diff
if {[string match *gcc-4.0 ${configure.compiler}]} {
- # https://sourceforge.net/tracker/?func=detail&atid=513479&aid=3581749&group_id=66144
post-patch {
+ # https://sourceforge.net/tracker/?func=detail&atid=513479&aid=3581749&group_id=66144
reinplace "s|-fdiagnostics-show-option||g" ${worksrcpath}/src/CMakeLists.txt ${worksrcpath}/tests/CMakeLists.txt
+
+ # https://sourceforge.net/tracker/?func=detail&aid=3597386&group_id=66144&atid=513479
+ reinplace "s|-fno-stack-protector||g" ${worksrcpath}/src/CMakeLists.txt ${worksrcpath}/tests/CMakeLists.txt
}
}