Bas Couwenberg pushed to branch experimental at Debian GIS Project / proj


Commits:
1b21a7c7 by Bas Couwenberg at 2026-09-08T15:32:53+02:00
Add patch to revert GCC 13 changes, possibly fixes FTBFS on armhf.

- - - - -
752694c8 by Bas Couwenberg at 2026-09-08T15:33:04+02:00
Set distribution to experimental.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/gcc-13.patch
- + debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+proj (9.9.0~rc1-1~exp2) experimental; urgency=medium
+
+  * Add patch to revert GCC 13 changes, possibly fixes FTBFS on armhf.
+
+ -- Bas Couwenberg <[email protected]>  Tue, 08 Sep 2026 15:32:53 +0200
+
 proj (9.9.0~rc1-1~exp1) experimental; urgency=medium
 
   * New upstream release candidate.


=====================================
debian/patches/gcc-13.patch
=====================================
@@ -0,0 +1,21 @@
+Description: Revert GCC 13 changes.
+Author: Bas Couwenberg <[email protected]>
+Bug: https://github.com/OSGeo/PROJ/issues/4849
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -131,13 +131,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Inte
+   # breaks std::isinf(), std::isnan(), etc.
+   string(APPEND CMAKE_C_FLAGS " -fno-fast-math")
+   string(APPEND CMAKE_CXX_FLAGS " -fno-fast-math")
+-elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND
+-       CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 13 AND
+-       CMAKE_SIZEOF_VOID_P EQUAL 4)
+-  # GCC 13 and later changed their C++ excess precision support, which impacts
+-  # 32-bit builds. This restores the previous behavior.
+-  string(APPEND CMAKE_CXX_FLAGS " -fexcess-precision=fast")
+-endif()
++endif ()
+ 
+ # Add other supported compiler flags
+ if(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" 
MATCHES "Clang"))


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+gcc-13.patch



View it on GitLab: 
https://salsa.debian.org/debian-gis-team/proj/-/compare/b087afafdc5862d62f8b2507c8e8a23b9b62c2ed...752694c8881c56c10436ecd80cf0a7a82563577c

-- 
View it on GitLab: 
https://salsa.debian.org/debian-gis-team/proj/-/compare/b087afafdc5862d62f8b2507c8e8a23b9b62c2ed...752694c8881c56c10436ecd80cf0a7a82563577c
You're receiving this email because of your account on salsa.debian.org. Manage 
all notifications: https://salsa.debian.org/-/profile/notifications | Help: 
https://salsa.debian.org/help


_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to