From 46834e1738c6ebda824f95ccc75c7325b5210ab5 Mon Sep 17 00:00:00 2001
From: alois <>
Date: Jun 04 2021 20:55:13 +0000
Subject: Update webcamoid to version 8.8.0 / rev 13 via SR 897348


https://build.opensuse.org/request/show/897348
by user alois + dimstar_suse

---

diff --git a/.files b/.files
index 4eb9602..84a3ab7 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 86604f1..4d7e90e 100644
--- a/.rev
+++ b/.rev
@@ -106,4 +106,12 @@
     <comment></comment>
     <requestid>872844</requestid>
   </revision>
+  <revision rev="13" vrev="2">
+    <srcmd5>228a5571fe075fd08324e79c270b6f91</srcmd5>
+    <version>8.8.0</version>
+    <time>1622839430</time>
+    <user>dimstar_suse</user>
+    <comment></comment>
+    <requestid>897348</requestid>
+  </revision>
 </revisionlist>
diff --git a/webcamoid-gcc11.patch b/webcamoid-gcc11.patch
new file mode 100644
index 0000000..452ce5a
--- /dev/null
+++ b/webcamoid-gcc11.patch
@@ -0,0 +1,12 @@
+Index: webcamoid-8.8.0/libAvKys/Plugins/VirtualCamera/src/VCamUtils/src/image/videoformat.cpp
+===================================================================
+--- webcamoid-8.8.0.orig/libAvKys/Plugins/VirtualCamera/src/VCamUtils/src/image/videoformat.cpp
++++ webcamoid-8.8.0/libAvKys/Plugins/VirtualCamera/src/VCamUtils/src/image/videoformat.cpp
+@@ -19,6 +19,7 @@
+ 
+ #include <map>
+ #include <algorithm>
++#include <limits>
+ 
+ #include "videoformat.h"
+ #include "../utils.h"
diff --git a/webcamoid.changes b/webcamoid.changes
index 01d0337..f880355 100644
--- a/webcamoid.changes
+++ b/webcamoid.changes
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Fri Jun  4 07:51:50 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
+
+- Add webcamoid-gcc11.patch to fix build in Factory
+
+-------------------------------------------------------------------
 Tue Feb 16 12:32:00 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
 
 - Update to version 8.8.0
diff --git a/webcamoid.spec b/webcamoid.spec
index 214c379..ed1df30 100644
--- a/webcamoid.spec
+++ b/webcamoid.spec
@@ -24,6 +24,8 @@ License:        GPL-3.0-or-later
 Group:          System/GUI/KDE
 URL:            https://webcamoid.github.io/
 Source:         https://github.com/hipersayanX/Webcamoid/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE webcamoid-gcc11.patch add missing include -- aloisio@gmx.com
+Patch0:         webcamoid-gcc11.patch
 BuildRequires:  bison
 BuildRequires:  desktop-file-utils
 BuildRequires:  fdupes
@@ -85,7 +87,7 @@ Avkys library provides a wide range of plugins for audio and
 video playing, recording, capture, and processing.
 
 %prep
-%setup -q -n webcamoid-%{version}
+%autosetup -p1
 
 %build
 %qmake5 \