diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2020-12-10 11:00:07 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:25:26 -0500 |
commit | e04d7761716abee3085a66ed4397c9aeefeadbe1 (patch) | |
tree | 3687038518ffa32571851904e8d0a4887cabd7ec /development/gnustep-base/icu68.patch | |
parent | ea651dcf198e1af2419d081e82a1ae98bdd56c3f (diff) | |
download | slackbuilds-e04d7761716abee3085a66ed4397c9aeefeadbe1.tar.gz |
development/gnustep-base: Updated for version 1.27.0.
Patched for icu4c >= 68
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/gnustep-base/icu68.patch')
-rw-r--r-- | development/gnustep-base/icu68.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/development/gnustep-base/icu68.patch b/development/gnustep-base/icu68.patch new file mode 100644 index 0000000000..2374d8e249 --- /dev/null +++ b/development/gnustep-base/icu68.patch @@ -0,0 +1,31 @@ +From 06fa7792a51cb970e5d010a393cb88eb127830d7 Mon Sep 17 00:00:00 2001 +From: Frederik Seiffert <frederik@algoriddim.com> +Date: Thu, 12 Nov 2020 17:18:09 +0100 +Subject: [PATCH] Fix compilation with ICU 68. + +--- + Source/GSICUString.h | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/Source/GSICUString.h b/Source/GSICUString.h +index a82447a51..15c21491d 100644 +--- a/Source/GSICUString.h ++++ b/Source/GSICUString.h +@@ -2,6 +2,17 @@ + #import <Foundation/NSException.h> + #include <unicode/utext.h> + ++/* ++ * Define TRUE/FALSE to be used with UBool parameters, as these are no longer ++ * defined in ICU as of ICU 68. ++ */ ++#ifndef TRUE ++#define TRUE 1 ++#endif ++#ifndef FALSE ++#define FALSE 0 ++#endif ++ + /** + * Initialises a UText structure with an NSString. If txt is NULL, then this + * allocates a new structure on the heap, otherwise it fills in the existing |