aboutsummaryrefslogtreecommitdiff
path: root/development/gnustep-base
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-12-10 11:00:07 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:25:26 -0500
commite04d7761716abee3085a66ed4397c9aeefeadbe1 (patch)
tree3687038518ffa32571851904e8d0a4887cabd7ec /development/gnustep-base
parentea651dcf198e1af2419d081e82a1ae98bdd56c3f (diff)
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')
-rw-r--r--development/gnustep-base/gnustep-base.SlackBuild4
-rw-r--r--development/gnustep-base/gnustep-base.info6
-rw-r--r--development/gnustep-base/icu68.patch31
3 files changed, 37 insertions, 4 deletions
diff --git a/development/gnustep-base/gnustep-base.SlackBuild b/development/gnustep-base/gnustep-base.SlackBuild
index e94f944f05f4..a8c5115451e7 100644
--- a/development/gnustep-base/gnustep-base.SlackBuild
+++ b/development/gnustep-base/gnustep-base.SlackBuild
@@ -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 \
diff --git a/development/gnustep-base/gnustep-base.info b/development/gnustep-base/gnustep-base.info
index 7858c5c43c65..2025df0b1554 100644
--- a/development/gnustep-base/gnustep-base.info
+++ b/development/gnustep-base/gnustep-base.info
@@ -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"
diff --git a/development/gnustep-base/icu68.patch b/development/gnustep-base/icu68.patch
new file mode 100644
index 000000000000..2374d8e24976
--- /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