[Git][debian-gis-team/libgeotiff][master] Add patch to fix FTBFS with GCC 15. (closes: #1097191)
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Tue Feb 18 11:34:49 GMT 2025
Bas Couwenberg pushed to branch master at Debian GIS Project / libgeotiff
Commits:
1a34cf92 by Bas Couwenberg at 2025-02-18T12:34:38+01:00
Add patch to fix FTBFS with GCC 15. (closes: #1097191)
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/gcc-15.patch
- + debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,6 +1,8 @@
libgeotiff (1.7.3-2) UNRELEASED; urgency=medium
* Bump Standards-Version to 4.7.0, no changes.
+ * Add patch to fix FTBFS with GCC 15.
+ (closes: #1097191)
-- Bas Couwenberg <sebastic at debian.org> Sun, 28 Jul 2024 19:42:36 +0200
=====================================
debian/patches/gcc-15.patch
=====================================
@@ -0,0 +1,16 @@
+Description: Fix FTBFS with GCC 15.
+ https://gcc.gnu.org/gcc-15/porting_to.html#c23-fn-decls-without-parameters
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/OSGeo/libgeotiff/pull/131
+
+--- a/bin/geotifcp.c
++++ b/bin/geotifcp.c
+@@ -37,7 +37,7 @@
+ #define TRUE 1
+ #define FALSE 0
+
+-int getopt();
++int getopt(int nargc, char** nargv, char* ostr);
+
+ static int outtiled = -1;
+ static uint32_t tilewidth;
=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+gcc-15.patch
View it on GitLab: https://salsa.debian.org/debian-gis-team/libgeotiff/-/commit/1a34cf92f0f81771f43bb1db4181871b67c2d324
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/libgeotiff/-/commit/1a34cf92f0f81771f43bb1db4181871b67c2d324
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20250218/18606b3b/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list