mapserver/mapserver-implicit-declarations.patch
2023-10-03 22:54:00 +02:00

12 lines
490 B
Diff

diff -rupN MapServer-rel-8-0-1/CMakeLists.txt MapServer-rel-8-0-1-new/CMakeLists.txt
--- MapServer-rel-8-0-1/CMakeLists.txt 2023-04-17 19:26:04.000000000 +0200
+++ MapServer-rel-8-0-1-new/CMakeLists.txt 2023-10-03 22:50:49.702462069 +0200
@@ -280,6 +280,7 @@ flatgeobuf/packedrtree.cpp
include_directories(flatgeobuf/include)
#add_definitions(-DHASH_DEBUG=1)
+add_definitions(-D_DEFAULT_SOURCE)
if(WIN32)
set(REGEX_SOURCES ${REGEX_DIR}/regex.c)
include_directories(${REGEX_DIR})