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


Commits:
0068d309 by Étienne Mollier at 2024-07-22T22:32:44+02:00
gcc-14.patch: fix incompatible pointer types.

Closes: #1075407

- - - - -
871ca16b by Étienne Mollier at 2024-07-22T22:34:48+02:00
ready to upload to unstable.

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+pybigwig (0.3.22+dfsg-2) unstable; urgency=medium
+
+  * Team upload.
+  * gcc-14.patch: fix incompatible pointer types. (Closes: #1075407)
+
+ -- Étienne Mollier <[email protected]>  Mon, 22 Jul 2024 22:34:17 +0200
+
 pybigwig (0.3.22+dfsg-1) unstable; urgency=medium
 
   * New upstream release


=====================================
debian/patches/gcc-14.patch
=====================================
@@ -0,0 +1,30 @@
+Description: cast string arrays to constant pointers.
+ This fixes build failure with gcc 14, since incompatible pointer types
+ are now fatal.
+
+Author: Étienne Mollier <[email protected]>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075407
+Forwarded: 
+Last-Update: 2024-07-22
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- pybigwig.orig/pyBigWig.c
++++ pybigwig/pyBigWig.c
+@@ -894,7 +894,7 @@
+     }
+ 
+     //Create the chromosome list
+-    bw->cl = bwCreateChromList(chroms, lengths, n);
++    bw->cl = bwCreateChromList((const char * const*)chroms, lengths, n);
+     if(!bw->cl) {
+         PyErr_SetString(PyExc_RuntimeError, "Received an error in 
bwCreateChromList");
+         goto error;
+@@ -1248,7 +1248,7 @@
+         if(PyErr_Occurred()) goto error;
+     }
+ 
+-    rv = bwAddIntervals(bw, cchroms, ustarts, uends, fvalues, n);
++    rv = bwAddIntervals(bw, (const char * const*)cchroms, ustarts, uends, 
fvalues, n);
+     if(!rv) {
+         self->lastTid = bwGetTid(bw, cchroms[n-1]);
+         self->lastStart = uends[n-1];


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 prepareForExternalLibBigWig.patch
+gcc-14.patch



View it on GitLab: 
https://salsa.debian.org/med-team/pybigwig/-/compare/2b2eb16e6a4d35181c073976e3ac5d6852b9ae3d...871ca16b3dcd372a5caa181b0c27636bf83b71ed

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://salsa.debian.org/med-team/pybigwig/-/compare/2b2eb16e6a4d35181c073976e3ac5d6852b9ae3d...871ca16b3dcd372a5caa181b0c27636bf83b71ed
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to