[med-svn] [Git][med-team/cufflinks][master] 3 commits: gcc14.patch: new: fix build failure with gcc14.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Tue Aug 27 21:55:48 BST 2024



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


Commits:
815951cf by Étienne Mollier at 2024-08-27T22:52:52+02:00
gcc14.patch: new: fix build failure with gcc14.

Closes: #1078141

- - - - -
d3709fbd by Étienne Mollier at 2024-08-27T22:54:02+02:00
d/control: declare compliance to standards version 4.7.0.

- - - - -
295fe17b by Étienne Mollier at 2024-08-27T22:54:40+02:00
Ready for upload to unstable.

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/gcc14.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+cufflinks (2.2.1+dfsg.1-10) unstable; urgency=medium
+
+  * Team upload.
+  * gcc14.patch: new: fix build failure with gcc14. (Closes: #1078141)
+  * d/control: declare compliance to standards version 4.7.0.
+
+ -- Étienne Mollier <emollier at debian.org>  Tue, 27 Aug 2024 22:54:20 +0200
+
 cufflinks (2.2.1+dfsg.1-9) unstable; urgency=medium
 
   * Fix autoconf issue


=====================================
debian/control
=====================================
@@ -17,7 +17,7 @@ Build-Depends: debhelper-compat (= 13),
                zlib1g-dev,
                python3,
                libeigen3-dev
-Standards-Version: 4.6.0
+Standards-Version: 4.7.0
 Vcs-Browser: https://salsa.debian.org/med-team/cufflinks
 Vcs-Git: https://salsa.debian.org/med-team/cufflinks.git
 Homepage: https://cufflinks.cbcb.umd.edu


=====================================
debian/patches/gcc14.patch
=====================================
@@ -0,0 +1,31 @@
+Description: fix build failure with gcc 14.
+ This change fixes the following failure, now appearing with the new
+ warnings gone fatal with gcc 14:
+ .
+	locfit/c_plot.c:470:14: error: passing argument 1 of 'setvarname' from incompatible pointer type [-Wincompatible-pointer-types]
+	  470 |   setvarname(curstr,tname);
+	      |              ^~~~~~
+	      |              |
+	      |              char *
+	In file included from locfit/lffuns.h:214,
+	                 from locfit/local.h:106,
+	                 from locfit/c_plot.c:6:
+	locfit/vari.hpp:16:27: note: expected 'vari *' but argument is of type 'char *'
+	   16 |     void setvarname(vari* v, varname name);
+	      |                     ~~~~~~^
+
+Author: Étienne Mollier <emollier at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078141
+Forwarded: no
+Last-Update: 2024-08-27
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- cufflinks.orig/src/locfit/c_plot.c
++++ cufflinks/src/locfit/c_plot.c
+@@ -467,5 +467,5 @@
+     }
+   }
+   sprintf(tname,"=tps%d",w);
+-  setvarname(curstr,tname);
++  setvarname((vari*)curstr,tname);
+ }


=====================================
debian/patches/series
=====================================
@@ -10,3 +10,4 @@ lib_eigen.patch
 fix_gcc-6.1_issue_in_liblemon_code_copy.patch
 gcc10.patch
 no_svnversion.patch
+gcc14.patch



View it on GitLab: https://salsa.debian.org/med-team/cufflinks/-/compare/3f36fa5495b7fa61292d8298321f412f1c52bfa3...295fe17b1321e07e0af5eb9265771d6033856d57

-- 
View it on GitLab: https://salsa.debian.org/med-team/cufflinks/-/compare/3f36fa5495b7fa61292d8298321f412f1c52bfa3...295fe17b1321e07e0af5eb9265771d6033856d57
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/20240827/faabdc65/attachment-0001.htm>


More information about the debian-med-commit mailing list