From: "Aric Belsito" <lluixhi@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/musl:master commit in: dev-libs/libbsd/files/, dev-libs/libbsd/
Date: Thu, 6 Jul 2017 23:16:47 +0000 (UTC) [thread overview]
Message-ID: <1499382967.315c11a18427e62e422a4f4b8cc943266118e0d0.lluixhi@gentoo> (raw)
commit: 315c11a18427e62e422a4f4b8cc943266118e0d0
Author: Aric Belsito <lluixhi <AT> gmail <DOT> com>
AuthorDate: Thu Jul 6 23:16:07 2017 +0000
Commit: Aric Belsito <lluixhi <AT> gmail <DOT> com>
CommitDate: Thu Jul 6 23:16:07 2017 +0000
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=315c11a1
dev-libs/libbsd: version bump to 0.8.5
build errors in xorg-server for some reason.
dev-libs/libbsd/Manifest | 3 +
| 180 +++++++++++++++++++++
dev-libs/libbsd/libbsd-0.8.5.ebuild | 45 ++++++
3 files changed, 228 insertions(+)
diff --git a/dev-libs/libbsd/Manifest b/dev-libs/libbsd/Manifest
index c8c1459..b96748d 100644
--- a/dev-libs/libbsd/Manifest
+++ b/dev-libs/libbsd/Manifest
@@ -1,9 +1,12 @@
AUX libbsd-0.8.2-musl.patch 1160 SHA256 9960810bd2c2173ef56d3c40bd3c07b88d278fadbce6c533e83d5baffd673174 SHA512 1a5db0e4cb1a46b92d5415562246df66017b0daf3cf7d208c98a4da09e6277ae97ab7783310a410e8d93496a8698a6b279c7a2c48d74e433b494f938f0cd018f WHIRLPOOL 3dfdbb90333dad189335520cbdd698ce071d2a33e5e4a5289edd72d91155e5f75975ffac7f41699a4bd4ce0271f568b4568daa4a71334dc18d8d0e3dad89f7a6
AUX libbsd-0.8.3-cdefs.patch 6102 SHA256 52c3453e878a7a4aad76977e40bafb82a59ddde217089fcfec9e92e54cdd7572 SHA512 924021930911012441414b077541b18ad68a283568dbc45bd27ab734e868cf1fefb59d8aa2f75bea7c8fe100169426c2c885d8da3e88456e946725897890e5e2 WHIRLPOOL 4ef017c98f6b30207e25bf677c37b7729208393beb9066ca3fd19057b65fd87fc4ed6aee031f578f3482ae536384690d1872f64a9357cafb9b336e43950d8c2e
AUX libbsd-0.8.3-musl.patch 784 SHA256 9d8955d027719eb9d8209b9ebf3fc142b70d6185d32bb89d28a82b6143b3718e SHA512 7f8147a60c3d5dd62757045df67e13c7a09e9fbc1c96b457adf4efa77f6f3271be72d9f0fe1bfbccd0bc2eaf1502eed039030ef5ad53f2e30a7fa28b4e988d77 WHIRLPOOL 3c27788198ee7ede664ad9b095e15c83bdfe0f26b822a63dd79709837b92eb63929ac184449ec8fc72d71424c7c3fa9eb3371610e922248653b999010151bfe1
+AUX libbsd-0.8.5-cdef-headers.patch 5522 SHA256 6d16cb43913b3a2da21fb63b265a334a4fccc7c3053d62720c3e4a61d9bc8d9e SHA512 95a64bc751fd817a0c3b809d0a5bae696e4b80057a17288f8f6a99e99bd5414379ea0da7050c4dfa89204fadc28d7b0526eb1f4b913499eea03102e6c5117988 WHIRLPOOL 59646b45cb22f5162591fd94d77b84c6067a8a19e1edcc063ae6d717c6c82e0ac00f083f1daa4c5bda25831554c45d75e40f7e5ec7e73dad7cb3a2ebd4a480f7
DIST libbsd-0.8.2.tar.xz 344292 SHA256 b2f644cae94a6e2fe109449c20ad79a0f6ee4faec2205b07eefa0020565e250a SHA512 2230d51a30a0c3a8518c7e325036d2b578c8c2b47525c2d0d5f530d28d82227ad48b50341e44521db21f99208fe7c0df7313254c90e3c92da1c8664a8cbb87c5 WHIRLPOOL 4f9b09aaa7c0775cd46bf0aaaba9e9a7f07040262739002bf3966aace3bb4d782f96b176e2c489e7d7cbc0840eecc463a414dee1b5c92414c9a821796d739290
DIST libbsd-0.8.3.tar.xz 356772 SHA256 934b634f4dfd865b6482650b8f522c70ae65c463529de8be907b53c89c3a34a8 SHA512 155b895d6bd62b180718d65a2cda7484946c492d52735a57b51005705dfe4528b6a72e8745acea47b01fe68e3bbbe3c036c5e9998a8d06fc79efe2b96a04767f WHIRLPOOL ab74a85813ea3308e7e4c53b7a46f4b93e4dff4d091964a6347f9960729e8eb4c8a2a0866938de508caf47caf9371f14499fcb0cc4aa30da06f501f4ccad9ef2
+DIST libbsd-0.8.5.tar.xz 370680 SHA256 7647d024f41389305272c263da933a6f2a978213c1801592f47e68d83ac05b28 SHA512 bb122862ce8b789e530e9ca1a777d4219db2066ad89fe6028a833a5dc33ac0cd6b553ef5a0a42962d4a594c1f410304fd553b8fab583db539989ec7cca85baf0 WHIRLPOOL 6a621bf56ec6660cef7663dec62c0623d85931a56239f435e60bff7df8c4150ef378bff03801f67f798d0e640dc1dd061457a3b6df6a2f3f20a03b66fba14ebd
EBUILD libbsd-0.8.2.ebuild 1235 SHA256 3bd39fb377334b96185a7b7022eab7e80a5b635ccaebf4a464a6dc020c2dddd6 SHA512 8101da8fb30a3fd3cbbbbb52c2a85c3537f743aba670b4917f2e6e7d29ef946ecabb8031f97b847752a6d48d58dacba0f4aeac1402a271f0b93a32ed05f60f4d WHIRLPOOL ac583480897e075e68d6a076a322792914896b7e00ae4a2e161b47cbe5a26642b4e84fc84ca69219d3d1c6069832bdb89101c65e29a28cdc08d36f0c203ca664
EBUILD libbsd-0.8.3-r2.ebuild 1367 SHA256 88530ca86520693d45e2ba1f518c5a78ab30e01ea6305e6954e5def7294142f8 SHA512 b103da5c43a6c4ae5b8b9f4448d304fcb34265249af2ee986a6b3e52bb8e587b3aa9b4d5bdcd40871d6e09b703898fb0777748bff084622826743f9f671401c7 WHIRLPOOL 4244b6f7bb3ba49d7163f617bd8577ae2c4081f53420f19b991bfcbf40b33b48f108cb874882700d159fe605027595faddaff88ca07799cc156e5c5927bb06bb
EBUILD libbsd-0.8.3.ebuild 1276 SHA256 e2d7c73ffaa1eae5bfee67693183100c346db5adb2841ac63ac30acd114ca104 SHA512 9051d6869bebaad74992aafc54d60551d3829ed9bd8ec59838fc2602138f40361ec92d56f818f7f537f0b90d56c5d4506c96f89d7689f29548d40896910da94a WHIRLPOOL 608370f87e1d265a6fddf65d53c4ca0217b34d5686daecf2bc6eafae35aaa11dad46850ece56567a2107d3818ada680c3c3682c98a86047d6678fb68d18ca725
+EBUILD libbsd-0.8.5.ebuild 1254 SHA256 26ff9dff994376506f36c10e6d2cbd1f6901646f31b1a8396a23aa653a5b3d98 SHA512 b6cb502885001b21c8319eb9d98c53ae42f10d9351689bfd180c47599b934b30128fd2ff6ed8e5434df2e654b4c76b6a9faa504996161cfa1f58646c5c00e4d0 WHIRLPOOL 56de60c7d349267658dd25834842c2e03724ae0c2f8abe95a6ca7dc2e1203feccf265d4eb9ccd06911c074dd3595a68a9edb874d7fb780d58a6d6a2c75212431
MISC metadata.xml 276 SHA256 6bb81cdb026b199d78fb2a2327320a915a3bd241a9300bb069bd9c998521f613 SHA512 673180ba375ea401c0a8f197d516417b3f9361b11943c71bac88b0d0b1407b0bc657f5763c6fb6e429cc6ee112869a2247083fe56743e9ce918855c0ea929e59 WHIRLPOOL d494386e01171fe51879cf968a6cebca04c22477f3b8a52bfdd17b9ee06afd99c3979396f7abf40bee698d6fbb060e2f37e083cb3ed010c018d84211a2bc7cd0
--git a/dev-libs/libbsd/files/libbsd-0.8.5-cdef-headers.patch b/dev-libs/libbsd/files/libbsd-0.8.5-cdef-headers.patch
new file mode 100644
index 0000000..1e633ad
--- /dev/null
+++ b/dev-libs/libbsd/files/libbsd-0.8.5-cdef-headers.patch
@@ -0,0 +1,180 @@
+diff -Naur libbsd-0.8.5.orig/include/bsd/libutil.h libbsd-0.8.5/include/bsd/libutil.h
+--- libbsd-0.8.5.orig/include/bsd/libutil.h 2017-07-06 16:08:04.619303082 -0700
++++ libbsd-0.8.5/include/bsd/libutil.h 2017-07-06 16:12:50.818328308 -0700
+@@ -40,7 +40,11 @@
+ #define LIBBSD_LIBUTIL_H
+
+ #include <features.h>
++#ifdef LIBBSD_OVERLAY
+ #include <sys/cdefs.h>
++#else
++#include <bsd/sys/cdefs.h>
++#endif
+ #include <sys/types.h>
+ #include <stdint.h>
+ #include <stdio.h>
+diff -Naur libbsd-0.8.5.orig/include/bsd/md5.h libbsd-0.8.5/include/bsd/md5.h
+--- libbsd-0.8.5.orig/include/bsd/md5.h 2017-07-06 16:08:04.619303082 -0700
++++ libbsd-0.8.5/include/bsd/md5.h 2017-07-06 16:13:04.431483349 -0700
+@@ -27,7 +27,11 @@
+ uint8_t buffer[MD5_BLOCK_LENGTH]; /* input buffer */
+ } MD5_CTX;
+
++#ifdef LIBBSD_OVERLAY
+ #include <sys/cdefs.h>
++#else
++#include <bsd/sys/cdefs.h>
++#endif
+ #include <sys/types.h>
+
+ __BEGIN_DECLS
+diff -Naur libbsd-0.8.5.orig/include/bsd/nlist.h libbsd-0.8.5/include/bsd/nlist.h
+--- libbsd-0.8.5.orig/include/bsd/nlist.h 2017-07-06 16:08:04.618303071 -0700
++++ libbsd-0.8.5/include/bsd/nlist.h 2017-07-06 16:09:48.534486197 -0700
+@@ -27,7 +27,11 @@
+ #ifndef LIBBSD_NLIST_H
+ #define LIBBSD_NLIST_H
+
++#ifdef LIBBSD_OVERLAY
+ #include <sys/cdefs.h>
++#else
++#include <bsd/sys/cdefs.h>
++#endif
+
+ struct nlist {
+ union {
+diff -Naur libbsd-0.8.5.orig/include/bsd/readpassphrase.h libbsd-0.8.5/include/bsd/readpassphrase.h
+--- libbsd-0.8.5.orig/include/bsd/readpassphrase.h 2017-07-06 16:08:04.619303082 -0700
++++ libbsd-0.8.5/include/bsd/readpassphrase.h 2017-07-06 16:09:03.248970623 -0700
+@@ -31,7 +31,11 @@
+ #define RPP_SEVENBIT 0x10 /* Strip the high bit from input. */
+ #define RPP_STDIN 0x20 /* Read from stdin, not /dev/tty */
+
++#ifdef LIBBSD_OVERLAY
+ #include <sys/cdefs.h>
++#else
++#include <bsd/sys/cdefs.h>
++#endif
+ #include <sys/types.h>
+
+ __BEGIN_DECLS
+diff -Naur libbsd-0.8.5.orig/include/bsd/stdlib.h libbsd-0.8.5/include/bsd/stdlib.h
+--- libbsd-0.8.5.orig/include/bsd/stdlib.h 2017-07-06 16:08:04.619303082 -0700
++++ libbsd-0.8.5/include/bsd/stdlib.h 2017-07-06 16:12:34.317140374 -0700
+@@ -42,7 +42,11 @@
+ #ifndef LIBBSD_STDLIB_H
+ #define LIBBSD_STDLIB_H
+
++#ifdef LIBBSD_OVERLAY
+ #include <sys/cdefs.h>
++#else
++#include <bsd/sys/cdefs.h>
++#endif
+ #include <sys/stat.h>
+ #include <stdint.h>
+
+diff -Naur libbsd-0.8.5.orig/include/bsd/string.h libbsd-0.8.5/include/bsd/string.h
+--- libbsd-0.8.5.orig/include/bsd/string.h 2017-07-06 16:08:04.616303048 -0700
++++ libbsd-0.8.5/include/bsd/string.h 2017-07-06 16:11:30.373645631 -0700
+@@ -33,7 +33,11 @@
+ #ifndef LIBBSD_STRING_H
+ #define LIBBSD_STRING_H
+
++#ifdef LIBBSD_OVERLAY
+ #include <sys/cdefs.h>
++#else
++#include <bsd/sys/cdefs.h>
++#endif
+ #include <sys/types.h>
+
+ __BEGIN_DECLS
+diff -Naur libbsd-0.8.5.orig/include/bsd/stringlist.h libbsd-0.8.5/include/bsd/stringlist.h
+--- libbsd-0.8.5.orig/include/bsd/stringlist.h 2017-07-06 16:08:04.618303071 -0700
++++ libbsd-0.8.5/include/bsd/stringlist.h 2017-07-06 16:10:04.714670407 -0700
+@@ -31,7 +31,11 @@
+
+ #ifndef LIBBSD_STRINGLIST_H
+ #define LIBBSD_STRINGLIST_H
++#ifdef LIBBSD_OVERLAY
+ #include <sys/cdefs.h>
++#else
++#include <bsd/sys/cdefs.h>
++#endif
+ #include <sys/types.h>
+
+ /*
+diff -Naur libbsd-0.8.5.orig/include/bsd/sys/queue.h libbsd-0.8.5/include/bsd/sys/queue.h
+--- libbsd-0.8.5.orig/include/bsd/sys/queue.h 2017-07-06 16:08:04.617303059 -0700
++++ libbsd-0.8.5/include/bsd/sys/queue.h 2017-07-06 16:10:50.413190683 -0700
+@@ -33,7 +33,11 @@
+ #ifndef LIBBSD_SYS_QUEUE_H
+ #define LIBBSD_SYS_QUEUE_H
+
++#ifdef LIBBSD_OVERLAY
+ #include <sys/cdefs.h>
++#else
++#include <bsd/sys/cdefs.h>
++#endif
+
+ /*
+ * This file defines four types of data structures: singly-linked lists,
+diff -Naur libbsd-0.8.5.orig/include/bsd/sys/tree.h libbsd-0.8.5/include/bsd/sys/tree.h
+--- libbsd-0.8.5.orig/include/bsd/sys/tree.h 2017-07-06 16:08:04.616303048 -0700
++++ libbsd-0.8.5/include/bsd/sys/tree.h 2017-07-06 16:10:36.518032487 -0700
+@@ -30,7 +30,11 @@
+ #ifndef LIBBSD_SYS_TREE_H
+ #define LIBBSD_SYS_TREE_H
+
++#ifdef LIBBSD_OVERLAY
+ #include <sys/cdefs.h>
++#else
++#include <bsd/sys/cdefs.h>
++#endif
+
+ /*
+ * This file defines data structures for different types of trees:
+diff -Naur libbsd-0.8.5.orig/include/bsd/timeconv.h libbsd-0.8.5/include/bsd/timeconv.h
+--- libbsd-0.8.5.orig/include/bsd/timeconv.h 2017-07-06 16:08:04.618303071 -0700
++++ libbsd-0.8.5/include/bsd/timeconv.h 2017-07-06 16:09:22.051184685 -0700
+@@ -41,7 +41,11 @@
+ #ifndef LIBBSD_TIMECONV_H
+ #define LIBBSD_TIMECONV_H
+
++#ifdef LIBBSD_OVERLAY
+ #include <sys/cdefs.h>
++#else
++#include <bsd/sys/cdefs.h>
++#endif
+ #include <stdint.h>
+ #include <time.h>
+
+diff -Naur libbsd-0.8.5.orig/include/bsd/vis.h libbsd-0.8.5/include/bsd/vis.h
+--- libbsd-0.8.5.orig/include/bsd/vis.h 2017-07-06 16:08:04.618303071 -0700
++++ libbsd-0.8.5/include/bsd/vis.h 2017-07-06 16:11:53.812912487 -0700
+@@ -72,7 +72,11 @@
+ */
+ #define UNVIS_END 1 /* no more characters */
+
++#ifdef LIBBSD_OVERLAY
+ #include <sys/cdefs.h>
++#else
++#include <bsd/sys/cdefs.h>
++#endif
+
+ __BEGIN_DECLS
+ char *vis(char *, int, int, int);
+diff -Naur libbsd-0.8.5.orig/include/bsd/wchar.h libbsd-0.8.5/include/bsd/wchar.h
+--- libbsd-0.8.5.orig/include/bsd/wchar.h 2017-07-06 16:08:04.617303059 -0700
++++ libbsd-0.8.5/include/bsd/wchar.h 2017-07-06 16:12:15.509834163 -0700
+@@ -40,7 +40,11 @@
+ #define LIBBSD_WCHAR_H
+
+ #include <stddef.h>
++#ifdef LIBBSD_OVERLAY
+ #include <sys/cdefs.h>
++#else
++#include <bsd/sys/cdefs.h>
++#endif
+ #include <sys/types.h>
+
+ __BEGIN_DECLS
diff --git a/dev-libs/libbsd/libbsd-0.8.5.ebuild b/dev-libs/libbsd/libbsd-0.8.5.ebuild
new file mode 100644
index 0000000..8a752d3
--- /dev/null
+++ b/dev-libs/libbsd/libbsd-0.8.5.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit multilib-minimal
+
+DESCRIPTION="An library to provide useful functions commonly found on BSD systems"
+HOMEPAGE="https://libbsd.freedesktop.org/wiki/"
+SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz"
+
+LICENSE="BSD BSD-2 BSD-4 ISC"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+DEPEND=">=sys-kernel/linux-headers-3.17"
+RDEPEND=""
+
+src_prepare() {
+ eapply "${FILESDIR}"/${P}-cdef-headers.patch
+ default
+}
+
+pkg_setup() {
+ local f="${EROOT}/usr/$(get_libdir)/${PN}.a"
+ local m="You need to remove ${f} by hand or re-emerge sys-libs/glibc first."
+ if ! has_version ${CATEGORY}/${PN}; then
+ if [[ -e ${f} ]]; then
+ eerror "${m}"
+ die "${m}"
+ fi
+ fi
+}
+
+multilib_src_configure() {
+ # The build system will install libbsd-ctor.a despite of USE="-static-libs"
+ # which is correct, see:
+ # https://cgit.freedesktop.org/libbsd/commit/?id=c5b959028734ca2281250c85773d9b5e1d259bc8
+ ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+ find "${ED}" -name "*.la" -delete || die
+}
next reply other threads:[~2017-07-06 23:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-06 23:16 Aric Belsito [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-02-12 23:58 [gentoo-commits] proj/musl:master commit in: dev-libs/libbsd/files/, dev-libs/libbsd/ Anthony G. Basile
2018-01-30 21:42 Aric Belsito
2017-11-11 19:19 Anthony G. Basile
2017-07-20 18:44 Aric Belsito
2017-06-18 15:49 Aric Belsito
2016-04-05 11:27 Anthony G. Basile
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1499382967.315c11a18427e62e422a4f4b8cc943266118e0d0.lluixhi@gentoo \
--to=lluixhi@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox