diff options
author | Sam James <sam@gentoo.org> | 2022-02-03 07:07:39 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-02-03 07:07:39 +0000 |
commit | 80805d85ad317c4c9e484b68272552f6aedfc8d9 (patch) | |
tree | fa119bf7dc8707ec318a391e0ec7d9d05913ac6d /sys-apps/pcsc-lite/files | |
parent | profiles/arch/hppa: stable-mask sys-libs/openipmi[snmp] (diff) | |
download | gentoo-80805d85ad317c4c9e484b68272552f6aedfc8d9.tar.gz gentoo-80805d85ad317c4c9e484b68272552f6aedfc8d9.tar.bz2 gentoo-80805d85ad317c4c9e484b68272552f6aedfc8d9.zip |
sys-apps/pcsc-lite: fix build without udev/libusb
Closes: https://bugs.gentoo.org/832593
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/pcsc-lite/files')
-rw-r--r-- | sys-apps/pcsc-lite/files/pcsc-lite-1.9.5-no-libusb-udev.patch | 29 |
1 files changed, 29 insertions, 0 deletions
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 <fontaine.fabrice@gmail.com> +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 <fontaine.fabrice@gmail.com> +--- 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) + { |