[vlc] Fix patch to build with GCC 11.0.0
by Robert-André Mauchin
commit b819f9d289f72a36341e5bb6bdcdaf4986ae5979
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Mon Dec 14 20:08:39 2020 +0100
Fix patch to build with GCC 11.0.0
Signed-off-by: Robert-André Mauchin <zebob.m(a)gmail.com>
...-missing-include-limits-to-file-using-std.patch | 76 ++++++++++++++++++++++
0001-Add-missing-include-limits-to-modules.patch | 49 --------------
vlc.spec | 2 +-
3 files changed, 77 insertions(+), 50 deletions(-)
---
diff --git a/0001-Add-missing-include-limits-to-file-using-std.patch b/0001-Add-missing-include-limits-to-file-using-std.patch
new file mode 100644
index 0000000..1d4f5f8
--- /dev/null
+++ b/0001-Add-missing-include-limits-to-file-using-std.patch
@@ -0,0 +1,76 @@
+From 804aacea64e2b83f7434efd3c11dbca2eb7fa80b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= <zebob.m(a)gmail.com>
+Date: Mon, 14 Dec 2020 12:54:39 +0100
+Subject: [PATCH] Add missing include <limits> to file using std::
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+numeric_limits<uint64_t>::max()
+
+Compilation would fail with:
+
+> error: 'numeric_limits' is not a member of 'std'
+
+without this include because of some hardening build
+flags mandated on Fedora Linux, with GCC 11.
+
+Fix: #25325
+
+Signed-off-by: Robert-André Mauchin <zebob.m(a)gmail.com>
+---
+ modules/demux/adaptive/playlist/Inheritables.cpp | 1 +
+ modules/demux/adaptive/playlist/SegmentInformation.cpp | 1 +
+ modules/demux/adaptive/playlist/SegmentTimeline.cpp | 1 +
+ modules/demux/hls/playlist/Parser.cpp | 1 +
+ modules/demux/mkv/matroska_segment.cpp | 1 +
+ modules/demux/mkv/mkv.cpp | 1 +
+ 6 files changed, 6 insertions(+)
+
+diff -up vlc-3.0-a66f141b17e792bcc298c83496749ec93265ff14/modules/demux/adaptive/playlist/SegmentInformation.cpp.orig vlc-3.0-a66f141b17e792bcc298c83496749ec93265ff14/modules/demux/adaptive/playlist/SegmentInformation.cpp
+--- vlc-3.0-a66f141b17e792bcc298c83496749ec93265ff14/modules/demux/adaptive/playlist/SegmentInformation.cpp.orig 2020-10-27 09:16:09.000000000 +0100
++++ vlc-3.0-a66f141b17e792bcc298c83496749ec93265ff14/modules/demux/adaptive/playlist/SegmentInformation.cpp 2020-12-14 19:34:41.600005319 +0100
+@@ -34,6 +34,7 @@
+
+ #include <algorithm>
+ #include <cassert>
++#include <limits>
+
+ using namespace adaptive::playlist;
+
+diff -up vlc-3.0-a66f141b17e792bcc298c83496749ec93265ff14/modules/demux/hls/playlist/Parser.cpp.orig vlc-3.0-a66f141b17e792bcc298c83496749ec93265ff14/modules/demux/hls/playlist/Parser.cpp
+--- vlc-3.0-a66f141b17e792bcc298c83496749ec93265ff14/modules/demux/hls/playlist/Parser.cpp.orig 2020-10-27 09:16:09.000000000 +0100
++++ vlc-3.0-a66f141b17e792bcc298c83496749ec93265ff14/modules/demux/hls/playlist/Parser.cpp 2020-12-14 19:34:41.600005319 +0100
+@@ -42,6 +42,7 @@
+ #include <map>
+ #include <cctype>
+ #include <algorithm>
++#include <limits>
+
+ using namespace adaptive;
+ using namespace adaptive::playlist;
+diff -up vlc-3.0-a66f141b17e792bcc298c83496749ec93265ff14/modules/demux/mkv/matroska_segment.cpp.orig vlc-3.0-a66f141b17e792bcc298c83496749ec93265ff14/modules/demux/mkv/matroska_segment.cpp
+--- vlc-3.0-a66f141b17e792bcc298c83496749ec93265ff14/modules/demux/mkv/matroska_segment.cpp.orig 2020-10-27 09:16:09.000000000 +0100
++++ vlc-3.0-a66f141b17e792bcc298c83496749ec93265ff14/modules/demux/mkv/matroska_segment.cpp 2020-12-14 19:34:41.601005298 +0100
+@@ -31,6 +31,7 @@
+
+ #include <new>
+ #include <iterator>
++#include <limits>
+
+ matroska_segment_c::matroska_segment_c( demux_sys_t & demuxer, EbmlStream & estream, KaxSegment *p_seg )
+ :segment(p_seg)
+diff -up vlc-3.0-a66f141b17e792bcc298c83496749ec93265ff14/modules/demux/mkv/mkv.cpp.orig vlc-3.0-a66f141b17e792bcc298c83496749ec93265ff14/modules/demux/mkv/mkv.cpp
+--- vlc-3.0-a66f141b17e792bcc298c83496749ec93265ff14/modules/demux/mkv/mkv.cpp.orig 2020-10-27 09:16:09.000000000 +0100
++++ vlc-3.0-a66f141b17e792bcc298c83496749ec93265ff14/modules/demux/mkv/mkv.cpp 2020-12-14 19:34:41.601005298 +0100
+@@ -34,6 +34,7 @@
+ #include "stream_io_callback.hpp"
+
+ #include <new>
++#include <limits>
+
+ extern "C" {
+ #include "../av1_unpack.h"
+--
+2.29.2
+
diff --git a/vlc.spec b/vlc.spec
index 18d0330..c511876 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -77,7 +77,7 @@ Patch10: recent_srt_fix.patch
# Add a missing include that would make the build fail:
# https://trac.videolan.org/vlc/ticket/25325
# Drop next release
-Patch11: 0001-Add-missing-include-limits-to-modules.patch
+Patch11: 0001-Add-missing-include-limits-to-file-using-std.patch
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
3 years, 10 months
[vlc] Fix patch to build with GCC 11.0.0
by Robert-André Mauchin
commit 9fb2fdf0418a221d54566ba05ebe5214fece4ba7
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Mon Dec 14 20:02:40 2020 +0100
Fix patch to build with GCC 11.0.0
Signed-off-by: Robert-André Mauchin <zebob.m(a)gmail.com>
0001-Add-missing-include-limits-to-modules.patch | 24 +++++++++++++++++-------
1 file changed, 17 insertions(+), 7 deletions(-)
---
diff --git a/0001-Add-missing-include-limits-to-modules.patch b/0001-Add-missing-include-limits-to-modules.patch
index 67a63ac..09cec85 100644
--- a/0001-Add-missing-include-limits-to-modules.patch
+++ b/0001-Add-missing-include-limits-to-modules.patch
@@ -1,6 +1,6 @@
-From 8783290f260292ecba5aa2e3d63cad614fe9ed81 Mon Sep 17 00:00:00 2001
+From 8e8afa27865e3781c0add1f26bc330d4d6cb92d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= <zebob.m(a)gmail.com>
-Date: Mon, 14 Dec 2020 03:23:52 +0100
+Date: Mon, 14 Dec 2020 12:54:39 +0100
Subject: [PATCH] Add missing include <limits> to modules/
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
@@ -12,15 +12,13 @@ Compilation would fail with:
> error: 'numeric_limits' is not a member of 'std'
-without this include because of some hardening build
-flags mandated on Fedora Linux.
-
-Fix: #25325
+without this include with GCC 11.0.0
Signed-off-by: Robert-André Mauchin <zebob.m(a)gmail.com>
---
modules/demux/adaptive/playlist/SegmentInformation.cpp | 1 +
- 1 file changed, 1 insertion(+)
+ modules/demux/hls/playlist/Parser.cpp | 1 +
+ 2 files changed, 2 insertions(+)
diff --git a/modules/demux/adaptive/playlist/SegmentInformation.cpp b/modules/demux/adaptive/playlist/SegmentInformation.cpp
index c4fe204783..aacc1d7bc1 100644
@@ -34,6 +32,18 @@ index c4fe204783..aacc1d7bc1 100644
using namespace adaptive::playlist;
+diff --git a/modules/demux/hls/playlist/Parser.cpp b/modules/demux/hls/playlist/Parser.cpp
+index e2e1aaefe4..5dc889d78f 100644
+--- a/modules/demux/hls/playlist/Parser.cpp
++++ b/modules/demux/hls/playlist/Parser.cpp
+@@ -42,6 +42,7 @@
+ #include <map>
+ #include <cctype>
+ #include <algorithm>
++#include <limits>
+
+ using namespace adaptive;
+ using namespace adaptive::playlist;
--
2.29.2
3 years, 10 months
[cinelerra-gg] Actually do the dav1d rebuild
by Leigh Scott
commit 5eb4711dbcb294484c66554e5ca52002e2fc7fec
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Dec 14 17:01:41 2020 +0000
Actually do the dav1d rebuild
cinelerra-gg.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/cinelerra-gg.spec b/cinelerra-gg.spec
index 99039f6..cff5e4d 100644
--- a/cinelerra-gg.spec
+++ b/cinelerra-gg.spec
@@ -3,7 +3,7 @@
Name: cinelerra-gg
Version: 5.1%{?tag_version:.%{tag_version}}
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A non linear video editor and effects processor
# The Cinelerra-GG codebase is licensed GPLv2+
# The GREYcstoration plugin is licensed CeCILL v2.0
@@ -224,6 +224,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
%changelog
+* Mon Dec 14 2020 Leigh Scott <leigh123linux(a)gmail.com> - 5.1.2020.10-2
+- Actually do the dav1d rebuild
+
* Sat Dec 05 2020 FeRD (Frank Dana) <ferdnyc(a)gmail.com> - 5.1.2020.10-1
- New upstream monthly release
- Add GCC 11 patch for internal OpenEXR
3 years, 10 months
[HandBrake] Actually do the dav1d rebuild
by Leigh Scott
commit 6065bb2036f98a3accee9f9e5092a35435edcdcd
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Dec 14 16:59:38 2020 +0000
Actually do the dav1d rebuild
HandBrake.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/HandBrake.spec b/HandBrake.spec
index c57fabf..655fda0 100644
--- a/HandBrake.spec
+++ b/HandBrake.spec
@@ -18,7 +18,7 @@
Name: HandBrake
Version: 1.3.3
-Release: 7%{!?tag:.%{date}git%{shortcommit0}}%{?dist}
+Release: 8%{!?tag:.%{date}git%{shortcommit0}}%{?dist}
Summary: An open-source multiplatform video transcoder
License: GPLv2+
URL: http://handbrake.fr/
@@ -259,6 +259,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_bindir}/HandBrakeCLI
%changelog
+* Mon Dec 14 2020 Leigh Scott <leigh123linux(a)gmail.com> - 1.3.3-8
+- Actually do the dav1d rebuild
+
* Mon Dec 14 2020 Robert-André Mauchin <zebob.m(a)gmail.com> - 1.3.3-7
- Rebuild for dav1d SONAME bump
3 years, 10 months
[xine-lib] Actually do the dav1d rebuild
by Leigh Scott
commit 387c6b0b5aa04ddaff059c5b5cce8e02120f1bf0
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Dec 14 16:58:44 2020 +0000
Actually do the dav1d rebuild
xine-lib.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/xine-lib.spec b/xine-lib.spec
index 743aa85..7e4e80c 100644
--- a/xine-lib.spec
+++ b/xine-lib.spec
@@ -24,7 +24,7 @@
Summary: A multimedia engine
Name: xine-lib
Version: 1.2.11
-Release: 3%{?snapshot:.%{date}hg%{revision}}%{?dist}
+Release: 4%{?snapshot:.%{date}hg%{revision}}%{?dist}
License: GPLv2+
URL: http://www.xine-project.org/
%if ! 0%{?snapshot}
@@ -323,6 +323,9 @@ mkdir -p %{buildroot}%{codecdir}
%changelog
+* Mon Dec 14 2020 Leigh Scott <leigh123linux(a)gmail.com> - 1.2.11-4
+- Actually do the dav1d rebuild
+
* Mon Dec 14 2020 Robert-André Mauchin <zebob.m(a)gmail.com> 1.2.11-3
- Rebuild for dav1d SONAME bump
3 years, 10 months
[libheif] Actually do the dav1d rebuild
by Leigh Scott
commit 3121bbd9d912f98b5040a4d3d2892c0f3d350050
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Dec 14 16:49:10 2020 +0000
Actually do the dav1d rebuild
libheif.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/libheif.spec b/libheif.spec
index 7cd8338..5bf4bb4 100644
--- a/libheif.spec
+++ b/libheif.spec
@@ -1,6 +1,6 @@
Name: libheif
Version: 1.9.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: HEIF file format decoder and encoder
License: LGPLv3+ and MIT
@@ -86,6 +86,9 @@ find %buildroot -name '*.la' -or -name '*.a' | xargs rm -f
%changelog
+* Mon Dec 14 2020 Leigh Scott <leigh123linux(a)gmail.com> - 1.9.1-3
+- Actually do the dav1d rebuild
+
* Mon Dec 14 2020 Robert-André Mauchin <zebob.m(a)gmail.com> - 1.9.1-2
- Rebuild for dav1d SONAME bump
3 years, 10 months
[ffmpeg] Actually do the dav1d rebuild
by Leigh Scott
commit 2c0a390bb7add7d381862e25a161343a4734c9a2
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Dec 14 15:23:00 2020 +0000
Actually do the dav1d rebuild
ffmpeg.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index 62a34cf..ad8aaa6 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -102,7 +102,7 @@ ExclusiveArch: armv7hnl
Summary: Digital VCR and streaming server
Name: ffmpeg%{?flavor}
Version: 4.3.1
-Release: 13%{?date}%{?date:git}%{?rel}%{?dist}
+Release: 14%{?date}%{?date:git}%{?rel}%{?dist}
License: %{ffmpeg_license}
URL: http://ffmpeg.org/
%if 0%{?date}
@@ -466,6 +466,9 @@ install -pm755 tools/qt-faststart %{buildroot}%{_bindir}
%changelog
+* Mon Dec 14 2020 Leigh Scott <leigh123linux(a)gmail.com> - 4.3.1-14
+- Actually do the dav1d rebuild
+
* Mon Dec 14 2020 Robert-André Mauchin <zebob.m(a)gmail.com> - 4.3.1-13
- Rebuild for dav1d SONAME bump
3 years, 10 months
[vlc] Add patch to build with GCC 11.0.0
by Robert-André Mauchin
commit e9cfb13edeb22163d29b104ff97296c19b77f4c4
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Mon Dec 14 12:16:50 2020 +0100
Add patch to build with GCC 11.0.0
Signed-off-by: Robert-André Mauchin <zebob.m(a)gmail.com>
0001-Add-missing-include-limits-to-modules.patch | 39 ++++++++++++++++++++++++
vlc.spec | 6 ++++
2 files changed, 45 insertions(+)
---
diff --git a/0001-Add-missing-include-limits-to-modules.patch b/0001-Add-missing-include-limits-to-modules.patch
new file mode 100644
index 0000000..67a63ac
--- /dev/null
+++ b/0001-Add-missing-include-limits-to-modules.patch
@@ -0,0 +1,39 @@
+From 8783290f260292ecba5aa2e3d63cad614fe9ed81 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= <zebob.m(a)gmail.com>
+Date: Mon, 14 Dec 2020 03:23:52 +0100
+Subject: [PATCH] Add missing include <limits> to modules/
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+demux/adaptive/playlist/SegmentInformation.cpp
+
+Compilation would fail with:
+
+> error: 'numeric_limits' is not a member of 'std'
+
+without this include because of some hardening build
+flags mandated on Fedora Linux.
+
+Fix: #25325
+
+Signed-off-by: Robert-André Mauchin <zebob.m(a)gmail.com>
+---
+ modules/demux/adaptive/playlist/SegmentInformation.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/modules/demux/adaptive/playlist/SegmentInformation.cpp b/modules/demux/adaptive/playlist/SegmentInformation.cpp
+index c4fe204783..aacc1d7bc1 100644
+--- a/modules/demux/adaptive/playlist/SegmentInformation.cpp
++++ b/modules/demux/adaptive/playlist/SegmentInformation.cpp
+@@ -34,6 +34,7 @@
+
+ #include <algorithm>
+ #include <cassert>
++#include <limits>
+
+ using namespace adaptive::playlist;
+
+--
+2.29.2
+
diff --git a/vlc.spec b/vlc.spec
index 9022725..18d0330 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -74,6 +74,10 @@ Patch9: notify-don-t-depend-on-any-GTK-version.patch
# Fix build issue with recent SRT library
# Based on https://git.videolan.org/?p=vlc.git;a=commit;h=6e8d77431127c482196115a6ee...
Patch10: recent_srt_fix.patch
+# Add a missing include that would make the build fail:
+# https://trac.videolan.org/vlc/ticket/25325
+# Drop next release
+Patch11: 0001-Add-missing-include-limits-to-modules.patch
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
@@ -349,6 +353,7 @@ sed -i -e 's/luac/luac-5.1/g' configure.ac
%patch9 -p1
%patch10 -p1
+%patch11 -p1
%{?_with_bootstrap:
rm aclocal.m4 m4/lib*.m4 m4/lt*.m4 || :
@@ -619,6 +624,7 @@ fi || :
%changelog
* Mon Dec 14 2020 Robert-André Mauchin <zebob.m(a)gmail.com> - 1:3.0.12-0.4
- Rebuild for dav1d SONAME bump
+- Add patch to build with GCC 11.0.0
* Fri Nov 27 2020 Sérgio Basto <sergio(a)serjux.com> - 1:3.0.12-0.3
- Mass rebuild for x264-0.161
3 years, 10 months