Bas Couwenberg pushed to branch master at Debian GIS Project / pktools
Commits: e4b3cae2 by Bas Couwenberg at 2018-04-23T14:49:56+02:00 Add patch to use C++11 for compatibility with GDAL 2.3.0. - - - - - 3 changed files: - debian/changelog - + debian/patches/gdal-c++11.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ pktools (2.6.7.3+ds-2) UNRELEASED; urgency=medium * Update Vcs-* URLs for Salsa. * Bump Standards-Version to 4.1.4, no changes. + * Add patch to use C++11 for compatibility with GDAL 2.3.0. -- Bas Couwenberg <[email protected]> Sat, 31 Mar 2018 12:45:12 +0200 ===================================== debian/patches/gdal-c++11.patch ===================================== --- /dev/null +++ b/debian/patches/gdal-c++11.patch @@ -0,0 +1,14 @@ +Description: Use C++11 for compatibility with GDAL 2.3.0. +Author: Bas Couwenberg <[email protected]> + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -166,7 +166,7 @@ else() + + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC ${PKTOOLS_COMMON_CXX_FLAGS}") + if (CMAKE_COMPILER_IS_GNUCXX) +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++98") ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + endif() + + elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" OR "${CMAKE_CXX_COMPILER}" MATCHES "clang") ===================================== debian/patches/series ===================================== --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ spelling-errors2.patch multiarch.patch +gdal-c++11.patch View it on GitLab: https://salsa.debian.org/debian-gis-team/pktools/commit/e4b3cae28b93d100b98c08214dc994d6b1052dc1 --- View it on GitLab: https://salsa.debian.org/debian-gis-team/pktools/commit/e4b3cae28b93d100b98c08214dc994d6b1052dc1 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
