From bb5297eb6727015d920423be9c1a0fdd4f74d516 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 30 Aug 2024 12:58:09 +0000 Subject: [PATCH] freerdp3: 3.7.0 -> 3.8.0 add patch to fix build on darwin x86_64 --- pkgs/applications/networking/remote/freerdp/3.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/remote/freerdp/3.nix b/pkgs/applications/networking/remote/freerdp/3.nix index 7cab558eff14..fe4c410ae2af 100644 --- a/pkgs/applications/networking/remote/freerdp/3.nix +++ b/pkgs/applications/networking/remote/freerdp/3.nix @@ -1,6 +1,7 @@ { stdenv , lib , fetchFromGitHub +, fetchpatch , cmake , docbook-xsl-nons , libxslt @@ -70,15 +71,24 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "freerdp"; - version = "3.7.0"; + version = "3.8.0"; src = fetchFromGitHub { owner = "FreeRDP"; repo = "FreeRDP"; rev = finalAttrs.version; - hash = "sha256-o/Sp9mMEIxtXa0oIpxYG9Fm8YejStUYcW/jkdPwyE5I="; + hash = "sha256-zqqPfAXHjY4IV18mgbNxWDw7ZP/7SvoYn1u0FahpcNk="; }; + patches = [ + (fetchpatch { + name = "clang-fix-unwind-getlanguagespecificdata.patch"; + url = "https://github.com/FreeRDP/FreeRDP/commit/6fb7bfd043d159d3819486fb601b598102cca823.patch"; + hash = "sha256-U2Oz+IVvlIdg7kJ4rgAWhJVdzthY50YaCYKMMc2he7Y="; + }) + ]; + + postPatch = '' export HOME=$TMP