Accepting request 829592 from home:oertel:branches:Base:System
- re-add missing hunk to fix bsc#1164907 parted-type-accept-hex.patch type on the cmdline could be specified in hex as 0x82 OBS-URL: https://build.opensuse.org/request/show/829592 OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=146
This commit is contained in:
parent
150f659587
commit
f54939bedc
15
parted-type-accept-hex.patch
Normal file
15
parted-type-accept-hex.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
--- parted-3.3/parted/ui.c 2020/08/25 16:28:53 1.1
|
||||||
|
+++ parted-3.3/parted/ui.c 2020/08/25 16:31:39
|
||||||
|
@@ -926,7 +926,11 @@
|
||||||
|
return 0;
|
||||||
|
|
||||||
|
errno = 0;
|
||||||
|
- ret = strtol (input, (char**) NULL, 10);
|
||||||
|
+
|
||||||
|
+ if (strstr(input, "0x") == input)
|
||||||
|
+ ret = strtol (input, (char**) NULL, 16);
|
||||||
|
+ else
|
||||||
|
+ ret = strtol (input, (char**) NULL, 10);
|
||||||
|
if (errno)
|
||||||
|
goto error;
|
||||||
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 25 18:24:26 CEST 2020 - ro@suse.de
|
||||||
|
|
||||||
|
- re-add missing hunk to fix bsc#1164907
|
||||||
|
parted-type-accept-hex.patch
|
||||||
|
type on the cmdline could be specified in hex as 0x82
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 8 17:37:47 UTC 2020 - Anna Maresova <anicka@suse.com>
|
Wed Apr 8 17:37:47 UTC 2020 - Anna Maresova <anicka@suse.com>
|
||||||
|
|
||||||
|
@ -69,7 +69,8 @@ Patch36: libparted-linux-pmem-path.patch
|
|||||||
|
|
||||||
# bsc#1164260
|
# bsc#1164260
|
||||||
Patch37: parted-print-max-partitions-for-yast.patch
|
Patch37: parted-print-max-partitions-for-yast.patch
|
||||||
|
# bsc#1164907
|
||||||
|
Patch64: parted-type-accept-hex.patch
|
||||||
# Fatresize
|
# Fatresize
|
||||||
Patch100: parted-fatresize-autoconf.patch
|
Patch100: parted-fatresize-autoconf.patch
|
||||||
Patch101: fatresize-fix-getting-dev-name.patch
|
Patch101: fatresize-fix-getting-dev-name.patch
|
||||||
@ -158,6 +159,7 @@ to develop applications that require these.
|
|||||||
%patch35 -p1
|
%patch35 -p1
|
||||||
%patch36 -p1
|
%patch36 -p1
|
||||||
%patch37 -p1
|
%patch37 -p1
|
||||||
|
%patch64 -p1
|
||||||
%patch100 -p1
|
%patch100 -p1
|
||||||
%patch101 -p1
|
%patch101 -p1
|
||||||
%patch156 -p1
|
%patch156 -p1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user