[gentoo-commits] repo/gentoo:master commit in: dev-libs/libbsd/, dev-libs/libbsd/files/

2024-03-18 Thread Michał Górny
commit: c96099a85a04059aeaff04df8f59f844822fba01
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Mar 19 05:48:17 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Mar 19 05:52:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c96099a8

dev-libs/libbsd: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/libbsd/Manifest   |  2 -
 dev-libs/libbsd/files/libbsd-0.11.7-musl-lfs.patch | 32 
 ...x-version-script-linker-support-detection.patch | 36 -
 dev-libs/libbsd/libbsd-0.11.7-r2.ebuild| 61 --
 4 files changed, 131 deletions(-)

diff --git a/dev-libs/libbsd/Manifest b/dev-libs/libbsd/Manifest
index 531b167b5372..5feead1ee32f 100644
--- a/dev-libs/libbsd/Manifest
+++ b/dev-libs/libbsd/Manifest
@@ -1,5 +1,3 @@
-DIST libbsd-0.11.7.tar.xz 418508 BLAKE2B 
2ff0aa951c5b37a58ab101aade52d077d52f3695bb8535c99dec89659775501d93af16f164fef946776f445ee88a276d00870f64cb3fef58942ce26af6d2eaa9
 SHA512 
51fda4724f41dd8a4628afd58c21236a7588d9045e337e06eeabf83805a953705441ca901ad11f1c65f18e881523bdc97721a7d3d6a5cced27f2450d09a2
-DIST libbsd-0.11.7.tar.xz.asc 833 BLAKE2B 
925cd4f5b68c0dccceb476cb188bb5a8185ad77895b9b458ff6819ae241dbd8cbf1c18dd12d10b90b3a9ea3f9e065b44566d1a908d0c111ecbd435434b922a66
 SHA512 
bdcce69ee261039900896c5be48659f1b6b809f3a6e8a5220aac30a6687926ac29e478a3ea737727d077d6575ee11b86eed896932568fdd261a9aaeb46d695b6
 DIST libbsd-0.11.8.tar.xz 432376 BLAKE2B 
b2b9496423f177af7cba3c55c071b58a314ad987bd04fee5c93dc1885a501a923048f676d00dcb70c8cfa37de775c6ec64224dfecce1d0eaed50b8c27ec0c001
 SHA512 
0173fc20e2471f96bc6677500a02fbccef7463e023445f47681843c9a94b1fa9970c5af7d2f87f1a1e7f8a7bb60112988defc073828fd2a0dcd0e66e44e67295
 DIST libbsd-0.11.8.tar.xz.asc 931 BLAKE2B 
3841b81fa8bcdf0e27a41c769691dbefbb82073a18e3a30580794e0242c903bd0b512d31d6e897f8fa98ef3a3cf0dc08a413040ead00caa63f0b993396e1f2fe
 SHA512 
a24355f9151f1da62e1f4f37280eec57ee7a32205b493d973d59231382c878e4373d4cf83ec41612536ef9361fe43e68331217c96c59b6741e7827272369ff2c
 DIST libbsd-0.12.1.tar.xz 444048 BLAKE2B 
74af2c1f3254fe1e1527c31c5518a8097e9f3a377c497bdb40df262ae00e2244ae460c8f5df6c6533f83c02eaa08621ef1cfbc2a83b9bb28bd77433ff7c088bd
 SHA512 
c45c7861b63295c118f53ce868437ad73887b6764708d0a348b796f5abe2cefc9adbb0dd3be23f6348d6bf63a9920a13b7f90d065299cac5a05ce0376211073a

