Control: tags -1 patch upstream Control: forwarded -1 https://github.com/vgteam/vg/issues/2746
On Fri, Apr 17, 2020 at 11:12:46AM +0000, Matthias Klose wrote: > The package fails to build in a test rebuild on at least amd64 with > gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. I reported the bug upstream and I'm attaching a debdiff with the patch. I confirmed that the build works fine with gcc 10 now. Berto
diff -Nru vg-1.23.0+ds/debian/changelog vg-1.23.0+ds/debian/changelog --- vg-1.23.0+ds/debian/changelog 2020-03-30 22:33:32.000000000 +0200 +++ vg-1.23.0+ds/debian/changelog 2020-04-19 17:40:54.000000000 +0200 @@ -1,3 +1,12 @@ +vg (1.23.0+ds-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * debian/patches/include_cstdint: + - Include cstdint in order to use uint64_t. Fixes a FTBFS with gcc 10 + (Closes: #957911). + + -- Alberto Garcia <be...@igalia.com> Sun, 19 Apr 2020 17:40:54 +0200 + vg (1.23.0+ds-1) unstable; urgency=medium * New upstream version diff -Nru vg-1.23.0+ds/debian/patches/include_cstdint vg-1.23.0+ds/debian/patches/include_cstdint --- vg-1.23.0+ds/debian/patches/include_cstdint 1970-01-01 01:00:00.000000000 +0100 +++ vg-1.23.0+ds/debian/patches/include_cstdint 2020-04-19 17:39:45.000000000 +0200 @@ -0,0 +1,16 @@ +From: Alberto Garcia <be...@igalia.com> +Subject: Include cstdint in order to use uint64_t +Bug: https://github.com/vgteam/vg/issues/2746 +Bug-Debian: https://bugs.debian.org/957911 +Index: vg-1.23.0+ds/deps/structures/src/include/structures/rank_pairing_heap.hpp +=================================================================== +--- vg-1.23.0+ds.orig/deps/structures/src/include/structures/rank_pairing_heap.hpp ++++ vg-1.23.0+ds/deps/structures/src/include/structures/rank_pairing_heap.hpp +@@ -28,6 +28,7 @@ + #include <unordered_map> + #include <vector> + #include <cstdlib> ++#include <cstdint> + + namespace structures { + diff -Nru vg-1.23.0+ds/debian/patches/series vg-1.23.0+ds/debian/patches/series --- vg-1.23.0+ds/debian/patches/series 2020-02-12 10:14:10.000000000 +0100 +++ vg-1.23.0+ds/debian/patches/series 2020-04-19 17:38:16.000000000 +0200 @@ -30,3 +30,4 @@ simde crossbuild python3 +include_cstdint