From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/, net-wireless/bluez/files/
Date: Wed, 05 Mar 2025 11:40:42 +0000 (UTC) [thread overview]
Message-ID: <1741174783.ce6bf38212b9170a95e65a7e40e3535ac65af173.sam@gentoo> (raw)
commit: ce6bf38212b9170a95e65a7e40e3535ac65af173
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Tue Mar 4 15:22:37 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 5 11:39:43 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce6bf382
net-wireless/bluez: fix build with slibtoolize
Closes: https://bugs.gentoo.org/950467
Upstream-Commit: https://web.git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=b71c5327926696223dba0d78f4c9fe36767d16ec
Signed-off-by: orbea <orbea <AT> riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/40887
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-wireless/bluez/bluez-5.79.ebuild | 5 +++-
.../bluez/files/bluez-5.79-slibtoolize.patch | 34 ++++++++++++++++++++++
2 files changed, 38 insertions(+), 1 deletion(-)
diff --git a/net-wireless/bluez/bluez-5.79.ebuild b/net-wireless/bluez/bluez-5.79.ebuild
index 2fef6edd4005..80455e9f47df 100644
--- a/net-wireless/bluez/bluez-5.79.ebuild
+++ b/net-wireless/bluez/bluez-5.79.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -76,6 +76,9 @@ PATCHES=(
# bug #944059
"${FILESDIR}"/${P}-c23.patch
+
+ # bug #950467
+ "${FILESDIR}"/${P}-slibtoolize.patch
)
pkg_setup() {
diff --git a/net-wireless/bluez/files/bluez-5.79-slibtoolize.patch b/net-wireless/bluez/files/bluez-5.79-slibtoolize.patch
new file mode 100644
index 000000000000..ff50d4cd8c7c
--- /dev/null
+++ b/net-wireless/bluez/files/bluez-5.79-slibtoolize.patch
@@ -0,0 +1,34 @@
+https://web.git.kernel.org/pub/scm/bluetooth/bluez.git/patch/?id=b71c5327926696223dba0d78f4c9fe36767d16ec
+
+From b71c5327926696223dba0d78f4c9fe36767d16ec Mon Sep 17 00:00:00 2001
+From: orbea <orbea@riseup.net>
+Date: Mon, 3 Mar 2025 16:50:06 -0800
+Subject: configure.ac: check for stdio.h
+
+This fixes a configure failure for readline.h with slibtoolize which
+depends on HAVE_STDIO_H being defined. With GNU libtoolize this check is
+implicit and with slibtoolize it will fail instead.
+
+ error: unknown type name 'FILE'
+
+Since bluez depends on stdio.h itself there is no reason to not check
+for it explicitly.
+
+Gentoo-Issue: https://bugs.gentoo.org/950467
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 6a19487f62..32e0a78762 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -70,7 +70,7 @@ AC_CHECK_LIB(pthread, pthread_create, dummy=yes,
+ AC_CHECK_LIB(dl, dlopen, dummy=yes,
+ AC_MSG_ERROR(dynamic linking loader is required))
+
+-AC_CHECK_HEADERS(string.h linux/types.h linux/if_alg.h linux/uinput.h linux/uhid.h sys/random.h)
++AC_CHECK_HEADERS(stdio.h string.h linux/types.h linux/if_alg.h linux/uinput.h linux/uhid.h sys/random.h)
+
+ # basename may be only available in libgen.h with the POSIX behavior,
+ # not desired here
next reply other threads:[~2025-03-05 11:41 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-05 11:40 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-24 22:30 [gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/, net-wireless/bluez/files/ Sam James
2024-11-08 15:51 Pacho Ramos
2024-09-24 6:12 Sam James
2024-09-15 11:41 Pacho Ramos
2024-06-16 11:40 Pacho Ramos
2023-08-23 14:49 Pacho Ramos
2023-07-08 10:00 Pacho Ramos
2023-01-31 5:56 Sam James
2022-09-11 7:50 Pacho Ramos
2022-09-11 7:50 Pacho Ramos
2022-04-18 16:27 Pacho Ramos
2022-01-09 19:52 Pacho Ramos
2021-12-02 13:31 Pacho Ramos
2021-07-08 8:09 Pacho Ramos
2021-06-05 10:53 Pacho Ramos
2020-03-11 15:01 Pacho Ramos
2019-11-10 12:11 Pacho Ramos
2019-11-10 12:11 Pacho Ramos
2019-10-20 8:55 Pacho Ramos
2019-09-29 13:47 Pacho Ramos
2019-04-29 12:22 Pacho Ramos
2016-04-09 10:49 Pacho Ramos
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=1741174783.ce6bf38212b9170a95e65a7e40e3535ac65af173.sam@gentoo \
--to=sam@gentoo.org \
--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