summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2020-11-13 02:47:45 +0000
committermef <mef@pkgsrc.org>2020-11-13 02:47:45 +0000
commitdd3904916e39a3cc2b269ce6928742afae42366b (patch)
tree59ed8fb210330328e974ef0d74edc79953994a3e /x11
parentbc48399f28cab3554349eab56ac2bce2b6c89537 (diff)
downloadpkgsrc-dd3904916e39a3cc2b269ce6928742afae42366b.tar.gz
(x11/gnustep-gui) Add patch for icu-68 fallout (TRUE -> true)
Diffstat (limited to 'x11')
-rw-r--r--x11/gnustep-gui/Makefile4
-rw-r--r--x11/gnustep-gui/distinfo3
-rw-r--r--x11/gnustep-gui/patches/patch-Source_GSCharacterPanel.m24
3 files changed, 28 insertions, 3 deletions
diff --git a/x11/gnustep-gui/Makefile b/x11/gnustep-gui/Makefile
index db0454bcf81..8b92ec0b1b3 100644
--- a/x11/gnustep-gui/Makefile
+++ b/x11/gnustep-gui/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.80 2020/11/05 09:07:14 ryoon Exp $
+# $NetBSD: Makefile,v 1.81 2020/11/13 02:47:45 mef Exp $
GITHUB_PROJECT= libs-gui
GITHUB_TAG= gui-0_28_0
@@ -21,7 +21,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --exec-prefix=${PREFIX}/libexec/GNUstep
MAKE_FILE= GNUmakefile
-PLIST_SUBST= API_VERSION=${PKGVERSION:C/\.[0-9]$//}
+PLIST_SUBST= API_VERSION=${PKGVERSION:C/\.[0-9][nb]*[0-9]*$//}
.include "../../devel/gnustep-base/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
diff --git a/x11/gnustep-gui/distinfo b/x11/gnustep-gui/distinfo
index 32476e89acb..8a6b54722cd 100644
--- a/x11/gnustep-gui/distinfo
+++ b/x11/gnustep-gui/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.29 2020/10/02 23:47:28 mef Exp $
+$NetBSD: distinfo,v 1.30 2020/11/13 02:47:45 mef Exp $
SHA1 (gnustep-gui/gui-0_28_0.tar.gz) = 32496c4ebc5260358b65e3b02f422ad20b9915b3
RMD160 (gnustep-gui/gui-0_28_0.tar.gz) = 53106237f12251b3f5d62c1acc503abb5c23ee75
SHA512 (gnustep-gui/gui-0_28_0.tar.gz) = ccef19bbdf7bf51b992b941ed1bbd2e1aeabe83e2fd040a75b9fbfd77c90722f80de416e61ac37ee5d6eb5ced26efe0a1aeec49374db9c8c4237bc5b59182371
Size (gnustep-gui/gui-0_28_0.tar.gz) = 2933423 bytes
+SHA1 (patch-Source_GSCharacterPanel.m) = 05a2d7e252f5134e37f71dd0f27c8e15b6f38a5e
diff --git a/x11/gnustep-gui/patches/patch-Source_GSCharacterPanel.m b/x11/gnustep-gui/patches/patch-Source_GSCharacterPanel.m
new file mode 100644
index 00000000000..fc316705f0c
--- /dev/null
+++ b/x11/gnustep-gui/patches/patch-Source_GSCharacterPanel.m
@@ -0,0 +1,24 @@
+$NetBSD: patch-Source_GSCharacterPanel.m,v 1.1 2020/11/13 02:47:45 mef Exp $
+
+Adhoc patch to adapt icu-68 Fallout
+
+--- Source/GSCharacterPanel.m.orig 2020-04-05 20:04:40.000000000 +0000
++++ 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 *con
+ {
+ [ctx->set addIndex: (NSUInteger)code];
+ }
+- return TRUE;
++ return true;
+ }
+
+ static NSIndexSet *CodepointsWithNameContainingSubstring(NSString *str)