diff -Nru log4cpp-1.1.3/debian/changelog log4cpp-1.1.3/debian/changelog --- log4cpp-1.1.3/debian/changelog 2018-05-12 21:29:11.000000000 +0000 +++ log4cpp-1.1.3/debian/changelog 2020-03-23 03:44:52.000000000 +0000 @@ -1,3 +1,16 @@ +log4cpp (1.1.3-1ubuntu1) focal; urgency=medium + + * d/p/glibc_2.31.diff: Use clock_settime() instead of removed stime() to fix + FTBFS with glibc >= 2.31. + + -- Logan Rosen Sun, 22 Mar 2020 23:44:52 -0400 + +log4cpp (1.1.3-1build1) focal; urgency=medium + + * No-change rebuild for libgcc-s1 package name change. + + -- Matthias Klose Sun, 22 Mar 2020 16:48:19 +0100 + log4cpp (1.1.3-1) unstable; urgency=medium * New upstream release diff -Nru log4cpp-1.1.3/debian/control log4cpp-1.1.3/debian/control --- log4cpp-1.1.3/debian/control 2018-05-12 21:29:11.000000000 +0000 +++ log4cpp-1.1.3/debian/control 2020-03-23 03:44:52.000000000 +0000 @@ -1,6 +1,7 @@ Source: log4cpp Priority: optional -Maintainer: A. Maitland Bottoms +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: A. Maitland Bottoms Build-Depends: automake, debhelper (>= 9), dh-autoreconf, libtool Standards-Version: 4.1.4 Section: libs diff -Nru log4cpp-1.1.3/debian/patches/06_glibc-2.31.diff log4cpp-1.1.3/debian/patches/06_glibc-2.31.diff --- log4cpp-1.1.3/debian/patches/06_glibc-2.31.diff 1970-01-01 00:00:00.000000000 +0000 +++ log4cpp-1.1.3/debian/patches/06_glibc-2.31.diff 2020-03-23 03:44:52.000000000 +0000 @@ -0,0 +1,13 @@ +--- a/tests/testDailyRollingFileAppender.cpp ++++ b/tests/testDailyRollingFileAppender.cpp +@@ -232,7 +232,9 @@ + + now += seconds; + +- if (stime(&now) == -1) { ++ struct timespec now_timespec = {}; ++ now_timespec.tv_sec = now; ++ if (clock_settime(CLOCK_REALTIME, &now_timespec) == -1) { + std::cerr << "Can not set date. Need admin privileges?" << std::endl; + return -1; + } diff -Nru log4cpp-1.1.3/debian/patches/series log4cpp-1.1.3/debian/patches/series --- log4cpp-1.1.3/debian/patches/series 2018-05-12 21:29:11.000000000 +0000 +++ log4cpp-1.1.3/debian/patches/series 2020-03-23 03:37:23.000000000 +0000 @@ -3,3 +3,4 @@ 04_gcc43.diff 05_remove_log4cpp_cflags_from_pkgconfig_file.diff fix-abs-call +06_glibc-2.31.diff