blob ca5cde328bf54ad64f96a0b529ad3dbfe2f37e90 790 bytes (raw)
name: gnu/packages/patches/inxi-minimal-fix-syntax.patch # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| | Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
This patch fixes “Quantifier follows nothing in regex” error.
--- a/inxi 2018-04-30 20:51:47.665352075 +0300
+++ b/inxi 2018-04-30 20:52:21.721804635 +0300
@@ -4602,11 +4602,6 @@
sub cleaner {
my ($item) = @_;
return $item if !$item;# handle cases where it was 0 or ''
- $item =~ s/chipset|components|computing|computer|corporation|communications|electronics|electrical|electric|gmbh|group|incorporation|industrial|international|nee|revision|semiconductor|software|technologies|technology|ltd\.|<ltd>|\bltd\b|inc\.|<inc>|\binc\b|intl\.|co\.|<co>|corp\.|<corp>|\(tm\)|\(r\)|®|\(rev ..\)|\'|\"|\sinc\s*$|\?//gi;
- $item =~ s/,|\*/ /g;
- $item =~ s/\s\s+/ /g;
- $item =~ s/^\s+|\s+$//g;
- return $item;
}
sub dmi_cleaner {
|
debug log:
solving ca5cde328 ...
found ca5cde328 in https://yhetil.org/guix/874ljstsei.fsf@gmail.com/
applying [1/1] https://yhetil.org/guix/874ljstsei.fsf@gmail.com/
diff --git a/gnu/packages/patches/inxi-minimal-fix-syntax.patch b/gnu/packages/patches/inxi-minimal-fix-syntax.patch
new file mode 100644
index 000000000..ca5cde328
1:15: space before tab in indent.
my ($item) = @_;
1:16: space before tab in indent.
return $item if !$item;# handle cases where it was 0 or ''
1:23: trailing whitespace.
Checking patch gnu/packages/patches/inxi-minimal-fix-syntax.patch...
Applied patch gnu/packages/patches/inxi-minimal-fix-syntax.patch cleanly.
warning: 3 lines add whitespace errors.
index at:
100644 ca5cde328bf54ad64f96a0b529ad3dbfe2f37e90 gnu/packages/patches/inxi-minimal-fix-syntax.patch
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.