gnustep-base: fix build

This commit is contained in:
Luis
2023-08-10 10:02:31 +00:00
parent f7fdde7a1e
commit 6eb4312f7d
4 changed files with 687 additions and 666 deletions

View File

@@ -1,2 +1,3 @@
d5735d0b3054956f2c51f55d2a4ffa0d GSXML.patch
af8cd4a1a06431a985b5ae3cc649fecc gnustep-base-1.29.0.tar.gz
d4b0f7460b5a4845ab1a15e24fb8a60c icu68.patch

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,18 @@
diff --git a/GSXML.m.orig b/GSXML.m
index 37f5095..a175684 100644
--- a/Source/Additions/GSXML.m
+++ b/Source/Additions/GSXML.m
@@ -2671,10 +2671,12 @@ getEntityDefault(void *ctx, const xmlChar *name, BOOL resolve)
return NULL;
}
ret->owner = 1;
- if (ret->checked == 0)
+#if LIBXML_VERSION < 21100
+ if (ret->checked == 0)
{
ret->checked = 1;
}
+#endif
}
}
}

View File

@@ -1,20 +1,22 @@
# description : The GNUstep base package
# depends : gnustep-make libffi icu gnutls libxml2 libxslt
# depends : gnustep-make libffi icu gnutls libdispatch libxml2 libxslt
name=gnustep-base
version=1.29.0
_version=$(echo $version | sed 's/\./_/g')
release=1
source="https://github.com/gnustep/libs-base/releases/download/base-${_version}/gnustep-base-$version.tar.gz
icu68.patch"
release=2
source="https://github.com/gnustep/libs-base/releases/download/base-${_version}/${name}-${version}.tar.gz
icu68.patch
GSXML.patch"
build() {
cd $name-$version
patch -Np0 -i ../icu68.patch
patch -Np1 -i ../GSXML.patch
. /usr/share/GNUstep/Makefiles/GNUstep.sh
./configure --prefix=/usr
./configure --prefix=/usr
make
make DESTDIR=$PKG install
}