Accepting request 832927 from Base:System

OBS-URL: https://build.opensuse.org/request/show/832927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=131
This commit is contained in:
Dominique Leuenberger 2020-09-10 20:46:57 +00:00 committed by Git OBS Bridge
commit 18e558e86c
3 changed files with 25 additions and 1 deletions

View 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;

View File

@ -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>

View File

@ -69,7 +69,8 @@ Patch36: libparted-linux-pmem-path.patch
# bsc#1164260
Patch37: parted-print-max-partitions-for-yast.patch
# bsc#1164907
Patch64: parted-type-accept-hex.patch
# Fatresize
Patch100: parted-fatresize-autoconf.patch
Patch101: fatresize-fix-getting-dev-name.patch
@ -158,6 +159,7 @@ to develop applications that require these.
%patch35 -p1
%patch36 -p1
%patch37 -p1
%patch64 -p1
%patch100 -p1
%patch101 -p1
%patch156 -p1