Date: Saturday, May 6, 2023 @ 22:36:42
  Author: arojas
Revision: 1459178

upgpkg: waylandpp 1.0.0-2: Add missing includes for GCC 13

Modified:
  waylandpp/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-06 22:33:12 UTC (rev 1459177)
+++ PKGBUILD    2023-05-06 22:36:42 UTC (rev 1459178)
@@ -2,7 +2,7 @@
 # Contributor: Nils Christopher Brause <[email protected]>
 pkgname=waylandpp
 pkgver=1.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Wayland C++ bindings'
 arch=('x86_64')
 url='https://github.com/NilsBrause/waylandpp'
@@ -10,9 +10,16 @@
 depends=(wayland 'pugixml')
 conflicts=(waylandpp-git)
 makedepends=(cmake egl-wayland)
-source=("https://github.com/NilsBrause/waylandpp/archive/$pkgver.zip";)
-sha512sums=('9110fb147a01bc43e54f239a694d4ed42264b86d1f51f3f6afd1d0b30e893ec2b524bf7e77295fafdcbf7fcac22af01bde7168be69865e354b081698fdf5dcc6')
+source=("https://github.com/NilsBrause/waylandpp/archive/$pkgver.zip";
+         
waylandpp-gcc13.patch::https://patch-diff.githubusercontent.com/raw/NilsBrause/waylandpp/pull/75.patch)
+sha512sums=('9110fb147a01bc43e54f239a694d4ed42264b86d1f51f3f6afd1d0b30e893ec2b524bf7e77295fafdcbf7fcac22af01bde7168be69865e354b081698fdf5dcc6'
+            
'8a3429919eb6846166b77319f39ae33405a6fb0213af0eac9e21c65f588d5085c8dd1ee6976844254368ea0c50b51dfd1c9dadd186c4570e0d417cb1e622052c')
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../waylandpp-gcc13.patch # Add missing includes for GCC 13
+}
+
 build()
 {
     cd $pkgname-$pkgver

Reply via email to