Hello community, here is the log from the commit of package parted for openSUSE:Factory checked in at 2020-09-10 22:46:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/parted (Old) and /work/SRC/openSUSE:Factory/.parted.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "parted" Thu Sep 10 22:46:57 2020 rev:131 rq:832927 version:3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/parted/parted.changes 2020-04-25 20:08:03.135514083 +0200 +++ /work/SRC/openSUSE:Factory/.parted.new.4249/parted.changes 2020-09-10 22:47:00.647766623 +0200 @@ -1,0 +2,7 @@ +Tue Aug 25 18:24:26 CEST 2020 - [email protected] + +- re-add missing hunk to fix bsc#1164907 + parted-type-accept-hex.patch + type on the cmdline could be specified in hex as 0x82 + +------------------------------------------------------------------- New: ---- parted-type-accept-hex.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ parted.spec ++++++ --- /var/tmp/diff_new_pack.6qAcSG/_old 2020-09-10 22:47:01.643767541 +0200 +++ /var/tmp/diff_new_pack.6qAcSG/_new 2020-09-10 22:47:01.647767545 +0200 @@ -69,7 +69,8 @@ # 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 @@ %patch35 -p1 %patch36 -p1 %patch37 -p1 +%patch64 -p1 %patch100 -p1 %patch101 -p1 %patch156 -p1 ++++++ parted-type-accept-hex.patch ++++++ --- 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;
