[med-svn] [Git][med-team/cufflinks][master] d/watch:
Andreas Tille (@tille)
gitlab at salsa.debian.org
Mon Dec 8 20:13:02 GMT 2025
Andreas Tille pushed to branch master at Debian Med / cufflinks
Commits:
c7ae4c82 by Andreas Tille at 2025-12-08T21:12:52+01:00
d/watch:
- version=5
- Fetch latest Git commit
- - - - -
4 changed files:
- debian/changelog
- debian/patches/byte.patch
- debian/patches/gcc15.patch
- debian/watch
Changes:
=====================================
debian/changelog
=====================================
@@ -2,6 +2,9 @@ cufflinks (2.2.1+dfsg.1-11) UNRELEASED; urgency=medium
* Build with gcc-15
Closes: #1114084
+ * d/watch:
+ - version=5
+ - Fetch latest Git commit
-- Andreas Tille <tille at debian.org> Tue, 02 Dec 2025 11:55:20 +0100
=====================================
debian/patches/byte.patch
=====================================
@@ -64,7 +64,7 @@
double acri(double lk, double t0, double t2, double pen)
--- a/src/locfit/lffuns.h
+++ b/src/locfit/lffuns.h
-@@ -158,6 +158,7 @@ void strip();
+@@ -167,6 +167,7 @@ void strip(char *z);
/* wdiag.c */
INT wdiagp(lfit *lf, design *des, double *lx, INT deg, INT ty, INT exp);
@@ -72,7 +72,7 @@
INT procvhatm(design *des, lfit *lf, INT v);
void cwdiag(vari *v);
-@@ -218,10 +219,10 @@ double rpois();
+@@ -227,10 +228,10 @@ double rpois();
void rseed(char *seed);
/* readfile.c */
=====================================
debian/patches/gcc15.patch
=====================================
@@ -5,7 +5,7 @@ Description: Build with gcc-15
--- a/src/locfit/lffuns.h
+++ b/src/locfit/lffuns.h
-@@ -4,162 +4,172 @@
+@@ -4,162 +4,181 @@
/* FILES IN THE src DIRECTORY */
/* adap.c */
@@ -48,9 +48,13 @@ Description: Build with gcc-15
-extern double igamma(), ibeta();
-extern double pf(), pchisq(), pnorm();
-extern double df(), dchisq();
-+double igamma(), ibeta();
-+double pf(), pchisq(), pnorm();
-+double df(), dchisq();
++double igamma(double x, double df);
++double ibeta(double x, double a, double b);
++double pf(double q, double df1, double df2);
++double pchisq(double q, double df);
++double pnorm(double x, double mu, double s);
++double df(double x, double df1, double df2);
++double dchisq(double x, double df);
/* ev_atree.c */
-extern void atree_start(), atree_grow(), atree_guessnv();
@@ -234,8 +238,13 @@ Description: Build with gcc-15
/* strings.c */
-extern int stm(), pmatch(), matchlf(), matchrt(), checkltor(), checkrtol();
-extern void strip();
-+int stm(), pmatch(), matchlf(), matchrt(), checkltor(), checkrtol();
-+void strip();
++int stm(char *u, char *v, int k);
++int pmatch(char *z, char **strings, int *vals, int n, int def);
++int matchlf(char *z, int i1, int i, char op, char cl);
++int matchrt(char *z, int i, int i2, char op, char cl);
++int checkltor(char *z, int i1, int i2, char *c);
++int checkrtol(char *z, int i1, int i2, char *c);
++void strip(char *z);
/* wdiag.c */
-extern INT wdiag(), procvhatm();
@@ -262,7 +271,7 @@ Description: Build with gcc-15
/* c_args.c */
#define argused(v,i) (((carg *)viptr(v,i))->used)
-@@ -167,42 +177,45 @@ extern vari *varith(), *saveresult(), *a
+@@ -167,42 +186,45 @@ extern vari *varith(), *saveresult(), *a
#define setunused(v,i) { ((carg *)viptr(v,i))->used = 0; }
#define argarg(v,i) (((carg *)viptr(v,i))->arg)
#define argvalis(v,i,z) (strcmp(argval(v,i),z)==0)
@@ -318,7 +327,7 @@ Description: Build with gcc-15
/* random.c */
-extern double rnorm(), rexp(), runif(), rpois();
-extern void rseed();
-+double rnorm(double mu, doubles);
++double rnorm(double mu, double s);
+double rexp(double lb);
+double runif();
+double rpois();
@@ -1031,7 +1040,7 @@ Description: Build with gcc-15
*/
-double rnorm(mu,s)
-double mu, s;
-+double rnorm(double mu, doubles)
++double rnorm(double mu, double s)
{
double rnormk, u, x2;
@@ -1055,3 +1064,190 @@ Description: Build with gcc-15
{
static double olambda = -1, a, mu, delta, d, c1, c2, c3, c4, c5;
double u, e, n, x, y, w, t, p, q;
+--- a/src/locfit/dist.c
++++ b/src/locfit/dist.c
+@@ -11,21 +11,18 @@
+ #define IGAMMA_LARGE 1.0e30
+ #define DOUBLE_EP 2.2204460492503131E-16
+
+-double dchisq(x, df)
+-double x, df;
++double dchisq(double x, double df)
+ { return(exp(log(x/2)*(df/2-1) - x/2 - LGAMMA(df/2) - LOG_2));
+ }
+
+-double df(x, df1, df2)
+-double x, df1, df2;
++double df(double x, double df1, double df2)
+ { double p;
+ p = exp(LGAMMA((df1+df2)/2) + df1/2*log(df1/df2) + (df1/2-1)*log(x)
+ - LGAMMA(df1/2) - LGAMMA(df2/2) - (df1+df2)/2*log(1+x*df1/df2));
+ return(p);
+ }
+
+-double ibeta(x, a, b)
+-double x, a, b;
++double ibeta(double x, double a, double b)
+ { int flipped = 0, i, k, count;
+ double I = 0, temp, pn[6], ak, bk, next, prev, factor, val;
+ if (x <= 0) return(0);
+@@ -74,8 +71,7 @@ double x, a, b;
+ * Incomplete gamma function.
+ * int_0^x u^{df-1} e^{-u} du / Gamma(df).
+ */
+-double igamma(x, df)
+-double x, df;
++double igamma(double x, double df)
+ { double factor, term, gintegral, pn[6], rn, ak, bk;
+ int i, count, k;
+ if (x <= 0.0) return(0.0);
+@@ -134,25 +130,21 @@ double x, df;
+ return(gintegral);
+ }
+
+-double pf(q, df1, df2)
+-double q, df1, df2;
++double pf(double q, double df1, double df2)
+ { return(ibeta(q*df1/(df2+q*df1), df1/2, df2/2));
+ }
+
+-double pchisq(q, df)
+-double q, df;
++double pchisq(double q, double df)
+ { return(igamma(q/2, df/2));
+ }
+
+ #ifdef RVERSION
+ extern double Rf_pnorm5();
+-double pnorm(x,mu,s)
+-double x, mu, s;
++double pnorm(double x, double mu, double s)
+ { return(Rf_pnorm5(x, mu, s, 1L, 0L));
+ }
+ #else
+-double pnorm(x,mu,s)
+-double x, mu, s;
++double pnorm(double x, double mu, double s)
+ { if(x == mu)
+ return(0.5);
+ x = (x-mu)/s;
+--- a/src/locfit/ar_funs.c
++++ b/src/locfit/ar_funs.c
+@@ -18,8 +18,7 @@ double vdnorm(double x){ return(exp(-x*x
+ double dummyf() { return(0.0); }
+ double frac(double x) { return(x-floor(x)); }
+
+-double vmin(v)
+-vari *v;
++double vmin(vari *v)
+ { int i;
+ double z, x;
+ z = vitem(v,0);
+@@ -30,8 +29,7 @@ vari *v;
+ return(z);
+ }
+
+-double vmax(v)
+-vari *v;
++double vmax(vari *v)
+ { int i;
+ double z, x;
+ z = vitem(v,0);
+@@ -42,8 +40,7 @@ vari *v;
+ return(z);
+ }
+
+-double vsum(v)
+-vari *v;
++double vsum(vari *v)
+ { int i;
+ double z;
+ z = 0.0;
+@@ -52,10 +49,7 @@ vari *v;
+ }
+ double vmean(vari *v) { return(vsum(v)/vlength(v)); }
+
+-int ar_setfunction(rt,z,len)
+-arstruct *rt;
+-int z;
+-int len;
++int ar_setfunction(arstruct *rt, int z, int len)
+ { int rargs;
+ rt->f = NULL;
+ rt->cmd = 'f';
+--- a/src/locfit/strings.c
++++ b/src/locfit/strings.c
+@@ -35,8 +35,7 @@
+ /* do the first k components of u, v match? */
+ int stm(char *u, char *v, int k) { return((strncmp(u,v,k)==0)); }
+
+-int ct_match(z1, z2)
+-char *z1, *z2;
++int ct_match(char *z1, char *z2)
+ { int ct = 0;
+ while (z1[ct]==z2[ct])
+ { if (z1[ct]=='\0') return(ct+1);
+@@ -45,9 +44,7 @@ char *z1, *z2;
+ return(ct);
+ }
+
+-int pmatch(z, strings, vals, n, def)
+-char *z, **strings;
+-int *vals, n, def;
++int pmatch(char *z, char **strings, int *vals, int n, int def)
+ { int i, ct, best, best_ct;
+ best = -1;
+ best_ct = 0;
+@@ -61,9 +58,7 @@ int *vals, n, def;
+ return(vals[best]);
+ }
+
+-int matchrt(z,i,i2,op,cl)
+-char *z, op, cl;
+-int i, i2;
++int matchrt(char *z, int i, int i2, char op, char cl)
+ { int k;
+ if (z[i] != op)
+ { ERROR(("matchrt: wrong start character"));
+@@ -82,9 +77,7 @@ int i, i2;
+ }
+ }
+
+-int matchlf(z,i1,i,op,cl)
+-char *z, op, cl;
+-int i, i1;
++int matchlf(char *z, int i1, int i, char op, char cl)
+ { int k;
+ if (z[i] != cl)
+ { ERROR(("matchlf: wrong end character"));
+@@ -103,9 +96,7 @@ int i, i1;
+ }
+ }
+
+-int checkltor(z,i1,i2,c)
+-char *z, *c;
+-int i1, i2;
++int checkltor(char *z, int i1, int i2, char *c)
+ { int i;
+ i = i1;
+ while (i<=i2)
+@@ -119,9 +110,7 @@ int i1, i2;
+ return(-1);
+ }
+
+-int checkrtol(z,i1,i2,c)
+-char *z, *c;
+-int i1, i2;
++int checkrtol(char *z, int i1, int i2, char *c)
+ { int i;
+ i = i2;
+ while (i >= i1)
+@@ -134,7 +123,6 @@ int i1, i2;
+ return(-1);
+ }
+
+-void strip(z)
+-char *z;
++void strip(char *z)
+ { do { if (*z=='_') *z=' '; } while (*(++z)!='\0');
+ }
=====================================
debian/watch
=====================================
@@ -1,4 +1,8 @@
-version=4
-opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\
-filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/cufflinks-$1\.tar\.gz/,dversionmangle=s/\+dfsg(\.\d+)?$//,repacksuffix=+dfsg,repack \
- https://github.com/cole-trapnell-lab/cufflinks/tags .*/v?(\d\S+)\.tar\.gz
+Version: 5
+
+Source: https://github.com/cole-trapnell-lab/cufflinks.git
+Matching-Pattern: HEAD
+Mode: git
+Git-Pretty: 2.2.1+git%cd.%h
+Dversion-Mangle: auto
+Repack-Suffix: +dfsg
View it on GitLab: https://salsa.debian.org/med-team/cufflinks/-/commit/c7ae4c824b037c1c633f6ecc7e97542de45b06a5
--
View it on GitLab: https://salsa.debian.org/med-team/cufflinks/-/commit/c7ae4c824b037c1c633f6ecc7e97542de45b06a5
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/20251208/375cfd96/attachment-0001.htm>
More information about the debian-med-commit
mailing list