diff --git a/dev-libs/libbsd/files/libbsd-0.11.7-musl-lfs.patch 
b/dev-libs/libbsd/files/libbsd-0.11.7-musl-lfs.patch
deleted file mode 100644
index 41cc27e75237..
--- a/dev-libs/libbsd/files/libbsd-0.11.7-musl-lfs.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-https://bugs.gentoo.org/905912
-https://gitlab.freedesktop.org/libbsd/libbsd/-/merge_requests/24
-
-From c36c29f014b0ef56a3aef984fa40b0e100b6f419 Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Thu, 15 Dec 2022 09:02:22 -0800
-Subject: [PATCH] funopen: Replace off64_t with off_t in funopen_seek
-
-AC_SYS_LARGEFILE in configure.ac is setting needed defines to make
-64bit off_t on relevant platforms.
-
-Fixes build on musl
-
-| ../../../../../../../../workspace/sources/libbsd/src/funopen.c:68:28: error: 
unknown type name 'off64_t'; did you mean 'off_t'?
-| funopen_seek(void *cookie, off64_t *offset, int whence)
-|^~~
-|off_t
-
-Signed-off-by: Khem Raj 
 a/src/funopen.c
-+++ b/src/funopen.c
-@@ -65,7 +65,7 @@ funopen_write(void *cookie, const char *buf, size_t size)
- }
- 
- static int
--funopen_seek(void *cookie, off64_t *offset, int whence)
-+funopen_seek(void *cookie, off_t *offset, int whence)
- {
-   struct funopen_cookie *cookiewrap = cookie;
-   off_t soff = *offset;
--- 
-GitLab

diff --git 
a/dev-libs/libbsd/files/libbsd-build-Fix-version-script-linker-support-detection.patch
 
b/dev-libs/libbsd/files/libbsd-build-Fix-version-script-linker-support-detection.patch
deleted file mode 100644
index 2e45429021ff..
--- 
a/dev-libs/libbsd/files/libbsd-build-Fix-version-script-linker-support-detection.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From dec783dce5a7131e232a06e63a544645b5463dd8 Mon Sep 17 00:00:00 2001
-From: Guillem Jover 
-Date: Sun, 12 Feb 2023 23:55:09 +0100
-Subject: [PATCH] build: Fix version script linker support detection
-
-When the linker uses --no-undefined-version either specified by the user
-or as the default behavior (such as with newer clang >= 16 releases),
-a missing symbol definition will cause a linker error if that symbol is
-listed in the version script.
-
-Upstream commit: 
https://gitlab.freedesktop.org/libbsd/libbsd/-/commit/dec783dce5a7131e232a06e63a544645b5463dd8
-

- configure.ac | 6 +-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 17d113c..7d17a93 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -33,7 +33,11 @@ AC_CACHE_CHECK([if ld supports --version-script flag],
- save_LDFLAGS=$LDFLAGS
- L

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libbsd/, dev-libs/libbsd/files/

2019-12-15 Thread Pacho Ramos
commit: 8cf8369dccd5dfbca05b5cbf6286e95552426552
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Dec 15 12:27:57 2019 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Dec 15 12:35:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cf8369d

dev-libs/libbsd: Drop old

Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Pacho Ramos  gentoo.org>

 dev-libs/libbsd/Manifest   |  1 -
 .../libbsd/files/libbsd-0.9.1-missing-header.patch | 43 -
 dev-libs/libbsd/libbsd-0.9.1.ebuild| 44 --
 3 files changed, 88 deletions(-)

diff --git a/dev-libs/libbsd/Manifest b/dev-libs/libbsd/Manifest
index 857f6a1f9c9..5a70770bb83 100644
--- a/dev-libs/libbsd/Manifest
+++ b/dev-libs/libbsd/Manifest
@@ -1,2 +1 @@
 DIST libbsd-0.10.0.tar.xz 393576 BLAKE2B 
66005a511dae7fb799322c813b8ea058ab460e3b9044756d6efad5de741d8f70270496f09803bbce8cdff37e998f18e092037c850826c3c8e3f47ddfdb28
 SHA512 
b75529785b16c93d31401187f8a58258fbebe565dac071c8311775c913af989f62cd29d5ce2651af3ea6221cffd31cf04826577d3e546ab9ca14340f29b9
-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 7ca2b881a38..000
--- 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 
-Date: Tue, 5 Jun 2018 19:21:46 +0300
-Subject: flopen: Add missing  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 
-Signed-off-by: Baruch Siach 
-Signed-off-by: Guillem Jover 

- 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 
- 
- #include 
-+#include 
- #include 
- #include 
- 
--- 
-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 858d6676ad1..000
--- 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
-}