diff --git a/usbutils/.md5sum b/usbutils/.md5sum index 136eff0..108a091 100644 --- a/usbutils/.md5sum +++ b/usbutils/.md5sum @@ -1,2 +1,3 @@ +a5dd03b174354b2cc1fe4cc56d0fb4a2 fix-mans-refs.patch 37e039ab11ffda1c25964769ee248743 usbreset-install.patch eb2f3895105ddd1858b5c6364af43979 usbutils-018.tar.gz diff --git a/usbutils/Pkgfile b/usbutils/Pkgfile index a25602d..ecfe5c3 100644 --- a/usbutils/Pkgfile +++ b/usbutils/Pkgfile @@ -6,9 +6,11 @@ name=usbutils version=018 release=1 source="https://github.com/gregkh/$name/archive/v$version/$name-$version.tar.gz + fix-mans-refs.patch usbreset-install.patch" build() { + patch -d $name-$version -Np1 -i $SRC/fix-mans-refs.patch patch -d $name-$version -Np1 -i $SRC/usbreset-install.patch meson setup build $name-$version \ diff --git a/usbutils/fix-mans-refs.patch b/usbutils/fix-mans-refs.patch new file mode 100644 index 0000000..c861d6d --- /dev/null +++ b/usbutils/fix-mans-refs.patch @@ -0,0 +1,55 @@ +diff --git a/man/lsusb.8 b/man/lsusb.8 +index b018343..c0da5fe 100644 +--- a/man/lsusb.8 ++++ b/man/lsusb.8 +@@ -59,8 +59,7 @@ then exit successfully. + If the specified device is not found, a non-zero exit code is returned. + + .SH SEE ALSO +-.BR lspci (8), +-.BR usbview (8). ++.BR lspci (8) + + .SH AUTHOR + Thomas Sailer, . +diff --git a/man/lsusb.py.1 b/man/lsusb.py.1 +index b99f80a..f11ad44 100644 +--- a/man/lsusb.py.1 ++++ b/man/lsusb.py.1 +@@ -59,8 +59,7 @@ file. + + .SH SEE ALSO + .BR lspci (8), +-.BR lsusb (8), +-.BR usbview (8). ++.BR lsusb (8) + + .SH AUTHOR + Thomas Sailer, , +diff --git a/man/usb-devices.1 b/man/usb-devices.1 +index 86bf460..861318e 100644 +--- a/man/usb-devices.1 ++++ b/man/usb-devices.1 +@@ -44,8 +44,7 @@ Location where the \fIusb/devices\fP file can normally be found for + Linux kernel 2.6.31 and later, if debugfs is mounted. + + .SH SEE ALSO +-.BR lsusb (8), +-.BR usbview (8). ++.BR lsusb (8) + + .SH AUTHORS + Greg Kroah-Hartman +diff --git a/man/usbreset.1 b/man/usbreset.1 +index e10bf6f..abd8e38 100644 +--- a/man/usbreset.1 ++++ b/man/usbreset.1 +@@ -47,7 +47,7 @@ Reset device named USB2.0 Hub: + .B usbreset """USB2.0 Hub""" + + .SH SEE ALSO +-.BR lsusb (8). ++.BR lsusb (8) + + .SH AUTHOR + Alan Stern