git » freerdp.git » commit 46afc14

upgpkg: 2:3.5.1-2; ICU 75 rebuild - add gcc14 buildfix

author Andreas Radke
2024-05-11 19:53:14 UTC
committer Andreas Radke
2024-05-11 19:53:14 UTC
parent eed62f437ba1dded7d8073d3ec32fbd366ebaaf6

upgpkg: 2:3.5.1-2; ICU 75 rebuild - add gcc14 buildfix

.SRCINFO +1 -1
PKGBUILD +5 -1

diff --git a/.SRCINFO b/.SRCINFO
index 604b43b..95c8e43 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = freerdp
 	pkgdesc = Free implementation of the Remote Desktop Protocol (RDP)
 	pkgver = 3.5.1
-	pkgrel = 1
+	pkgrel = 2
 	epoch = 2
 	url = https://www.freerdp.com/
 	arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 8e4b989..b06cdce 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ _name=FreeRDP
 pkgname=freerdp
 pkgver=3.5.1
 _libver=${pkgver/.*/}
-pkgrel=1
+pkgrel=2
 epoch=2
 pkgdesc="Free implementation of the Remote Desktop Protocol (RDP)"
 arch=(x86_64)
@@ -85,6 +85,10 @@ prepare() {
 }
 
 build() {
+  # gcc14 buildfix
+  export CFLAGS+=" -Wno-incompatible-pointer-types"
+  export CXXFLAGS+=" -Wno-incompatible-pointer-types"
+
   local cmake_options=(
     -B build
     -D CHANNEL_URBDRC_CLIENT=ON