git » freerdp.git » commit 9da8f84

2:3.17.2-4: Fix gnome-remote-desktop build

author Jan Alexander Steffens (heftig)
2025-10-13 21:19:38 UTC
committer Jan Alexander Steffens (heftig)
2025-10-13 21:21:17 UTC
parent f420322bc1a84fd2f93957e85ac84f6bffc34b4f

2:3.17.2-4: Fix gnome-remote-desktop build

.SRCINFO +1 -1
PKGBUILD +7 -1

diff --git a/.SRCINFO b/.SRCINFO
index 7f28b5f..f0c337d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = freerdp
 	pkgdesc = Free implementation of the Remote Desktop Protocol (RDP)
 	pkgver = 3.17.2
-	pkgrel = 3
+	pkgrel = 4
 	epoch = 2
 	url = https://www.freerdp.com/
 	arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 8b53883..49330d5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
 pkgname=freerdp
 pkgver=3.17.2
 _libver=${pkgver/.*/}
-pkgrel=3
+pkgrel=4
 epoch=2
 pkgdesc="Free implementation of the Remote Desktop Protocol (RDP)"
 arch=(x86_64)
@@ -72,6 +72,12 @@ validpgpkeys=(
   7703B333420E0AEF995EB4B3A49454A3FC909FD5 # akallabeth <akallabeth@posteo.net>
 )
 
+prepare() {
+  # Fix building downstream packages
+  # https://github.com/FreeRDP/FreeRDP/pull/11876
+  git -C $pkgname cherry-pick -n 74a3a7695cdd09cf020acdeb09480ac8ee92ccbe
+}
+
 build() {
   # gcc14 buildfix
   export CFLAGS+=" -Wno-incompatible-pointer-types"