diff --git a/qgis-3.30.0_include_fix.patch b/qgis-3.30.0_include_fix.patch new file mode 100644 index 0000000..09348ea --- /dev/null +++ b/qgis-3.30.0_include_fix.patch @@ -0,0 +1,32 @@ +diff -ur qgis-3.30.0/external/lazperf/Extractor.hpp qgis-3.30.0_fix/external/lazperf/Extractor.hpp +--- qgis-3.30.0/external/lazperf/Extractor.hpp 2023-03-03 20:25:40.000000000 +0100 ++++ qgis-3.30.0_fix/external/lazperf/Extractor.hpp 2023-04-04 09:00:06.127250079 +0200 +@@ -34,6 +34,7 @@ + + #pragma once + ++#include + #include + #include + +diff -ur qgis-3.30.0/external/untwine/api/QgisUntwine.hpp qgis-3.30.0_fix/external/untwine/api/QgisUntwine.hpp +--- qgis-3.30.0/external/untwine/api/QgisUntwine.hpp 2023-03-03 20:25:40.000000000 +0100 ++++ qgis-3.30.0_fix/external/untwine/api/QgisUntwine.hpp 2023-04-04 09:40:57.344786266 +0200 +@@ -1,5 +1,6 @@ + #pragma once + ++#include + #include + #include + #include +diff -ur qgis-3.30.0/external/untwine/untwine/VoxelKey.hpp qgis-3.30.0_fix/external/untwine/untwine/VoxelKey.hpp +--- qgis-3.30.0/external/untwine/untwine/VoxelKey.hpp 2023-03-03 20:25:40.000000000 +0100 ++++ qgis-3.30.0_fix/external/untwine/untwine/VoxelKey.hpp 2023-04-04 08:48:07.969689579 +0200 +@@ -10,6 +10,7 @@ + * * + ****************************************************************************/ + ++#include + #include + #include + diff --git a/qgis.changes b/qgis.changes index 464d52b..088cbd2 100644 --- a/qgis.changes +++ b/qgis.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 4 08:48:38 UTC 2023 - Dirk Stoecker + +- add qgis-3.30.0_include_fix.patch to fix missing include files + ------------------------------------------------------------------- Thu Mar 9 11:17:45 UTC 2023 - Guillaume GARDET diff --git a/qgis.spec b/qgis.spec index 8e21e80..e5c520b 100644 --- a/qgis.spec +++ b/qgis.spec @@ -34,9 +34,12 @@ Source: https://qgis.org/downloads/qgis-%{version}.tar.bz2 Source1: https://qgis.org/downloads/qgis-%{version}.tar.bz2.sha256 Source2: %{name}.rpmlintrc Source3: qgis_sample_data.zip +# PATCH-FIX-OPENSUSE - adapt include path of fastcgi Patch1: fix-fastcgi-include.patch # PATCH-FIX-UPSTREAM - scan for pdal-config instead of pdal in cmake Patch2: qgis-fix-cmake-findpdal.patch +# PATCH-FIX-UPSTREAM - add missing include file https://github.com/qgis/QGIS/issues/52526 +Patch3: qgis-3.30.0_include_fix.patch BuildRequires: FastCGI-devel BuildRequires: PDAL-devel BuildRequires: bison >= 2.4