Ticket #13285: geos-2.2.3.diff

File geos-2.2.3.diff, 1.3 KB (added by skymoo (Adam Mercer), 17 years ago)

update to 2.2.3 and fix build on Leopard

  • science/geos/files/patch-test_XMLTester.cpp.diff

    === added directory 'science/geos/files'
    === added file 'science/geos/files/patch-test_XMLTester.cpp.diff'
     
     1--- source/test/XMLTester.cpp   2007-11-24 13:52:10.000000000 -0500
     2+++ source/test/XMLTester.cpp   2007-11-24 13:54:58.000000000 -0500
     3@@ -63,7 +63,7 @@
     4 void
     5 tolower(std::string& str)
     6 {
     7-       std::transform(str.begin(), str.end(), str.begin(), safe_ctype<std::tolower>);
     8+       std::transform(str.begin(), str.end(), str.begin(), (int(*)(int))std::tolower);
     9 }
     10 
     11 XMLTester::XMLTester()
  • science/geos/Portfile

    === modified file 'science/geos/Portfile'
     
    33PortSystem 1.0
    44
    55name            geos
    6 version         2.2.1
     6version         2.2.3
    77categories      science
    88maintainers     opendarwin@gaige.net
    99description     GEOS Geomety Engine - Open Source
     
    1414homepage        http://geos.refractions.net/
    1515master_sites    ${homepage}
    1616use_bzip2       yes
    17 checksums       md5 272132bfb64422915d0f748f5e26932b
     17checksums       md5 440be2b11fd3d711e950a47ea6f1b424
    1818
    1919platform darwin 8 {
    2020        configure.compiler      gcc-4.0
    2121}
     22
     23platform darwin 9 {
     24        patchfiles patch-test_XMLTester.cpp.diff
     25}