diff options
author | Pacho Ramos <pacho@gentoo.org> | 2019-12-15 13:27:57 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2019-12-15 13:35:58 +0100 |
commit | 8cf8369dccd5dfbca05b5cbf6286e95552426552 (patch) | |
tree | 18c2556851e2fa57de946868d26e2e307aadc6e5 /dev-libs | |
parent | app-doc/eclass-manpages: Use BDEPEND for build utilities. (diff) | |
download | gentoo-8cf8369dccd5dfbca05b5cbf6286e95552426552.tar.gz gentoo-8cf8369dccd5dfbca05b5cbf6286e95552426552.tar.bz2 gentoo-8cf8369dccd5dfbca05b5cbf6286e95552426552.zip |
dev-libs/libbsd: Drop old
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libbsd/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libbsd/files/libbsd-0.9.1-missing-header.patch | 43 | ||||
-rw-r--r-- | dev-libs/libbsd/libbsd-0.9.1.ebuild | 44 |
3 files changed, 0 insertions, 88 deletions
diff --git a/dev-libs/libbsd/Manifest b/dev-libs/libbsd/Manifest index 857f6a1f9c91..5a70770bb835 100644 --- a/dev-libs/libbsd/Manifest +++ b/dev-libs/libbsd/Manifest @@ -1,2 +1 @@ DIST libbsd-0.10.0.tar.xz 393576 BLAKE2B 66005a511dae7fb799322c813b8ea058ab460e3b9044756d6efad5de741d8f70270496f09803bbce8cd0000ff37e998f18e092037c850826c3c8e3f47ddfdb28 SHA512 b75529785b16c93d31401187f8a58258fbebe565dac071c8311775c913af989f62cd29d5ce2651af3ea6221cffd31cf04826577d3e546ab9ca14340f297777b9 -DIST libbsd-0.9.1.tar.xz 387180 BLAKE2B 40dd82ca1088ee7aae8b3d7685e8514eec702bf7ada7ef98f7177cad92b7e0fccc22a953b35f0f27202eb56833b31a81bef1324d43864d1b80887ba7c58684d5 SHA512 435822b8f2495a5e2705e5ab5c834a4f0f3a177b3e5c46a7c6162924507ca984e957e94a512b5ebd0067ecb413bac458fade357709ef199e9b75edf0315de91c diff --git a/dev-libs/libbsd/files/libbsd-0.9.1-missing-header.patch b/dev-libs/libbsd/files/libbsd-0.9.1-missing-header.patch deleted file mode 100644 index 7ca2b881a388..000000000000 --- a/dev-libs/libbsd/files/libbsd-0.9.1-missing-header.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 13c32916b4baab58d93940d57fea9ff0777f1931 Mon Sep 17 00:00:00 2001 -From: Baruch Siach <baruch@tkos.co.il> -Date: Tue, 5 Jun 2018 19:21:46 +0300 -Subject: flopen: Add missing <fcntl.h> include -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Commit 993828d84ee (Add flopenat() function from FreeBSD) dropped the -fcntl.h header. This breaks the build with musl libc: - -flopen.c: In function ‘vflopenat’: -flopen.c:60:14: error: ‘O_CREAT’ undeclared (first use in this function) - if (flags & O_CREAT) { - ^~~~~~~ - -Restore the fcntl.h header include to fix the build. - -Fixes: commit 993828d84eed0468c6c15b2818e534e6b134b8e4 -Submitted-also-by: parazyd <parazyd@dyne.org> -Signed-off-by: Baruch Siach <baruch@tkos.co.il> -Signed-off-by: Guillem Jover <guillem@hadrons.org> ---- - src/flopen.c | 1 + - 1 file changed, 1 insertion(+) - -(limited to 'src/flopen.c') - -diff --git a/src/flopen.c b/src/flopen.c -index b9972c9..ff20d07 100644 ---- a/src/flopen.c -+++ b/src/flopen.c -@@ -32,6 +32,7 @@ - #include <sys/stat.h> - - #include <errno.h> -+#include <fcntl.h> - #include <stdarg.h> - #include <unistd.h> - --- -cgit v1.1 - diff --git a/dev-libs/libbsd/libbsd-0.9.1.ebuild b/dev-libs/libbsd/libbsd-0.9.1.ebuild deleted file mode 100644 index 858d6676ad1f..000000000000 --- a/dev-libs/libbsd/libbsd-0.9.1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# 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/ https://gitlab.freedesktop.org/libbsd/libbsd" -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 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="static-libs" - -DEPEND=">=sys-kernel/linux-headers-3.17" -RDEPEND="" - -PATCHES=( - "${FILESDIR}/${P}-missing-header.patch" -) - -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://gitlab.freedesktop.org/libbsd/libbsd/commit/c5b959028734ca2281250c85773d9b5e1d259bc8 - ECONF_SOURCE="${S}" econf $(use_enable static-libs static) -} - -multilib_src_install() { - emake DESTDIR="${D}" install - find "${ED}" -name "*.la" -delete || die -} |