Package: srt Version: 1.4.2-1.4 Followup-For: Bug #984352 User: [email protected] Usertags: origin-ubuntu jammy ubuntu-patch Control: tags -1 patch
Hi Federico, Please find attached a patch which fixes this build failure. I have uploaded this fix to Ubuntu, to unblock the openssl3 transition there. Cheers, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer https://www.debian.org/ [email protected] [email protected]
diff -Nru srt-1.4.2/debian/patches/gcc-11.patch srt-1.4.2/debian/patches/gcc-11.patch --- srt-1.4.2/debian/patches/gcc-11.patch 1969-12-31 16:00:00.000000000 -0800 +++ srt-1.4.2/debian/patches/gcc-11.patch 2021-12-08 14:09:15.000000000 -0800 @@ -0,0 +1,18 @@ +Description: compatibility with gcc 11 +Author: Steve Langasek <[email protected]> +Bug-Debian: https://bugs.debian.org/984352 +Last-Update: 2021-12-08 +Forwarded: no + +Index: srt-1.4.2/srtcore/sync.h +=================================================================== +--- srt-1.4.2.orig/srtcore/sync.h ++++ srt-1.4.2/srtcore/sync.h +@@ -15,6 +15,7 @@ + //#define ENABLE_CXX17 + + #include <cstdlib> ++#include <limits> + #ifdef ENABLE_STDCXX_SYNC + #include <chrono> + #include <thread> diff -Nru srt-1.4.2/debian/patches/series srt-1.4.2/debian/patches/series --- srt-1.4.2/debian/patches/series 2021-07-27 02:40:54.000000000 -0700 +++ srt-1.4.2/debian/patches/series 2021-12-08 14:08:17.000000000 -0800 @@ -1,3 +1,4 @@ 001-multiarch-rpath.patch 1741.patch ftbfs_kfreebsd.patch +gcc-11.patch

