From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1A562158087 for ; Thu, 3 Feb 2022 07:08:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 367D8E07D9; Thu, 3 Feb 2022 07:08:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 216E8E07D9 for ; Thu, 3 Feb 2022 07:08:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 07ABC342ADD for ; Thu, 3 Feb 2022 07:07:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 965992AF for ; Thu, 3 Feb 2022 07:07:57 +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: <1643872059.80805d85ad317c4c9e484b68272552f6aedfc8d9.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pcsc-lite/, sys-apps/pcsc-lite/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/pcsc-lite/files/pcsc-lite-1.9.5-no-libusb-udev.patch sys-apps/pcsc-lite/pcsc-lite-1.9.5.ebuild X-VCS-Directories: sys-apps/pcsc-lite/files/ sys-apps/pcsc-lite/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 80805d85ad317c4c9e484b68272552f6aedfc8d9 X-VCS-Branch: master Date: Thu, 3 Feb 2022 07:07:57 +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: 2611a0dc-e430-447f-bdaf-a20530cc2135 X-Archives-Hash: 5548e412c50250b09caff77b75729603 commit: 80805d85ad317c4c9e484b68272552f6aedfc8d9 Author: Sam James gentoo org> AuthorDate: Thu Feb 3 07:07:39 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu Feb 3 07:07:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80805d85 sys-apps/pcsc-lite: fix build without udev/libusb Closes: https://bugs.gentoo.org/832593 Signed-off-by: Sam James gentoo.org> .../files/pcsc-lite-1.9.5-no-libusb-udev.patch | 29 ++++++++++++++++++++++ sys-apps/pcsc-lite/pcsc-lite-1.9.5.ebuild | 1 + 2 files changed, 30 insertions(+) diff --git a/sys-apps/pcsc-lite/files/pcsc-lite-1.9.5-no-libusb-udev.patch b/sys-apps/pcsc-lite/files/pcsc-lite-1.9.5-no-libusb-udev.patch new file mode 100644 index 000000000000..2f4793b03fb4 --- /dev/null +++ b/sys-apps/pcsc-lite/files/pcsc-lite-1.9.5-no-libusb-udev.patch @@ -0,0 +1,29 @@ +https://github.com/LudovicRousseau/PCSC/commit/a4bdfd2eb6e908c8306fe421137a83573ba05d8c +https://bugs.gentoo.org/832593 + +From: Fabrice Fontaine +Date: Tue, 14 Dec 2021 08:20:59 +0100 +Subject: [PATCH] src/hotplug_generic.c: fix build without lib{udev,usb} + +Fix the following build failure without lib{udev,usb} raised since +version 1.9.5 and +https://github.com/LudovicRousseau/PCSC/commit/6f8f170db3c88c59a5ddb5ae5319b921a901a6aa: + +/home/giuliobenetti/autobuild/run/instance-2/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: pcscd-pcscdaemon.o: in function `signal_thread': +pcscdaemon.c:(.text+0x444): undefined reference to `HPReCheckSerialReaders' + +Fixes: + - http://autobuild.buildroot.org/results/6cf323229f32967aa554418410dc94b7094d09af + +Signed-off-by: Fabrice Fontaine +--- a/src/hotplug_generic.c ++++ b/src/hotplug_generic.c +@@ -48,7 +48,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + #define FALSE 0 + #endif + +-#if !defined(__APPLE__) && !defined(HAVE_LIBUSB) && !defined(__linux__) && !defined(HAVE_LIBUDEV) ++#if !defined(__APPLE__) && !defined(HAVE_LIBUSB) && !defined(HAVE_LIBUDEV) + + LONG HPSearchHotPluggables(void) + { diff --git a/sys-apps/pcsc-lite/pcsc-lite-1.9.5.ebuild b/sys-apps/pcsc-lite/pcsc-lite-1.9.5.ebuild index 0f45e4dc5bb1..147fd36f5bc0 100644 --- a/sys-apps/pcsc-lite/pcsc-lite-1.9.5.ebuild +++ b/sys-apps/pcsc-lite/pcsc-lite-1.9.5.ebuild @@ -42,6 +42,7 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${PN}-1.8.11-polkit-pcscd.patch + "${FILESDIR}"/${P}-no-libusb-udev.patch ) DOCS=( AUTHORS HELP README SECURITY ChangeLog )