From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7BBC61582EF for ; Wed, 05 Mar 2025 11:41:13 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 6788A3430AC for ; Wed, 05 Mar 2025 11:41:13 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 9FC64110474; Wed, 05 Mar 2025 11:40:46 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 97571110474 for ; Wed, 05 Mar 2025 11:40:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4F065343027 for ; Wed, 05 Mar 2025 11:40:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8E23F2894 for ; Wed, 05 Mar 2025 11:40:42 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1741174783.ce6bf38212b9170a95e65a7e40e3535ac65af173.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/bluez/, net-wireless/bluez/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/bluez/bluez-5.79.ebuild net-wireless/bluez/files/bluez-5.79-slibtoolize.patch X-VCS-Directories: net-wireless/bluez/ net-wireless/bluez/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ce6bf38212b9170a95e65a7e40e3535ac65af173 X-VCS-Branch: master Date: Wed, 05 Mar 2025 11:40:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ed312544-976b-4fab-aa66-4f0ce6a11c71 X-Archives-Hash: 5d024e6d724258a8061fa91ca44144f5 commit: ce6bf38212b9170a95e65a7e40e3535ac65af173 Author: orbea riseup net> AuthorDate: Tue Mar 4 15:22:37 2025 +0000 Commit: Sam James gentoo 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 riseup.net> Closes: https://github.com/gentoo/gentoo/pull/40887 Signed-off-by: Sam James 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 +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