diff -Nru libitpp-4.3.1/debian/changelog libitpp-4.3.1/debian/changelog --- libitpp-4.3.1/debian/changelog 2021-01-03 11:31:33.000000000 +0000 +++ libitpp-4.3.1/debian/changelog 2021-08-17 10:59:15.000000000 +0000 @@ -1,3 +1,10 @@ +libitpp (4.3.1-10) unstable; urgency=medium + + * Acknowledge NMU. Thank you Holger Levsen. + * Add gpp11_fix.diff to handle FTBFS with g++-11. (Closes: #984113) + + -- Kumar Appaiah Tue, 17 Aug 2021 16:29:15 +0530 + libitpp (4.3.1-9.1) unstable; urgency=medium * Non maintainer upload by the Reproducible Builds team. diff -Nru libitpp-4.3.1/debian/compat libitpp-4.3.1/debian/compat --- libitpp-4.3.1/debian/compat 2016-11-11 15:14:24.000000000 +0000 +++ libitpp-4.3.1/debian/compat 2021-08-17 10:59:15.000000000 +0000 @@ -1 +1 @@ -9 +13 diff -Nru libitpp-4.3.1/debian/patches/gpp11_fix.diff libitpp-4.3.1/debian/patches/gpp11_fix.diff --- libitpp-4.3.1/debian/patches/gpp11_fix.diff 1970-01-01 00:00:00.000000000 +0000 +++ libitpp-4.3.1/debian/patches/gpp11_fix.diff 2021-08-17 10:58:56.000000000 +0000 @@ -0,0 +1,44 @@ +Description: Explicit itpp::any call to handle g++-11 FTBFS +Forwarded: not-needed +Author: Kumar Appaiah + +Index: libitpp/gtests/vec_test.cpp +=================================================================== +--- libitpp.orig/gtests/vec_test.cpp ++++ libitpp/gtests/vec_test.cpp +@@ -276,13 +276,13 @@ void common_operators(const bvec &a, con + + a2 = a; + a2.zeros(); +- ASSERT_FALSE(any(a2)); ++ ASSERT_FALSE(itpp::any(a2)); + a2 = a; + a2.ones(); + ASSERT_TRUE(all(a2)); + a2 = a; + a2 = c; +- ASSERT_FALSE(any(a2)); ++ ASSERT_FALSE(itpp::any(a2)); + a2 = a; + a2 = b(0, 4); + ref = "0 0 0 1 1"; +@@ -1135,7 +1135,7 @@ TEST(Vec, All) + cvec cv2 = randn_c(10); + complex cx = randn_c(); + common_operators(cv1, cv2, cx); +- ASSERT_FALSE(any(cv1 == cx)); ++ ASSERT_FALSE(itpp::any(cv1 == cx)); + ASSERT_TRUE(all(cv1 != cx)); + + +@@ -1183,8 +1183,8 @@ TEST(Vec, All) + bvec b2 = "0 0 0 0 0 0 0 0 0 0"; + bvec b3 = "1 1 1 1 1 1 1 1 1 1 1 1 1"; + bvec b4 = "1 1 1 1 1 1 1 1 1 1 1 0 1"; +- ASSERT_TRUE(any(b1)); +- ASSERT_FALSE(any(b2)); ++ ASSERT_TRUE(itpp::any(b1)); ++ ASSERT_FALSE(itpp::any(b2)); + ASSERT_TRUE(all(b3)); + ASSERT_FALSE(all(b4)); + } diff -Nru libitpp-4.3.1/debian/patches/series libitpp-4.3.1/debian/patches/series --- libitpp-4.3.1/debian/patches/series 2018-06-21 16:06:18.000000000 +0000 +++ libitpp-4.3.1/debian/patches/series 2021-08-17 10:59:15.000000000 +0000 @@ -3,3 +3,4 @@ itpp-pc-fix.diff delete-sflogo.diff honour-SOURCE_DATE_EPOCH.diff +gpp11_fix.diff