Date: Wednesday, May 3, 2023 @ 21:21:23
  Author: arojas
Revision: 1458625

upgpkg: qgis 3.30.2-1: Update to 3.30.2

Added:
  qgis/trunk/973549cd.patch
Modified:
  qgis/trunk/PKGBUILD

----------------+
 973549cd.patch |   28 ++++++++++++++++++++++++++++
 PKGBUILD       |   14 ++++++++++----
 2 files changed, 38 insertions(+), 4 deletions(-)

Added: 973549cd.patch
===================================================================
--- 973549cd.patch                              (rev 0)
+++ 973549cd.patch      2023-05-03 21:21:23 UTC (rev 1458625)
@@ -0,0 +1,28 @@
+From 973549cd49d0867367a100269dd4ec37c50735cc Mon Sep 17 00:00:00 2001
+From: Basil Eric Rabi <[email protected]>
+Date: Fri, 31 Mar 2023 20:04:12 +0800
+Subject: [PATCH] add missing headers
+
+fixes #52462
+---
+diff --git a/external/untwine/api/QgisUntwine.cpp 
b/external/untwine/api/QgisUntwine.cpp
+index c25fe99365d8..f79e99348d14 100644
+--- a/external/untwine/api/QgisUntwine.cpp
++++ b/external/untwine/api/QgisUntwine.cpp
+@@ -1,3 +1,4 @@
++#include <cstdint>
+ #include <iostream>
+ 
+ #include "QgisUntwine.hpp"
+diff --git a/external/untwine/untwine/VoxelKey.hpp 
b/external/untwine/untwine/VoxelKey.hpp
+index a29a8024b9c0..839e1ec746b8 100644
+--- a/external/untwine/untwine/VoxelKey.hpp
++++ b/external/untwine/untwine/VoxelKey.hpp
+@@ -11,6 +11,7 @@
+  ****************************************************************************/
+ 
+ #include <string>
++#include <cstdint>
+ #include <algorithm>
+ 
+ #pragma once

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-03 20:38:23 UTC (rev 1458624)
+++ PKGBUILD    2023-05-03 21:21:23 UTC (rev 1458625)
@@ -10,8 +10,8 @@
 # Contributor: Eric Forgeot < http://esclinux.tk >
 
 pkgname=qgis
-pkgver=3.30.1
-pkgrel=2
+pkgver=3.30.2
+pkgrel=1
 pkgdesc="Geographic Information System (GIS) that supports vector, raster & 
database formats"
 arch=(x86_64)
 url="https://qgis.org/";
@@ -24,9 +24,15 @@
 makedepends=(cmake ninja opencl-clhpp fcgi qt5-tools sip pyqt-builder)
 optdepends=('fcgi: Map server'
             'gpsbabel: GPS Tools plugin')
-source=(https://qgis.org/downloads/$pkgname-$pkgver.tar.bz2)
-sha256sums=('baac5f55ca3d34dd5b1bfa0535cecfecc74ecbc837cbeb70b95cdb91b1c7af55')
+source=(https://qgis.org/downloads/$pkgname-$pkgver.tar.bz2
+        973549cd.patch)
+sha256sums=('996e50561ba2c9234b99f19df512b98549203723da8b3856dd7eb091a60e4272'
+            'ad43095fb5683b862fc55e12edbb3dc9cdd61ff3375c1aa7c8d7e6bbeb6c01de')
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < 973549cd.patch # Fix build with GCC 13
+}
+
 build() {
   cmake -S $pkgname-$pkgver -B build -G Ninja \
     -DCMAKE_INSTALL_PREFIX='/usr' \

Reply via email to