SHA256
1
0
forked from pool/qgis

Accepting request 1077197 from Application:Geo

- add qgis-3.30.0_include_fix.patch to fix missing include files

OBS-URL: https://build.opensuse.org/request/show/1077197
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qgis?expand=0&rev=40
This commit is contained in:
Dominique Leuenberger 2023-04-04 19:27:01 +00:00 committed by Git OBS Bridge
commit 8704619b51
3 changed files with 40 additions and 0 deletions

View File

@ -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 <cstdint>
#include <cstring>
#include <vector>
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 <cstdint>
#include <map>
#include <string>
#include <vector>
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 <cstdint>
#include <string>
#include <algorithm>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 4 08:48:38 UTC 2023 - Dirk Stoecker <opensuse@dstoecker.de>
- add qgis-3.30.0_include_fix.patch to fix missing include files
-------------------------------------------------------------------
Thu Mar 9 11:17:45 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@ -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