Skip to content

Commit

Permalink
usbutils: add fix-mans-refs.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
sighook committed Oct 23, 2024
1 parent 2c0bacb commit 3e7f2c0
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
1 change: 1 addition & 0 deletions usbutils/.md5sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
a5dd03b174354b2cc1fe4cc56d0fb4a2 fix-mans-refs.patch
37e039ab11ffda1c25964769ee248743 usbreset-install.patch
eb2f3895105ddd1858b5c6364af43979 usbutils-018.tar.gz
2 changes: 2 additions & 0 deletions usbutils/Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
55 changes: 55 additions & 0 deletions usbutils/fix-mans-refs.patch
Original file line number Diff line number Diff line change
@@ -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, <sailer@ife.ee.ethz.ch>.
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, <sailer@ife.ee.ethz.ch>,
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 <greg@kroah.com>
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 <stern@rowland.harvard.edu>

0 comments on commit 3e7f2c0

Please sign in to comment.