aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gnustep-gui/files/patch-icu68
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/gnustep-gui/files/patch-icu68')
-rw-r--r--x11-toolkits/gnustep-gui/files/patch-icu6829
1 files changed, 29 insertions, 0 deletions
diff --git a/x11-toolkits/gnustep-gui/files/patch-icu68 b/x11-toolkits/gnustep-gui/files/patch-icu68
new file mode 100644
index 000000000000..5852e9c8e8a2
--- /dev/null
+++ b/x11-toolkits/gnustep-gui/files/patch-icu68
@@ -0,0 +1,29 @@
+Regressed by https://github.com/unicode-org/icu/commit/c3fe7e09d844
+
+GSCharacterPanel.m:81:10: error: use of undeclared identifier 'TRUE'
+ return TRUE;
+ ^
+GSCharacterPanel.m:106:10: error: use of undeclared identifier 'TRUE'
+ return TRUE;
+ ^
+
+--- Source/GSCharacterPanel.m.orig 2019-01-06 22:00:38 UTC
++++ Source/GSCharacterPanel.m
+@@ -78,7 +78,7 @@
+ static UBool enumCharNamesFn(void *context, UChar32 code, UCharNameChoice nameChoice, const char *name, int32_t length)
+ {
+ [(NSMutableIndexSet*)context addIndex: (NSUInteger)code];
+- return TRUE;
++ return true;
+ }
+
+ static NSIndexSet *AssignedCodepoints()
+@@ -103,7 +103,7 @@ static UBool searchCharNamesFn(void *context, UChar32
+ {
+ [ctx->set addIndex: (NSUInteger)code];
+ }
+- return TRUE;
++ return true;
+ }
+
+ static NSIndexSet *CodepointsWithNameContainingSubstring(NSString *str)