[packages/perl-Device-USB] Fix applying patches.
arekm
arekm at pld-linux.org
Tue Jul 15 01:57:57 CEST 2025
commit e529a91aa0093ce8893206f9c1f05f8452dda72c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 01:57:41 2025 +0200
Fix applying patches.
perl-Device-USB.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/perl-Device-USB.spec b/perl-Device-USB.spec
index 5094834..7f3ba3a 100644
--- a/perl-Device-USB.spec
+++ b/perl-Device-USB.spec
@@ -39,9 +39,9 @@ more Perl-ish interface.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
+%patch -P0 -p1
+%patch -P1 -p1
+%patch -P2 -p1
# function names conflict with libusb-1.0
sed -e 's/libusb_/DeviceUSB_/g' -i lib/Device/USB.pm lib/Device/USB/Device.pm
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Device-USB.git/commitdiff/e529a91aa0093ce8893206f9c1f05f8452dda72c
More information about the pld-cvs-commit
mailing list