[med-svn] [Git][med-team/fastdnaml][master] 4 commits: gcc-14.patch: new: fix implicit return type for "main".

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Sat Jul 20 20:12:20 BST 2024



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


Commits:
8964b5d8 by Étienne Mollier at 2024-07-20T21:07:07+02:00
gcc-14.patch: new: fix implicit return type for "main".

Closes: #1074947

- - - - -
62210c77 by Étienne Mollier at 2024-07-20T21:07:55+02:00
d/control: declare compliance to standards version 4.7.0.

- - - - -
9ad9449a by Étienne Mollier at 2024-07-20T21:08:27+02:00
d/control: add myself to uploaders.

- - - - -
328cd471 by Étienne Mollier at 2024-07-20T21:11:29+02:00
ready to upload to unstable.

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/gcc-14.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+fastdnaml (1.2.2-17) unstable; urgency=medium
+
+  * gcc-14.patch: new: fix implicit return type for "main". (Closes: #1074947)
+  * d/control: declare compliance to standards version 4.7.0.
+  * d/control: add myself to uploaders.
+
+ -- Étienne Mollier <emollier at debian.org>  Sat, 20 Jul 2024 21:08:42 +0200
+
 fastdnaml (1.2.2-16) unstable; urgency=medium
 
   * Team Upload.


=====================================
debian/control
=====================================
@@ -1,11 +1,12 @@
 Source: fastdnaml
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Andreas Tille <tille at debian.org>,
-           Charles Plessy <plessy at debian.org>
+           Charles Plessy <plessy at debian.org>,
+           Étienne Mollier <emollier at debian.org>
 Section: science
 Priority: optional
 Build-Depends: debhelper-compat (= 13)
-Standards-Version: 4.6.2
+Standards-Version: 4.7.0
 Vcs-Browser: https://salsa.debian.org/med-team/fastdnaml
 Vcs-Git: https://salsa.debian.org/med-team/fastdnaml.git
 Homepage: ftp://ftp.bio.indiana.edu/molbio/evolve/fastdnaml/fastDNAml.html


=====================================
debian/patches/gcc-14.patch
=====================================
@@ -0,0 +1,27 @@
+Description: fix implicit return type for main.
+ Fix the following error cropping up with gcc 14:
+ .
+  fastDNAml.c:4751:3: error: return type defaults to ‘int’ [-Wimplicit-int]
+   4751 |   main ()
+        |   ^~~~
+
+Author: Étienne Mollier <emollier at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074947
+Forwarded: no
+Last-Update: 2024-07-20
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- fastdnaml.orig/source/fastDNAml.c
++++ fastdnaml/source/fastDNAml.c
+@@ -4748,9 +4748,9 @@
+ /*==========================================================================*/
+ 
+ #if Sequential
+-  main ()
++  int main ()
+ #else
+-  slave ()
++  int slave ()
+ #endif
+   { /* DNA Maximum Likelihood */
+ #   if Master


=====================================
debian/patches/series
=====================================
@@ -3,3 +3,4 @@ scripts.patch
 hardening.patch
 cross.patch
 fixup-implicit-function-declaration.patch
+gcc-14.patch



View it on GitLab: https://salsa.debian.org/med-team/fastdnaml/-/compare/1ba1470ac35cbc7b216893c907ac0aa43421e1d3...328cd4712d4cb334811b03ec24535a6a8fc61d94

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://salsa.debian.org/med-team/fastdnaml/-/compare/1ba1470ac35cbc7b216893c907ac0aa43421e1d3...328cd4712d4cb334811b03ec24535a6a8fc61d94
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/20240720/21add3b8/attachment-0001.htm>


More information about the debian-med-commit mailing list