public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/freerdp] f44: Fix build with SDL 3.4.20
@ 2026-11-06 12:32 Ondrej Holy
0 siblings, 0 replies; only message in thread
From: Ondrej Holy @ 2026-11-06 12:32 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/freerdp
Branch : f44
Commit : 71b181a34d869398274848aa733719eaeaf0b572
Author : Ondrej Holy <oholy@redhat.com>
Date : 2026-11-06T13:31:35+01:00
Stats : +31/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/freerdp/c/71b181a34d869398274848aa733719eaeaf0b572?branch=f44
Log:
Fix build with SDL 3.4.20
---
diff --git a/client-sdl-fix-version-guard.patch b/client-sdl-fix-version-guard.patch
new file mode 100644
index 0000000..556240f
--- /dev/null
+++ b/client-sdl-fix-version-guard.patch
@@ -0,0 +1,23 @@
+From 1b67e1ef6edb716644e472eca8463bfe21bfa26e Mon Sep 17 00:00:00 2001
+From: Armin Novak <armin.novak@thincast.com>
+Date: Fri, 6 Nov 2026 09:30:48 +0100
+Subject: [PATCH] [client,sdl] fix version guard
+
+some new defines are not in latest release, guard with n + 1
+---
+ client/SDL/SDL3/sdl_utils.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/client/SDL/SDL3/sdl_utils.cpp b/client/SDL/SDL3/sdl_utils.cpp
+index cde0baf343..ec8267a50c 100644
+--- a/client/SDL/SDL3/sdl_utils.cpp
++++ b/client/SDL/SDL3/sdl_utils.cpp
+@@ -292,7 +292,7 @@ namespace sdl::utils
+ EV_CASE_STR(SDL_EVENT_PINCH_UPDATE);
+ EV_CASE_STR(SDL_EVENT_PINCH_END);
+ #endif
+-#if SDL_VERSION_ATLEAST(3, 4, 20)
++#if SDL_VERSION_ATLEAST(3, 4, 22)
+ EV_CASE_STR(SDL_EVENT_WINDOW_SETTINGS_CHANGED);
+ EV_CASE_STR(SDL_EVENT_GAMEPAD_CAPSENSE_TOUCH);
+ EV_CASE_STR(SDL_EVENT_GAMEPAD_CAPSENSE_RELEASE);
diff --git a/freerdp.spec b/freerdp.spec
index 39dc457..3e073e4 100644
--- a/freerdp.spec
+++ b/freerdp.spec
@@ -24,7 +24,7 @@
Name: freerdp
Epoch: 2
Version: 3.33.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Free implementation of the Remote Desktop Protocol (RDP)
# The effective license is Apache-2.0 but:
@@ -45,6 +45,10 @@ Source1: freerdp_download_and_repack.sh
# https://github.com/FreeRDP/FreeRDP/commit/3f06a90fec8ed1bede3d2aec9c80e623c4e17f7c
Patch: winpr-clipboard-fix-big-endian-BMP-test.patch
+# Fix build with SDL 3.4.20
+# https://github.com/FreeRDP/FreeRDP/commit/1b67e1ef6edb716644e472eca8463bfe21bfa26e
+Patch: client-sdl-fix-version-guard.patch
+
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: alsa-lib-devel
@@ -382,6 +386,9 @@ find %{buildroot} -name "*.a" -delete
%{_libdir}/pkgconfig/winpr-tools3.pc
%changelog
+* Fri Nov 06 2026 Ondrej Holy <oholy@redhat.com> - 2:3.33.0-3
+- Fix build with SDL 3.4.20
+
* Thu Nov 05 2026 Ondrej Holy <oholy@redhat.com> - 2:3.33.0-2
- Enable the XDG AAD authentication helper
Resolves: rhbz#2520877
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-06 12:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06 12:32 [rpms/freerdp] f44: Fix build with SDL 3.4.20 Ondrej Holy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox