heads/patches/gpg-1.4.21.patch
2017-04-05 17:59:49 -04:00

21 lines
633 B
Diff

diff -u --recursive ../clean/gnupg-1.4.21/configure gnupg-1.4.21/configure
--- ../clean/gnupg-1.4.21/configure 2016-08-17 09:20:25.000000000 -0400
+++ gnupg-1.4.21/configure 2017-04-05 17:40:53.746515377 -0400
@@ -17100,7 +17100,7 @@
_libusb_try_libs=`$LIBS $_usb_config --libs`
_libusb_try_cflags=`$LIBS $_usb_config --cflags`
else
- _libusb_try_libs="-lusb"
+ _libusb_try_libs="-lusb -lusb-1.0"
_libusb_try_cflags=""
fi
@@ -17112,6 +17112,7 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
+#include <sys/types.h>
#include <usb.h>
int
main ()