]> git.pld-linux.org Git - packages/mediastreamer.git/commitdiff
fix build with gcc >= 13
authorJan Palus <atler@pld-linux.org>
Sun, 1 Oct 2023 20:18:50 +0000 (22:18 +0200)
committerJan Palus <atler@pld-linux.org>
Sun, 1 Oct 2023 20:18:50 +0000 (22:18 +0200)
gcc13.patch [new file with mode: 0644]
mediastreamer.spec

diff --git a/gcc13.patch b/gcc13.patch
new file mode 100644 (file)
index 0000000..12ba30c
--- /dev/null
@@ -0,0 +1,10 @@
+--- mediastreamer2-5.1.72/src/utils/qrcode_image.hpp.orig      2022-11-18 15:22:23.000000000 +0100
++++ mediastreamer2-5.1.72/src/utils/qrcode_image.hpp   2023-10-01 22:13:26.787540196 +0200
+@@ -20,6 +20,7 @@
+ #ifndef qrcode_image_h
+ #define qrcode_image_h
++#include <cstdint>
+ #include <zxing/LuminanceSource.h>
+ class QRCodeImage : public zxing::LuminanceSource {
index fe6fda3a1c678beff92f06bc6cae079a4f6820d4..ab734b9ebc049388917cdeafdede51ea0418a83d 100644 (file)
@@ -44,6 +44,7 @@ Patch7:               %{name}-gsm.patch
 Patch8:                %{name}-cmake-upnp.patch
 Patch9:                %{name}-bzrtp.patch
 Patch10:       %{name}-gcc.patch
+Patch11:       gcc13.patch
 URL:           http://www.linphone.org/technical-corner/mediastreamer2/overview
 %{?with_opengl:BuildRequires:  OpenGL-GLX-devel}
 %{?with_sdl:BuildRequires:     SDL-devel >= 1.2.0}
@@ -171,6 +172,7 @@ Statyczne biblioteki mediastreamer.
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
+%patch11 -p1
 
 # cmake checks for python3, so don't require python 2 as well
 %{__sed} -i -e '1s,/usr/bin/python$,%{__python3},' tools/xxd.py
This page took 0.196364 seconds and 4 git commands to generate.