mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 10:01:20 +00:00
treewide: move all perl packages into its own folder
This makes it in sync with Python packages. Python packages has its own place in /lang/python Perl does not, so this fixes it. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
13
lang/perl/perl-device-usb/patches/120-use_libusb_0_1.patch
Normal file
13
lang/perl/perl-device-usb/patches/120-use_libusb_0_1.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
--- a/lib/Device/USB.pm
|
||||
+++ b/lib/Device/USB.pm
|
||||
@@ -9,8 +9,8 @@ use Inline (
|
||||
C => "DATA",
|
||||
($ENV{LIBUSB_LIBDIR}
|
||||
? ( LIBS => "-L\"$ENV{LIBUSB_LIBDIR}\" " .
|
||||
- ($^O eq 'MSWin32' ? ' -llibusb -L\"$ENV{WINDDK}\\lib\\crt\\i386\" -lmsvcrt ' : '-lusb') )
|
||||
- : ( LIBS => '-lusb', )
|
||||
+ ($^O eq 'MSWin32' ? ' -llibusb -L\"$ENV{WINDDK}\\lib\\crt\\i386\" -lmsvcrt ' : '-lusb-0.1') )
|
||||
+ : ( LIBS => '-lusb-0.1', )
|
||||
),
|
||||
($ENV{LIBUSB_INCDIR} ? ( INC => "-I\"$ENV{LIBUSB_INCDIR}\"" ) : () ),
|
||||
NAME => 'Device::USB',
|
||||
Reference in New Issue
Block a user