[med-svn] [Git][med-team/gmap][master] 3 commits: c23.patch: new: fix build failure with gcc 15.
Étienne Mollier (@emollier)
gitlab at salsa.debian.org
Tue Feb 25 22:11:41 GMT 2025
Étienne Mollier pushed to branch master at Debian Med / gmap
Commits:
f601a5a0 by Étienne Mollier at 2025-02-25T23:10:15+01:00
c23.patch: new: fix build failure with gcc 15.
Closes: #1096727
- - - - -
bbd30ff2 by Étienne Mollier at 2025-02-25T23:10:43+01:00
d/control: declare compliance to standards version 4.7.1.
- - - - -
1e84e179 by Étienne Mollier at 2025-02-25T23:11:13+01:00
d/changelog: ready for upload to unstable.
- - - - -
4 changed files:
- debian/changelog
- debian/control
- + debian/patches/c23.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+gmap (2024-11-20+ds-2) unstable; urgency=medium
+
+ * c23.patch: new: fix build failure with gcc 15. (Closes: #1096727)
+ * d/control: declare compliance to standards version 4.7.1.
+
+ -- Étienne Mollier <emollier at debian.org> Tue, 25 Feb 2025 23:11:02 +0100
+
gmap (2024-11-20+ds-1) unstable; urgency=medium
* New upstream version 2024-11-20+ds
=====================================
debian/control
=====================================
@@ -13,7 +13,7 @@ Build-Depends: debhelper-compat (= 13),
zlib1g-dev,
debhelper,
libsimde-dev
-Standards-Version: 4.7.0
+Standards-Version: 4.7.1
Vcs-Browser: https://salsa.debian.org/med-team/gmap
Vcs-Git: https://salsa.debian.org/med-team/gmap.git
Homepage: http://research-pub.gene.com/gmap
=====================================
debian/patches/c23.patch
=====================================
@@ -0,0 +1,46 @@
+Description: fix build failure with standard C 2023.
+ This fixes a case of bool type definition, skipping the typedef when
+ the standard is 202311L or greater. There are also a couple of
+ indirect function calls needing adjustment.
+Author: Étienne Mollier <emollier at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096727
+Forwarded: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096727#10
+Last-Update: 2025-02-25
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- gmap.orig/src/bool.h
++++ gmap/src/bool.h
+@@ -2,9 +2,11 @@
+ #ifndef BOOL_INCLUDED
+ #define BOOL_INCLUDED
+
++#if __STDC_VERSION__ < 202311L
+ /* typedef enum{false,true} bool; */
+
+ typedef unsigned char bool;
++#endif
+
+ #define false 0
+ #define true 1
+--- gmap.orig/src/iit-write-univ.c
++++ gmap/src/iit-write-univ.c
+@@ -86,7 +86,7 @@
+ }
+
+ static bool
+-is_sorted (int array[], int i, int j, Univcoord_T (*endpoint)(), struct Univinterval_T *intervals) {
++is_sorted (int array[], int i, int j, Univcoord_T (*endpoint)(struct Univinterval_T *,int), struct Univinterval_T *intervals) {
+ int lambda;
+
+ for (lambda = i; lambda <= j - 1; lambda++) {
+--- gmap.orig/src/iit-write.c
++++ gmap/src/iit-write.c
+@@ -96,7 +96,7 @@
+ }
+
+ static bool
+-is_sorted (int array[], int i, int j, Chrpos_T (*endpoint)(), struct Interval_T *intervals) {
++is_sorted (int array[], int i, int j, Chrpos_T (*endpoint)(struct Interval_T *, int), struct Interval_T *intervals) {
+ int lambda;
+
+ for (lambda = i; lambda <= j - 1; lambda++) {
=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
install-data-local
remove_getopt_code_copy.patch
simd_fixes
+c23.patch
View it on GitLab: https://salsa.debian.org/med-team/gmap/-/compare/d17690aef759b0ad75b10a50eb7032d47234e215...1e84e1791658df5f8b7ca9ec5b5648828f90291c
--
View it on GitLab: https://salsa.debian.org/med-team/gmap/-/compare/d17690aef759b0ad75b10a50eb7032d47234e215...1e84e1791658df5f8b7ca9ec5b5648828f90291c
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/debian-med-commit/attachments/20250225/e706d2a8/attachment-0001.htm>
More information about the debian-med-commit
mailing list