[med-svn] [Git][med-team/paml][master] 3 commits: c23.patch: new: fix ftbfs with gcc-15.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Wed Feb 26 21:53:27 GMT 2025



Étienne Mollier pushed to branch master at Debian Med / paml


Commits:
bd921089 by Étienne Mollier at 2025-02-26T22:44:06+01:00
c23.patch: new: fix ftbfs with gcc-15.

Closes: #1097542

- - - - -
dc284d86 by Étienne Mollier at 2025-02-26T22:44:47+01:00
d/control: declare compliance to standards version 4.7.1.

- - - - -
b3689d45 by Étienne Mollier at 2025-02-26T22:53:06+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 @@
+paml (4.9j+dfsg-6) unstable; urgency=medium
+
+  * c23.patch: new: fix ftbfs with gcc-15. (Closes: #1097542)
+  * d/control: declare compliance to standards version 4.7.1.
+
+ -- Étienne Mollier <emollier at debian.org>  Wed, 26 Feb 2025 22:45:25 +0100
+
 paml (4.9j+dfsg-5) unstable; urgency=medium
 
   * d/control: add myself to uploaders.


=====================================
debian/control
=====================================
@@ -7,7 +7,7 @@ Uploaders: Pjotr Prins <pjotr.debian at thebird.nl>,
 Section: science
 Priority: optional
 Build-Depends: debhelper-compat (= 13)
-Standards-Version: 4.7.0
+Standards-Version: 4.7.1
 Vcs-Browser: https://salsa.debian.org/med-team/paml
 Vcs-Git: https://salsa.debian.org/med-team/paml.git
 Homepage: http://abacus.gene.ucl.ac.uk/software/paml.html


=====================================
debian/patches/c23.patch
=====================================
@@ -0,0 +1,28 @@
+Description: Fix ftbfs with gcc 15
+ This patch fixes the following error, appearing with standard C 2023
+ compiler support:
+ .
+        treesub.c:8481:5: error: conflicting types for ‘ProcessNodeAnnotation’; have ‘int(int *)’
+         8481 | int ProcessNodeAnnotation(int *haslabel)
+              |     ^~~~~~~~~~~~~~~~~~~~~
+        mcmctree.c:45:5: note: previous declaration of ‘ProcessNodeAnnotation’ with type ‘int(void)’
+           45 | int ProcessNodeAnnotation();
+              |     ^~~~~~~~~~~~~~~~~~~~~
+
+Author: Étienne Mollier <emollier at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097542
+Forwarded: no
+Last-Update: 2025-02-26
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- paml.orig/src/mcmctree.c
++++ paml/src/mcmctree.c
+@@ -42,7 +42,7 @@
+ 
+ int GetOptions(char *ctlf);
+ int ReadTreeSeqs(FILE*fout);
+-int ProcessNodeAnnotation();
++int ProcessNodeAnnotation(int *haslabel);
+ int ReadBlengthGH(char infile[]);
+ int GenerateBlengthGH(char infile[]);
+ int GetMem(void);


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ gcc10.patch
 hardening.patch
 add_clean_target.patch
 gcc14.patch
+c23.patch



View it on GitLab: https://salsa.debian.org/med-team/paml/-/compare/99582ce9e8505df06553d8db05d923b1e4d5e83d...b3689d45aade49b7688c5c21faeacfc6b436adda

-- 
View it on GitLab: https://salsa.debian.org/med-team/paml/-/compare/99582ce9e8505df06553d8db05d923b1e4d5e83d...b3689d45aade49b7688c5c21faeacfc6b436adda
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/20250226/e0612820/attachment-0001.htm>


More information about the debian-med-commit mailing list