!9 fix -u option
From: @renxichen Reviewed-by: @overweight Signed-off-by: @overweight
This commit is contained in:
commit
e374344e21
32
backport-Fix-u-option.patch
Normal file
32
backport-Fix-u-option.patch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
From dd64ac131aebbc31233d1c5f9317aaee35764374 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Allan McRae <allan@archlinux.org>
|
||||||
|
Date: Sun, 2 Jan 2022 15:23:34 +1000
|
||||||
|
Subject: [PATCH] Fix -u option
|
||||||
|
|
||||||
|
The -u option was missing from optionsChars resulting in it being
|
||||||
|
unrecognised.
|
||||||
|
|
||||||
|
$ debugedit -u
|
||||||
|
debugedit: invalid option -- 'u'
|
||||||
|
|
||||||
|
Signed-off-by: Allan McRae <allan@archlinux.org>
|
||||||
|
---
|
||||||
|
tools/debugedit.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/tools/debugedit.c b/tools/debugedit.c
|
||||||
|
index a0e86d3..642b29d 100644
|
||||||
|
--- a/tools/debugedit.c
|
||||||
|
+++ b/tools/debugedit.c
|
||||||
|
@@ -3047,7 +3047,7 @@ static struct option optionsTable[] =
|
||||||
|
{ NULL, 0, 0, 0 }
|
||||||
|
};
|
||||||
|
|
||||||
|
-static const char *optionsChars = "b:d:l:is:nV?";
|
||||||
|
+static const char *optionsChars = "b:d:l:is:nV?u";
|
||||||
|
|
||||||
|
static const char *helpText =
|
||||||
|
"Usage: %s [OPTION...] FILE\n"
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: debugedit
|
Name: debugedit
|
||||||
Version: 5.0
|
Version: 5.0
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Tools for debuginfo creation
|
Summary: Tools for debuginfo creation
|
||||||
License: GPL-2.0-or-later and LGPL-2.1-only and GPL-3.0-only
|
License: GPL-2.0-or-later and LGPL-2.1-only and GPL-3.0-only
|
||||||
Group: Applications
|
Group: Applications
|
||||||
@ -20,6 +20,8 @@ Requires: sed dwz grep
|
|||||||
Patch0: tests-Handle-zero-directory-entry-in-.debug_line-DWA.patch
|
Patch0: tests-Handle-zero-directory-entry-in-.debug_line-DWA.patch
|
||||||
Patch1: find-debuginfo.sh-decompress-DWARF-compressed-ELF-se.patch
|
Patch1: find-debuginfo.sh-decompress-DWARF-compressed-ELF-se.patch
|
||||||
|
|
||||||
|
Patch6000: backport-Fix-u-option.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Debugedit provides programs and scripts for creating debuginfo and
|
Debugedit provides programs and scripts for creating debuginfo and
|
||||||
source file distributions, collect build-ids and rewrite source
|
source file distributions, collect build-ids and rewrite source
|
||||||
@ -56,6 +58,9 @@ make check %{?_smp_mflags}
|
|||||||
%{_mandir}/man1/find-debuginfo.1*
|
%{_mandir}/man1/find-debuginfo.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 21 2022 renhongxun <renhongxun@h-partners.com> 5.0-3
|
||||||
|
- fix -u option
|
||||||
|
|
||||||
* Tue Jan 11 2022 renhongxun <renhongxun@huawei.com> 5.0-2
|
* Tue Jan 11 2022 renhongxun <renhongxun@huawei.com> 5.0-2
|
||||||
- bugfix
|
- bugfix
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user