[med-svn] [Git][med-team/dwgsim][master] 2 commits: Add patch to fixup FTBFS with gcc-15 (Closes: #1096554)

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Sat Sep 20 20:26:42 BST 2025



Nilesh Patra pushed to branch master at Debian Med / dwgsim


Commits:
41a8cef8 by Nilesh Patra at 2025-09-21T00:54:30+05:30
Add patch to fixup FTBFS with gcc-15 (Closes: #1096554)

- - - - -
3d57bb89 by Nilesh Patra at 2025-09-21T00:54:30+05:30
Upload to unstable

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+dwgsim (0.1.14-4) unstable; urgency=medium
+
+  * Team Upload.
+  * Add patch to fixup FTBFS with gcc-15 (Closes: #1096554)
+
+ -- Nilesh Patra <nilesh at debian.org>  Sun, 21 Sep 2025 00:52:13 +0530
+
 dwgsim (0.1.14-3) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/patches/gcc-15.patch
=====================================
@@ -0,0 +1,35 @@
+--- a/src/dwgsim.c
++++ b/src/dwgsim.c
+@@ -174,7 +174,7 @@
+   }
+ }
+ 
+-void unreachable(char *message) {
++void unreachable_exit(char *message) {
+     fprintf(stderr, "\n[dwgsim_core] Error: %s\n", message);
+     exit(1);
+ }
+@@ -700,7 +700,7 @@
+                       case 0: strand[0] = (drand48() < 0.5) ? 1 : 0; break;
+                       case 1: strand[0] = 0; break;
+                       case 2: strand[0] = 1; break;
+-                      default: unreachable("read strand was not between 0-2");
++                      default: unreachable_exit("read strand was not between 0-2");
+                   }
+ 
+                   // set read two's strand
+@@ -710,12 +710,12 @@
+                               case ILLUMINA: strand[1] = 1 - strand[0]; break; // paired end for Illumina (opposite strand)
+                               case SOLID: 
+                               case IONTORRENT: strand[1] = strand[0]; break; // mate pair for SOLiD and IonTorrent (same strand)
+-                              default: unreachable("data type was not between 0-2");
++                              default: unreachable_exit("data type was not between 0-2");
+                           }
+                           break;
+                       case 1: strand[1] = strand[0]; break; // mate pair (same strand)
+                       case 2: strand[1] = 1 - strand[0]; break; // paired end (opposite strand)
+-                      default: unreachable("strandedness was not between 0-2");
++                      default: unreachable_exit("strandedness was not between 0-2");
+                   }
+ 
+                   // generate the reads in base space


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@
 2to3.patch
 remove-privacy-breach-links.patch
 copy-samtools-test-properly.patch
+gcc-15.patch



View it on GitLab: https://salsa.debian.org/med-team/dwgsim/-/compare/6268ffdfa07b19a3d389059e678e8614634f4dfd...3d57bb897158130f7f4613f06b112cf1d9ebb703

-- 
View it on GitLab: https://salsa.debian.org/med-team/dwgsim/-/compare/6268ffdfa07b19a3d389059e678e8614634f4dfd...3d57bb897158130f7f4613f06b112cf1d9ebb703
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/20250920/b1943b2c/attachment-0001.htm>


More information about the debian-med-commit mailing list