perl-device-usb: Update to 0.37

Add HTTPS everywhere.

Rename .diff to .patch for consistency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2019-04-12 12:44:06 -07:00
parent c36e8c6ea2
commit f10d95b1e1
3 changed files with 5 additions and 5 deletions
@@ -0,0 +1,30 @@
Subject: Just assume libusb is out there
Makefile.PL should not try to check for libusb in a given list of directories
as the compiler might look in other places as well.
Origin: vendor
Bug-Debian: http://bugs.debian.org/639677
Forwarded: not-needed
From: Ansgar Burchardt <ansgar@debian.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2013-10-28
--- libdevice-usb-perl.orig/Makefile.PL
+++ libdevice-usb-perl/Makefile.PL
@@ -21,7 +21,7 @@
}
}
-unless(header_found())
+unless(1 || header_found())
{
die <<"END";
ERROR: Can't find usb.h header.
@@ -36,7 +36,7 @@
END
}
-unless(lib_found())
+unless(1 || lib_found())
{
die <<"END";
ERROR: Can't find libusb library.