development/gnustep-base: Updated for version 1.27.0.

Patched for icu4c >= 68

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2020-12-10 11:00:07 +01:00 committed by Robby Workman
parent ea651dcf19
commit e04d776171
3 changed files with 37 additions and 4 deletions

View File

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gnustep-base
VERSION=${VERSION:-1.25.1}
VERSION=${VERSION:-1.27.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -69,6 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p1 <$CWD/icu68.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \

View File

@ -1,8 +1,8 @@
PRGNAM="gnustep-base"
VERSION="1.25.1"
VERSION="1.27.0"
HOMEPAGE="http://www.gnustep.org"
DOWNLOAD="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-base-1.25.1.tar.gz"
MD5SUM="757130f80a31e9ee30d8c2b83b0c226a"
DOWNLOAD="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-base-1.27.0.tar.gz"
MD5SUM="6f1876a867d1862267a562d4cbb9ede3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gnustep-make"

View File

@ -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