public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ondrej Holy <oholy@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/freerdp] f44: Fix build with SDL 3.4.20
Date: Fri, 06 Nov 2026 12:32:20 GMT	[thread overview]
Message-ID: <179396834072.1.12584821777408063064.rpms-freerdp-71b181a34d86@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-11-06 12:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179396834072.1.12584821777408063064.rpms-freerdp-71b181a34d86@fedoraproject.org \
    --to=oholy@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox