aboutsummaryrefslogtreecommitdiff
path: root/development/gnustep-base
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2024-01-28 10:43:28 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-03 08:08:57 +0700
commitdc7690f9a5613c5d48aa61b161f2479aeb1af0bd (patch)
tree3c9a578e6f189857c327b016084cabe3463fa2f9 /development/gnustep-base
parentcbf3675192af8388f390db40921cafce67de3f11 (diff)
development/gnustep-base: Patched for libxml2 >= 2.11.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/gnustep-base')
-rw-r--r--development/gnustep-base/gnustep-base.SlackBuild3
-rw-r--r--development/gnustep-base/libxml2-2.11.patch27
2 files changed, 29 insertions, 1 deletions
diff --git a/development/gnustep-base/gnustep-base.SlackBuild b/development/gnustep-base/gnustep-base.SlackBuild
index ecd10cda89ad..6947e299df9d 100644
--- a/development/gnustep-base/gnustep-base.SlackBuild
+++ b/development/gnustep-base/gnustep-base.SlackBuild
@@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gnustep-base
VERSION=${VERSION:-1.27.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,6 +81,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
patch -p1 <$CWD/icu68.patch
+patch -p1 <$CWD/libxml2-2.11.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/development/gnustep-base/libxml2-2.11.patch b/development/gnustep-base/libxml2-2.11.patch
new file mode 100644
index 000000000000..519b0cf2886b
--- /dev/null
+++ b/development/gnustep-base/libxml2-2.11.patch
@@ -0,0 +1,27 @@
+From 37913d006d96a6bdcb963f4ca4889888dcce6094 Mon Sep 17 00:00:00 2001
+From: Frederik Seiffert <frederik@algoriddim.com>
+Date: Wed, 3 May 2023 13:49:09 +0200
+Subject: [PATCH] Fix GSXML compatibility with libxml2 v2.11.0
+
+Fixes #294.
+---
+ Source/Additions/GSXML.m | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/Source/Additions/GSXML.m b/Source/Additions/GSXML.m
+index 37f509564a..01a24c5aa1 100644
+--- a/Source/Additions/GSXML.m
++++ b/Source/Additions/GSXML.m
+@@ -2671,10 +2671,12 @@ + (void) initialize
+ return NULL;
+ }
+ ret->owner = 1;
++#if LIBXML_VERSION < 21100
+ if (ret->checked == 0)
+ {
+ ret->checked = 1;
+ }
++#endif
+ }
+ }
+ }