Bas Couwenberg pushed to branch master at Debian GIS Project / mapserver
Commits: db347246 by Bas Couwenberg at 2024-03-25T11:06:13+01:00 Add patch to fix FTBFS with glibc 2.38. (closes: #1067651) - - - - - 3 changed files: - debian/changelog - + debian/patches/glibc-strlcat.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +mapserver (8.0.1-5) UNRELEASED; urgency=medium + + * Add patch to fix FTBFS with glibc 2.38. + (closes: #1067651) + + -- Bas Couwenberg <[email protected]> Mon, 25 Mar 2024 09:55:48 +0100 + mapserver (8.0.1-4) unstable; urgency=medium * Add dpkg-dev (>= 1.22.5) to build dependencies for t64 changes. ===================================== debian/patches/glibc-strlcat.patch ===================================== @@ -0,0 +1,18 @@ +Description: Add -D_DEFAULT_SOURCE for strlcat/strlcpy privided by glibc >= 2.38. +Author: Bas Couwenberg <[email protected]> +Bug-Debian: https://bugs.debian.org/1067651 +Forwarded: https://github.com/MapServer/MapServer/pull/7055 + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -121,6 +121,10 @@ check_function_exists("strlcpy" HAVE_ST + check_function_exists("strlen" HAVE_STRLEN) + check_function_exists("strncasecmp" HAVE_STRNCASECMP) + ++IF((HAVE_STRLCAT OR HAVE_STRLCPY) AND CMAKE_SYSTEM_NAME MATCHES "Linux") ++ add_definitions(-D_DEFAULT_SOURCE) ++ENDIF() ++ + check_symbol_exists(vsnprintf stdio.h HAVE_VSNPRINTF) + IF(NOT HAVE_VSNPRINTF) + check_function_exists("vsnprintf" HAVE_VSNPRINTF) ===================================== debian/patches/series ===================================== @@ -1,3 +1,4 @@ perl-mapscript-install.patch java-hardening.patch spelling-errors.patch +glibc-strlcat.patch View it on GitLab: https://salsa.debian.org/debian-gis-team/mapserver/-/commit/db347246bd42a82ae7261e54f871115cb8083115 -- View it on GitLab: https://salsa.debian.org/debian-gis-team/mapserver/-/commit/db347246bd42a82ae7261e54f871115cb8083115 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
