fix -u option
This commit is contained in:
parent
0e1b3a07c5
commit
c1a9f5269a
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
|
||||
Version: 5.0
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Tools for debuginfo creation
|
||||
License: GPL-2.0-or-later and LGPL-2.1-only and GPL-3.0-only
|
||||
Group: Applications
|
||||
@ -20,6 +20,8 @@ Requires: sed dwz grep
|
||||
Patch0: tests-Handle-zero-directory-entry-in-.debug_line-DWA.patch
|
||||
Patch1: find-debuginfo.sh-decompress-DWARF-compressed-ELF-se.patch
|
||||
|
||||
Patch6000: backport-Fix-u-option.patch
|
||||
|
||||
%description
|
||||
Debugedit provides programs and scripts for creating debuginfo and
|
||||
source file distributions, collect build-ids and rewrite source
|
||||
@ -56,6 +58,9 @@ make check %{?_smp_mflags}
|
||||
%{_mandir}/man1/find-debuginfo.1*
|
||||
|
||||
%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
|
||||
- bugfix
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user