freerdp3: 3.7.0 -> 3.8.0

add patch to fix build on darwin x86_64
This commit is contained in:
R. Ryantm 2024-08-30 12:58:09 +00:00 committed by Robert Scott
parent b956c2f42a
commit bb5297eb67

View File

@ -1,6 +1,7 @@
{ stdenv { stdenv
, lib , lib
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, cmake , cmake
, docbook-xsl-nons , docbook-xsl-nons
, libxslt , libxslt
@ -70,15 +71,24 @@ let
in in
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "freerdp"; pname = "freerdp";
version = "3.7.0"; version = "3.8.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "FreeRDP"; owner = "FreeRDP";
repo = "FreeRDP"; repo = "FreeRDP";
rev = finalAttrs.version; 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 = '' postPatch = ''
export HOME=$TMP export HOME=$TMP