ppc64-diag-2.7.8-opal-dump-parse-getopt.patch
This commit is contained in:
parent
e157ba8cae
commit
d1f79552c1
12
ppc64-diag-2.7.8-opal-dump-parse-getopt.patch
Normal file
12
ppc64-diag-2.7.8-opal-dump-parse-getopt.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up ppc64-diag-2.7.8/opal-dump-parse/opal-dump-parse.c.me ppc64-diag-2.7.8/opal-dump-parse/opal-dump-parse.c
|
||||
--- ppc64-diag-2.7.8/opal-dump-parse/opal-dump-parse.c.me 2022-05-14 06:21:01.745290071 -0400
|
||||
+++ ppc64-diag-2.7.8/opal-dump-parse/opal-dump-parse.c 2022-05-14 07:30:08.240914514 -0400
|
||||
@@ -462,7 +462,7 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
int opt = 0;
|
||||
|
||||
- while ((opt = getopt(argc, argv, "lh:s:o:")) != -1) {
|
||||
+ while ((opt = getopt(argc, argv, "hl:s:o:")) != -1) {
|
||||
switch (opt) {
|
||||
case 'l':
|
||||
opt_mdst = 1;
|
@ -1,6 +1,6 @@
|
||||
Name: ppc64-diag
|
||||
Version: 2.7.8
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: PowerLinux Platform Diagnostics
|
||||
URL: https://github.com/power-ras/%{name}
|
||||
License: GPLv2
|
||||
@ -33,6 +33,7 @@ Source5: rtas_errd.8
|
||||
|
||||
# fix paths and permissions
|
||||
Patch0: ppc64-diag-fedora.patch
|
||||
Patch1: ppc64-diag-2.7.8-opal-dump-parse-getopt.patch
|
||||
|
||||
%description
|
||||
This package contains various diagnostic tools for PowerLinux.
|
||||
@ -167,6 +168,9 @@ if [ "$1" = "0" ]; then # last uninstall
|
||||
fi
|
||||
|
||||
%changelog
|
||||
* Sat May 14 2022 Than Ngo <than@redhat.com> - 2.7.8-2
|
||||
- opal-dump-parse -h should return 0
|
||||
|
||||
* Thu Apr 07 2022 Dan Horák <dan[at]danny.cz> - 2.7.8-1
|
||||
- rebase to 2.7.8
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user