summaryrefslogtreecommitdiff
path: root/gnustep-base
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-25 01:11:37 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-25 01:11:37 +0000
commitb1b0997aac1e7f68389ed3e0f95d3ea9d92277e2 (patch)
tree11a204a4a8687d1677d7b04ddda4a236c755528e /gnustep-base
parent73f18fd49d6fabbb1dc8721e38adaa18d55b8c95 (diff)
gentoo auto-resync : 25:11:2022 - 01:11:36
Diffstat (limited to 'gnustep-base')
-rw-r--r--gnustep-base/Manifest.gzbin1724 -> 1718 bytes
-rw-r--r--gnustep-base/gnustep-base/Manifest2
-rw-r--r--gnustep-base/gnustep-base/files/gnustep-base-1.28.0-c99.patch67
-rw-r--r--gnustep-base/gnustep-base/gnustep-base-1.28.0-r2.ebuild72
4 files changed, 141 insertions, 0 deletions
diff --git a/gnustep-base/Manifest.gz b/gnustep-base/Manifest.gz
index a948919b72e6..99054417a19e 100644
--- a/gnustep-base/Manifest.gz
+++ b/gnustep-base/Manifest.gz
Binary files differ
diff --git a/gnustep-base/gnustep-base/Manifest b/gnustep-base/gnustep-base/Manifest
index 278fe2aafb30..6f572377f194 100644
--- a/gnustep-base/gnustep-base/Manifest
+++ b/gnustep-base/gnustep-base/Manifest
@@ -1,7 +1,9 @@
AUX gnustep-base-1.26.0-no_compress_man.patch 1589 BLAKE2B 1c0096fe253c6cd0b61d09548941ddcd9de4d59fff9f6d902d613e15ba338f8434d77b8dd318d964a0e1dae0c84f850f617bb94b4c9aea490ebc282630afedac SHA512 68ab40d44eecbb8237dde1aec60a1482be4a78a591c145558c9278cef82ce3ffd4ec7584c7549c3adb247d352a8347cfac957e9b9ba28a592b2c784fa99c6114
AUX gnustep-base-1.27.0-icu68.patch 875 BLAKE2B d622e9ee420a626f306b90239a2395153909328d31eeb656020848ffdcd9c154dcc43409477bcd88c06a1f8149fe47ebd5d8307ee0dfd427ebe9cd03445aaa41 SHA512 b4659bd5bcccbd2e1d30d4b3cf6f7040eb242aba6e62e2f411be35aa98c0f7df57a688e0314767770024fb315bcb6724749f9956dced6bcc58f46b00e66f0e95
+AUX gnustep-base-1.28.0-c99.patch 1719 BLAKE2B c81f0a1720b32dff11f2c7aa7da345b08a6c9c0d4776a3354d30f60601c0c0b2082b4616f08ff72d45813e87771a96acfdf3bde927014acdb36573125e978365 SHA512 2fcfaecddf1341ccaca593cf655184cda5a18263e3967356dfecacb5ee8fbe2158aeae6a2a2a9f5ee21e8172dceed076e7147f2d0e3787f8ad30e4d30c7eb3c1
DIST gnustep-base-1.27.0.tar.gz 4141163 BLAKE2B b27f7086949bcd5e43b8d6337c4f03eb87447baacb23de75b7df0d2ba769ff3e8cadd7035e78b35c91ccca83151cbe4b61b339aa265dcb53847089849b615f8b SHA512 bbdf45379dbb684f6bdb507b645e0f611cefb05caadff1bf620c2e85f104396cf91782bcce05ff2173078603b76b8a0ba2ea3b71bc56a84c220310910dbcb705
DIST gnustep-base-1.28.0.tar.gz 4246622 BLAKE2B fdaa834ea3cb13b1d4717c2c7e6b59eff05d16e6a404ffed5f4ccfa2ee3db93ecfee5b95cc30be6a388f56fa28c67f1278ea298f222260dcc24abadaa1cb5e8f SHA512 e173fab28aa1b1df38de4216916db18934422a1d372b9fe6a68a6ff21b2ac0be38aa02631179a8ad62a4f2848080223f34771b364b1c0eebc96c84778677c50b
EBUILD gnustep-base-1.27.0-r1.ebuild 2015 BLAKE2B 61fcc154d228ee5eb2d7d6038721ee348f9c2f8894902c970831ebc3ddb463e7395eda9bc086e7e9422c75f196d05cf8c552cc7ae4e1109cc6984bb5d61eec99 SHA512 a0280e17fcc21f408ec8e86ae9255681bbf3f1f206a338065846098d7d107db83d6aad4b67ed9b7ac94f6c034fe16c9c78b9a8f73e6fff41293fa1cc7f6655af
EBUILD gnustep-base-1.28.0-r1.ebuild 2061 BLAKE2B 42c3a66633df78100e61a39b98fd4e52656cd9e0052655c7110aafce99f408cab8f91661231632b7f3f6ef24cb6081602faf77e76c3ba3de6e3ccea973a3d9de SHA512 ac245bb3138dadeb852c1a2f0104931316cc7dcc6b7feefb652e0065e54ddbe7b0cfa09b695e4707d5e0fd05bb4584548cef54d49aeb48392e133bee7df4432a
+EBUILD gnustep-base-1.28.0-r2.ebuild 2091 BLAKE2B 1b0089c91f1881ad120c7dcef2f3c2105bca0e876398641579d61cf0cadc4cfbedbeccc6a0f7183159f29ada4139dd4aa0eee095765b880bc3193081af26a303 SHA512 ea7391245844bcc587dd2220e67b71b0ce3b7db17f8ce770a8ee0ad60b495035c82b4fdc597e640550023553b4188166ed6ae396d954b7b9afe6cc75d12cbf8b
MISC metadata.xml 764 BLAKE2B c06e433d8900af16d4044465c1576d7ba4aadc3dd44d96a70f5e2d523008518506d754a72a05d6993546d19df7653c62012b6935b41abeb3b1936311e070a5ad SHA512 8d0e798c01bb9ca747d75e64497e4db478a66950001eba8deaad2425ac40927d13a791227d7a4b9b6fabd045c6fe6df042ff3e6625c754c93d555799030350bb
diff --git a/gnustep-base/gnustep-base/files/gnustep-base-1.28.0-c99.patch b/gnustep-base/gnustep-base/files/gnustep-base-1.28.0-c99.patch
new file mode 100644
index 000000000000..8b3fa94ebfa9
--- /dev/null
+++ b/gnustep-base/gnustep-base/files/gnustep-base-1.28.0-c99.patch
@@ -0,0 +1,67 @@
+Add missing include files and implicit ints to support building
+with a compiler in strict(er) C99 mode.
+
+diff --git a/config/config.poll-dev.c b/config/config.poll-dev.c
+index 413a6a7ad307b8ed..ec323874064c8643 100644
+--- a/config/config.poll-dev.c
++++ b/config/config.poll-dev.c
+@@ -6,6 +6,7 @@
+ #include <stdio.h>
+ #include <fcntl.h>
+ #include <poll.h>
++#include <unistd.h>
+
+ int
+ main()
+diff --git a/config/config.proccmd.c b/config/config.proccmd.c
+index b27d25a56d07b287..3e5a5a38792ee414 100644
+--- a/config/config.proccmd.c
++++ b/config/config.proccmd.c
+@@ -10,6 +10,8 @@
+ notice and this notice are preserved.
+ */
+ #include <stdio.h>
++#include <unistd.h>
++
+ int main()
+ {
+ char buf[32];
+diff --git a/config/config.reuseaddr.c b/config/config.reuseaddr.c
+index 45276c8cdf793ba4..6061b7814ef5a457 100644
+--- a/config/config.reuseaddr.c
++++ b/config/config.reuseaddr.c
+@@ -31,7 +31,7 @@
+ // Maximum data in single I/O operation
+ #define NETBUF_SIZE 4096
+
+-main()
++int main()
+ {
+ struct sockaddr_in sin;
+ int size = sizeof(sin);
+diff --git a/config/config.vasprintf.c b/config/config.vasprintf.c
+index a3c755ec95c34155..f532502e1d3fba95 100644
+--- a/config/config.vasprintf.c
++++ b/config/config.vasprintf.c
+@@ -25,6 +25,6 @@ static int func(const char *fmt, ...)
+ int main()
+ {
+ if (func("1234", 0) == 4)
+- exit (0);
+- exit (-1);
++ return 0;
++ return -1;
+ }
+diff --git a/config/config.vsprintf.c b/config/config.vsprintf.c
+index 01a383d6170ed9ff..a4a971e8029425bc 100644
+--- a/config/config.vsprintf.c
++++ b/config/config.vsprintf.c
+@@ -25,6 +25,6 @@ static int func(const char *fmt, ...)
+ int main()
+ {
+ if (func("1234", 0) == 4)
+- exit (0);
+- exit (-1);
++ return 0;
++ return -1;
+ }
diff --git a/gnustep-base/gnustep-base/gnustep-base-1.28.0-r2.ebuild b/gnustep-base/gnustep-base/gnustep-base-1.28.0-r2.ebuild
new file mode 100644
index 000000000000..18a52fddef64
--- /dev/null
+++ b/gnustep-base/gnustep-base/gnustep-base-1.28.0-r2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit gnustep-base toolchain-funcs
+
+DESCRIPTION="A library of general-purpose, non-graphical Objective C objects"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
+IUSE="+gnutls +iconv +icu +libffi zeroconf"
+
+RDEPEND="${GNUSTEP_CORE_DEPEND}
+ >=gnustep-base/gnustep-make-2.6.0
+ gnutls? ( net-libs/gnutls:= )
+ iconv? ( virtual/libiconv )
+ icu? ( >=dev-libs/icu-49.0:= )
+ !libffi? ( dev-libs/ffcall
+ gnustep-base/gnustep-make[-native-exceptions] )
+ libffi? ( dev-libs/libffi:= )
+ >=dev-libs/libxml2-2.6
+ >=dev-libs/libxslt-1.1
+ >=dev-libs/gmp-4.1:=
+ >=sys-libs/zlib-1.2
+ zeroconf? ( net-dns/avahi )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.26.0-no_compress_man.patch
+ "${FILESDIR}"/${P}-c99.patch
+)
+
+src_configure() {
+ egnustep_env
+
+ local myconf
+ if use libffi ; then
+ myconf="--enable-libffi --disable-ffcall --with-ffi-include=$($(tc-getPKG_CONFIG) --variable=includedir libffi)"
+ else
+ myconf="--disable-libffi --enable-ffcall"
+ fi
+
+ myconf="$myconf $(use_enable gnutls tls)"
+ myconf="$myconf $(use_enable iconv)"
+ myconf="$myconf $(use_enable icu)"
+ myconf="$myconf $(use_enable zeroconf)"
+ myconf="$myconf --with-xml-prefix=${EPREFIX}/usr"
+ myconf="$myconf --with-gmp-include=${EPREFIX}/usr/include --with-gmp-library=${EPREFIX}/usr/lib"
+ myconf="$myconf --with-default-config=${EPREFIX}/etc/GNUstep/GNUstep.conf"
+
+ econf $myconf
+}
+
+src_install() {
+ # We need to set LD_LIBRARY_PATH because the doc generation program
+ # uses the gnustep-base libraries. Since egnustep_env "cleans the
+ # environment" including our LD_LIBRARY_PATH, we're left no choice
+ # but doing it like this.
+
+ egnustep_env
+ egnustep_install
+
+ if use doc ; then
+ export LD_LIBRARY_PATH="${S}/Source/obj:${LD_LIBRARY_PATH}"
+ egnustep_doc
+ fi
+ egnustep_install_config
+}