fix build
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=366
This commit is contained in:
parent
2eb862ad1c
commit
762c426e88
32
qgis-3.30.0_include_fix.patch
Normal file
32
qgis-3.30.0_include_fix.patch
Normal 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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user