[med-svn] [Git][med-team/pybigwig][master] 2 commits: gcc-14.patch: fix incompatible pointer types.
Étienne Mollier (@emollier)
gitlab at salsa.debian.org
Mon Jul 22 21:35:25 BST 2024
É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 <emollier at debian.org> 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 <emollier at debian.org>
+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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240722/0b94bd97/attachment-0001.htm>
More information about the debian-med-commit
mailing list