[med-svn] [Git][med-team/cufflinks][master] Start patching to build with gcc15 - more work needed
Andreas Tille (@tille)
gitlab at salsa.debian.org
Sat Dec 6 11:15:02 GMT 2025
Andreas Tille pushed to branch master at Debian Med / cufflinks
Commits:
7ea3c42d by Andreas Tille at 2025-12-06T12:14:34+01:00
Start patching to build with gcc15 - more work needed
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/gcc15.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+cufflinks (2.2.1+dfsg.1-11) UNRELEASED; urgency=medium
+
+ * Build with gcc-15
+ Closes: #1114084
+
+ -- Andreas Tille <tille at debian.org> Tue, 02 Dec 2025 11:55:20 +0100
+
cufflinks (2.2.1+dfsg.1-10) unstable; urgency=medium
* Team upload.
=====================================
debian/patches/gcc15.patch
=====================================
@@ -0,0 +1,207 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: 2025-12-06
+Bug-Debian: https://bugs.debian.org/1114084
+Description: Build with gcc-15
+
+--- a/src/locfit/lffuns.h
++++ b/src/locfit/lffuns.h
+@@ -105,7 +105,7 @@ extern int ident, locfit(), lf_iter();
+ extern double lflgamma(), lferf(), lferfc(), lfdaws();
+ extern double ptail(), logit(), expit();
+ //extern double lgamma(), erf(), erfc();
+-extern int factorial();
++extern int factorial(int n);
+
+ /* minmax.c */
+ extern double ipower(), minmax();
+@@ -148,8 +148,9 @@ extern int stm(), pmatch(), matchlf(), m
+ extern void strip();
+
+ /* wdiag.c */
+-extern INT wdiag(), procvhatm();
+-extern void cwdiag();
++extern INT wdiagp(lfit *lf, design *des, double *lx, INT deg, INT ty, INT exp);
++extern INT procvhatm(design *des, lfit *lf, INT v);
++extern void cwdiag(vari *v);
+
+ /* weight.c */
+ extern double W(), weight(), weightd(), Wd(), Wdd(), wint();
+--- a/src/locfit/wdiag.c
++++ b/src/locfit/wdiag.c
+@@ -56,11 +56,7 @@ INT n, m, *ind;
+ { l[i] = ((j>=0) && (ind[j]==i)) ? l[j--] : 0.0; } */
+ }
+
+-INT wdiagp(lf,des,lx,deg,ty,exp)
+-lfit *lf;
+-design *des;
+-double *lx;
+-INT deg, ty, exp;
++INT wdiagp(lfit *lf, design *des, double *lx, INT deg, INT ty, INT exp)
+ { INT i, j, p, *mi, *deriv, nd;
+ double *l1;
+ mi = lf->mi; p = des->p;
+@@ -221,10 +217,7 @@ INT deg, ty, exp;
+ return(m);
+ }
+
+-INT procvhatm(des,lf,v)
+-design *des;
+-lfit *lf;
+-INT v;
++INT procvhatm(design *des, lfit *lf, INT v)
+ { INT k = 0, n;
+ double *l;
+ n = (ident==0) ? lf->mi[MN] : des->p;
+@@ -238,8 +231,7 @@ INT v;
+ extern lfit lf;
+ extern design des;
+
+-void cwdiag(v)
+-vari *v;
++void cwdiag(vari *v)
+ { INT i;
+ vari *ve, *vr;
+ i = getarg(v,"ev",0);
+--- a/src/locfit/adap.c
++++ b/src/locfit/adap.c
+@@ -11,11 +11,12 @@
+ */
+
+ #include "local.h"
++extern INT wdiagp(lfit *lf, design *des, double *lx, INT deg, INT ty, INT exp);
++extern int factorial(int n);
+
+ static double hmin;
+
+-double acri(lk,t0,t2,pen)
+-double lk, t0, t2, pen;
++double acri(double lk, double t0, double t2, double pen)
+ { double y;
+ /* return(-2*lk/(t0*exp(pen*log(1-t2/t0)))); */
+ /* return((-2*lk+pen*t2)/t0); */
+@@ -23,9 +24,7 @@ double lk, t0, t2, pen;
+ return(y);
+ }
+
+-double mmse(lf,des)
+-lfit *lf;
+-design *des;
++double mmse(lfit *lf, design *des)
+ { int i, ii, j, p, p1;
+ double sv, sb, *l, dp;
+ l = des->wd;
+@@ -52,9 +51,7 @@ static double mcp, clo, cup;
+ or DFXH components)
+ */
+
+-INT ainitband(des,lf)
+-design *des;
+-lfit *lf;
++INT ainitband(design *des, lfit *lf)
+ { INT lf_status = LF_OK, p, z, cri, noit, redo;
+ double h, ho, t[6];
+ p = des->p;
+@@ -98,10 +95,7 @@ lfit *lf;
+ each iteration.
+ */
+
+-double aband2(des,lf,h0)
+-design *des;
+-lfit *lf;
+-double h0;
++double aband2(design *des, lfit *lf, double h0)
+ { double t[6], h, h1, nu1, cp, ncp, tlo, tup;
+ INT d, inc, n, p, done;
+ d = lf->mi[MDIM]; n = lf->mi[MN]; p = lf->mi[MP];
+@@ -149,10 +143,7 @@ double h0;
+ aband3 does a finer search around best h so far. Try
+ h*(1-0.2/d), h/(1-0.1/d), h*(1+0.1/d), h*(1+0.2/d)
+ */
+-double aband3(des,lf,h0)
+-design *des;
+-lfit *lf;
+-double h0;
++double aband3(design *des, lfit *lf, double h0)
+ { double t[6], h, h1, cp, tlo, tup;
+ INT i, i0, d, n;
+ d = lf->mi[MDIM]; n = lf->mi[MN];
+--- a/src/locfit/math.c
++++ b/src/locfit/math.c
+@@ -20,10 +20,9 @@
+
+ #include "local.h"
+
+-double lferfc();
++double lferfc(double x);
+
+-double lferf(x)
+-double x;
++double lferf(double x)
+ { static double val[] = { 0.0, 0.52049987781304674,
+ 0.84270079294971501, 0.96610514647531076, 0.99532226501895282,
+ 0.99959304798255499, 0.99997790950300125 };
+@@ -48,15 +47,13 @@ double x;
+ return(z);
+ }
+
+-double lferfc(x)
+-double x;
++double lferfc(double x)
+ { if (x<0) return(1+lferf(-x));
+ if (x<2.5) return(1-lferf(x));
+ return(exp(-x*x)/(x*SQRPI));
+ }
+
+-double lflgamma(x)
+-double x;
++double lflgamma(double x)
+ { double x1;
+ static double ilg[] = { 0.0, 0.0, 0.69314718055994529,
+ 1.791759469228055, 3.1780538303479458, 4.7874917427820458, 6.5792512120101012,
+@@ -77,8 +74,7 @@ double x;
+ return(HL2PI+(x1+0.5)*log(x1)-x1+1/(12*x1));
+ }
+
+-double lfdaws(x)
+-double x;
++double lfdaws(double x)
+ { static double val[] = {
+ 0, 0.24485619356002, 0.46034428261948, 0.62399959848185, 0.72477845900708,
+ 0.76388186132749, 0.75213621001998, 0.70541701910853, 0.63998807456541,
+@@ -122,8 +118,7 @@ double x;
+ return(z);
+ }
+
+-double ptail(x) /* exp(x*x/2)*int_{-\infty}^x exp(-u^2/2)du for x < -6 */
+-double x;
++double ptail(double x) /* exp(x*x/2)*int_{-\infty}^x exp(-u^2/2)du for x < -6 */
+ { double y, z, f0;
+ int j;
+ y = z = -1.0/x;
+@@ -136,13 +131,11 @@ double x;
+ return(z);
+ }
+
+-double logit(x)
+-double x;
++double logit(double x)
+ { return(log(x/(1-x)));
+ }
+
+-double expit(x)
+-double x;
++double expit(double x)
+ { double u;
+ if (x<0)
+ { u = exp(x);
+@@ -151,8 +144,7 @@ double x;
+ return(1/(1+exp(-x)));
+ }
+
+-int factorial(n)
+-int n;
++int factorial(int n)
+ { if (n<=1) return(1.0);
+ return(n*factorial(n-1));
+ }
=====================================
debian/patches/series
=====================================
@@ -11,3 +11,4 @@ fix_gcc-6.1_issue_in_liblemon_code_copy.patch
gcc10.patch
no_svnversion.patch
gcc14.patch
+gcc15.patch
View it on GitLab: https://salsa.debian.org/med-team/cufflinks/-/commit/7ea3c42d462f726315186475784a9b17dc0e38ce
--
View it on GitLab: https://salsa.debian.org/med-team/cufflinks/-/commit/7ea3c42d462f726315186475784a9b17dc0e38ce
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/20251206/e84efe90/attachment-0001.htm>
More information about the debian-med-commit
mailing list