From 47bae87b758fc2ed20317b48f8db1592739f0d46 Mon Sep 17 00:00:00 2001 From: ajs124 Date: Sun, 28 Feb 2021 15:44:58 +0100 Subject: [PATCH 1/2] gnustep.base: fix icu 68 compatibility --- pkgs/desktops/gnustep/base/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/gnustep/base/default.nix b/pkgs/desktops/gnustep/base/default.nix index 8cc68b755693..8fe232dff7b4 100644 --- a/pkgs/desktops/gnustep/base/default.nix +++ b/pkgs/desktops/gnustep/base/default.nix @@ -1,7 +1,7 @@ { aspell, audiofile , gsmakeDerivation , cups -, fetchurl +, fetchurl, fetchpatch , gmp, gnutls , libffi, binutils-unwrapped , libjpeg, libtiff, libpng, giflib, libungif @@ -33,7 +33,13 @@ gsmakeDerivation { portaudio libiberty ]; - patches = [ ./fixup-paths.patch ]; + patches = [ + ./fixup-paths.patch + (fetchpatch { # for icu68 compatibility, remove with next update(?) + url = "https://github.com/gnustep/libs-base/commit/06fa7792a51cb970e5d010a393cb88eb127830d7.patch"; + sha256 = "150n1sa34av9ywc04j36jvj7ic9x6pgr123rbn2mx5fj76q23852"; + }) + ]; meta = { description = "An implementation of AppKit and Foundation libraries of OPENSTEP and Cocoa"; From f179f7c25c5b043bf1d8a564995480dffbc90231 Mon Sep 17 00:00:00 2001 From: ajs124 Date: Mon, 1 Mar 2021 14:28:20 +0100 Subject: [PATCH 2/2] gnustep.gui: fix icu 68 compatibility --- pkgs/desktops/gnustep/gui/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/gnustep/gui/default.nix b/pkgs/desktops/gnustep/gui/default.nix index e945af64d90c..8356a608c833 100644 --- a/pkgs/desktops/gnustep/gui/default.nix +++ b/pkgs/desktops/gnustep/gui/default.nix @@ -1,4 +1,4 @@ -{ gsmakeDerivation, fetchurl, base }: +{ gsmakeDerivation, fetchurl, fetchpatch, base }: let version = "0.28.0"; in @@ -9,7 +9,13 @@ gsmakeDerivation { sha256 = "05wk8kbl75qj0jgawgyv9sp98wsgz5vl1s0d51sads0p0kk2sv8z"; }; buildInputs = [ base ]; - patches = [ ./fixup-all.patch ]; + patches = [ + ./fixup-all.patch + (fetchpatch { # for icu68 compatibility, remove with next update(?) + url = "https://github.com/gnustep/libs-gui/commit/05572b2d01713f5caf07f334f17ab639be8a1cff.patch"; + sha256 = "04z287dk8jf3hdwzk8bpnv49qai2dcdlh824yc9bczq291pjy2xc"; + }) + ]; meta = { description = "A GUI class library of GNUstep"; };