Dear maintainer, I've prepared an NMU for liblastfm (versioned as 1.0.9-1.2) and uploaded it to DELAYED/7. Please feel free to tell me if I should delay it longer.
Cheers, Flo
diff -Nru liblastfm-1.0.9/debian/changelog liblastfm-1.0.9/debian/changelog --- liblastfm-1.0.9/debian/changelog 2019-08-23 23:37:23.000000000 +0200 +++ liblastfm-1.0.9/debian/changelog 2022-02-13 08:04:58.000000000 +0100 @@ -1,3 +1,11 @@ +liblastfm (1.0.9-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS with GCC-11 by removing dynamic exception specifications, + patch taken from upstream PR. (Closes: #984114) + + -- Florian Ernst <flor...@debian.org> Sun, 13 Feb 2022 08:04:58 +0100 + liblastfm (1.0.9-1.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru liblastfm-1.0.9/debian/patches/fix_gcc11_ftbfs.patch liblastfm-1.0.9/debian/patches/fix_gcc11_ftbfs.patch --- liblastfm-1.0.9/debian/patches/fix_gcc11_ftbfs.patch 1970-01-01 01:00:00.000000000 +0100 +++ liblastfm-1.0.9/debian/patches/fix_gcc11_ftbfs.patch 2022-02-13 08:03:57.000000000 +0100 @@ -0,0 +1,49 @@ +Description: Fix GCC-11 build issue +Author: Xeonacid +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984114 +Bug-Upstream: https://github.com/lastfm/liblastfm/issues/39 +Origin: upstream, https://github.com/lastfm/liblastfm/pull/41/commits/d51ad3e759331d7d79c6675c5d22541280bf9a70 +Index: liblastfm-1.0.9/src/fingerprint/Fingerprint.cpp +=================================================================== +--- liblastfm-1.0.9.orig/src/fingerprint/Fingerprint.cpp ++++ liblastfm-1.0.9/src/fingerprint/Fingerprint.cpp +@@ -94,7 +94,7 @@ lastfm::Fingerprint::data() const + + + void +-lastfm::Fingerprint::generate( FingerprintableSource* ms ) throw( Error ) ++lastfm::Fingerprint::generate( FingerprintableSource* ms ) + { + //TODO throw if we can't get required metadata from the track object + +@@ -306,7 +306,7 @@ lastfm::Fingerprint::submit() const + + + void +-lastfm::Fingerprint::decode( QNetworkReply* reply, bool* complete_fingerprint_requested ) throw( Error ) ++lastfm::Fingerprint::decode( QNetworkReply* reply, bool* complete_fingerprint_requested ) + { + // The response data will consist of a number and a string. + // The number is the fpid and the string is either FOUND or NEW +Index: liblastfm-1.0.9/src/fingerprint/Fingerprint.h +=================================================================== +--- liblastfm-1.0.9.orig/src/fingerprint/Fingerprint.h ++++ liblastfm-1.0.9/src/fingerprint/Fingerprint.h +@@ -71,7 +71,7 @@ namespace lastfm + }; + + /** This is CPU intensive, do it in a thread in your GUI application */ +- void generate( FingerprintableSource* ) throw( Error ); ++ void generate( FingerprintableSource* ); + + /** Submits the fingerprint data to Last.fm in order to get a FingerprintId + * back. You need to wait for the QNetworkReply to finish before you can +@@ -82,7 +82,7 @@ namespace lastfm + * will be valid. Otherwise we will throw. You always get a valid id + * or a throw. + */ +- void decode( QNetworkReply*, bool* lastfm_needs_a_complete_fingerprint = 0 ) throw( Error ); ++ void decode( QNetworkReply*, bool* lastfm_needs_a_complete_fingerprint = 0 ); + }; + + diff -Nru liblastfm-1.0.9/debian/patches/series liblastfm-1.0.9/debian/patches/series --- liblastfm-1.0.9/debian/patches/series 2015-11-20 16:42:23.000000000 +0100 +++ liblastfm-1.0.9/debian/patches/series 2022-01-14 22:27:26.000000000 +0100 @@ -1,2 +1,3 @@ change_target-name.patch strip_README.patch +fix_gcc11_ftbfs.patch
signature.asc
Description: PGP signature