[med-svn] [Git][med-team/assembly-stats][master] 3 commits: Add patch to fix FTBFS with gcc-11 (Closes: #997122)

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Sat Oct 30 21:07:26 BST 2021



Nilesh Patra pushed to branch master at Debian Med / assembly-stats


Commits:
f17fb8b6 by Nilesh Patra at 2021-10-31T01:33:19+05:30
Add patch to fix FTBFS with gcc-11 (Closes: #997122)

- - - - -
c5e1d684 by Nilesh Patra at 2021-10-31T01:33:19+05:30
Update d/u/metadata

- - - - -
b6b9a1c8 by Nilesh Patra at 2021-10-31T01:33:19+05:30
Upload to unstable

- - - - -


5 changed files:

- debian/changelog
- debian/patches/add-debug-flag.patch
- + debian/patches/gcc11.patch
- debian/patches/series
- debian/upstream/metadata


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+assembly-stats (1.0.1+ds-5) unstable; urgency=medium
+
+  * Team Upload.
+  * Add patch to fix FTBFS with gcc-11 (Closes: #997122)
+  * Update d/u/metadata
+
+ -- Nilesh Patra <nilesh at debian.org>  Sun, 31 Oct 2021 01:26:55 +0530
+
 assembly-stats (1.0.1+ds-4) unstable; urgency=medium
 
   [ Steffen Moeller ]


=====================================
debian/patches/add-debug-flag.patch
=====================================
@@ -1,3 +1,7 @@
+Description: Do not take address of rvalue, rather simply append value into ostringstream and convert to string with str()
+Author: Nilesh Patra <nilesh at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997122
+Last-Update: 2021-10-31
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
 @@ -1,7 +1,7 @@


=====================================
debian/patches/gcc11.patch
=====================================
@@ -0,0 +1,26 @@
+--- a/fastq_unittest.cpp
++++ b/fastq_unittest.cpp
+@@ -50,7 +50,9 @@
+     while (fq.fillFromFile(inStream))
+     {
+         counter++;
+-        string expectedName = static_cast<ostringstream*>( &(ostringstream() << counter) )->str();
++        ostringstream ret_ostream;
++        ret_ostream << counter;
++        string expectedName(ret_ostream.str());
+         EXPECT_EQ(0, fq.name().compare(expectedName));
+         EXPECT_EQ(0, fq.seq().compare("ACGT"));
+     }
+--- a/fasta_unittest.cpp
++++ b/fasta_unittest.cpp
+@@ -94,7 +94,9 @@
+     while (fa.fillFromFile(inStream))
+     {
+         counter++;
+-        string expectedName = static_cast<ostringstream*>( &(ostringstream() << counter) )->str();
++        ostringstream ret_ostream;
++        ret_ostream << counter;
++        string expectedName(ret_ostream.str());
+         EXPECT_EQ(0, fa.name().compare(expectedName));
+         EXPECT_EQ(0, fa.seq().compare("ACGT"));
+     }


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 use_debian_packages_gtest.patch
 do-not-test-forcefully.patch
 add-debug-flag.patch
+gcc11.patch


=====================================
debian/upstream/metadata
=====================================
@@ -1,5 +1,10 @@
+---
+Archive: GitHub
 Bug-Database: https://github.com/sanger-pathogens/assembly-stats/issues
 Bug-Submit: https://github.com/sanger-pathogens/assembly-stats/issues/new
+Changelog: https://github.com/sanger-pathogens/assembly-stats/tags
+Repository: https://github.com/sanger-pathogens/assembly-stats.git
+Repository-Browse: https://github.com/sanger-pathogens/assembly-stats
 Registry:
   - Name: conda:bioconda
     Entry: assembly-stats



View it on GitLab: https://salsa.debian.org/med-team/assembly-stats/-/compare/a90ffd4bbed0d7f59aec5a0b5f76c15c315d12c7...b6b9a1c8a3620afa298157f31bde823f6d7b0c3b

-- 
View it on GitLab: https://salsa.debian.org/med-team/assembly-stats/-/compare/a90ffd4bbed0d7f59aec5a0b5f76c15c315d12c7...b6b9a1c8a3620afa298157f31bde823f6d7b0c3b
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/20211030/335d5e98/attachment-0001.htm>


More information about the debian-med-commit mailing list