[Git][debian-gis-team/netcdf][master] 4 commits: Add patch to fix FTBFS with GCC 14. (closes: #1078197)

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Mon Aug 12 18:16:52 BST 2024



Bas Couwenberg pushed to branch master at Debian GIS Project / netcdf


Commits:
4deb9820 by Bas Couwenberg at 2024-08-12T18:56:30+02:00
Add patch to fix FTBFS with GCC 14. (closes: #1078197)

- - - - -
50b601b0 by Bas Couwenberg at 2024-08-12T18:57:11+02:00
Bump Standards-Version to 4.7.0, no changes.

- - - - -
eded76b9 by Bas Couwenberg at 2024-08-12T19:10:33+02:00
Update lintian overrides.

- - - - -
fabb2065 by Bas Couwenberg at 2024-08-12T19:10:33+02:00
Set distribution to unstable.

- - - - -


5 changed files:

- debian/changelog
- debian/control
- − debian/libnetcdf19t64.lintian-overrides
- + debian/patches/fix-incompat-pointer-cast.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+netcdf (1:4.9.2-7) unstable; urgency=medium
+
+  * Add patch to fix FTBFS with GCC 14.
+    (closes: #1078197)
+  * Bump Standards-Version to 4.7.0, no changes.
+  * Update lintian overrides.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Mon, 12 Aug 2024 18:57:15 +0200
+
 netcdf (1:4.9.2-6) unstable; urgency=medium
 
   * Update symbols for strlcat removal, provided by glibc 2.38.


=====================================
debian/control
=====================================
@@ -15,7 +15,7 @@ Build-Depends: cmake (>= 3.6.1),
                libhdf5-dev,
                libxml2-dev,
                m4
-Standards-Version: 4.6.2
+Standards-Version: 4.7.0
 Vcs-Browser: https://salsa.debian.org/debian-gis-team/netcdf
 Vcs-Git: https://salsa.debian.org/debian-gis-team/netcdf.git
 Homepage: http://www.unidata.ucar.edu/software/netcdf/


=====================================
debian/libnetcdf19t64.lintian-overrides deleted
=====================================
@@ -1,3 +0,0 @@
-# 64-bit time_t transition
-package-name-doesnt-match-sonames libnetcdf19
-


=====================================
debian/patches/fix-incompat-pointer-cast.patch
=====================================
@@ -0,0 +1,16 @@
+Description: Fix incompatible pointer cast
+ This fixes build errors with GCC 14
+Author: Zixing Liu <zixing.liu at canonical.com>
+Forwarded: not-needed
+
+--- a/ncgen/ncgen.h
++++ b/ncgen/ncgen.h
+@@ -173,7 +173,7 @@ typedef struct Typeinfo {
+ 	int             hasvlen;  /* 1 => this type contains a vlen*/
+ 	nc_type         typecode;
+         unsigned long   offset;   /* fields in struct*/
+-        unsigned long   alignment;/* fields in struct*/
++        size_t          alignment;/* fields in struct*/
+         NCConstant*     econst;   /* for enum values*/
+         Dimset          dimset;     /* for NC_VAR/NC_FIELD/NC_ATT*/
+         size_t   size;     /* for opaque, compound, etc.*/


=====================================
debian/patches/series
=====================================
@@ -5,3 +5,4 @@ reproducible-settings.patch
 byteswap.patch
 doxygen-1.9.8.patch
 h5fd_http_finalize.patch
+fix-incompat-pointer-cast.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/netcdf/-/compare/fbb79d1c25c79af093a6207c4a09e7469bff966e...fabb20656df37c7be132662f3251f1a2c4a6758e

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/netcdf/-/compare/fbb79d1c25c79af093a6207c4a09e7469bff966e...fabb20656df37c7be132662f3251f1a2c4a6758e
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/20240812/3b599305/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list