SHA256
1
0
forked from pool/coreutils

- add missing hostname buildrequires

characters (brc#2112870)  (bsc#1202029)

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=337
This commit is contained in:
Dirk Mueller 2022-08-02 11:36:28 +00:00 committed by Git OBS Bridge
parent 16c285303a
commit baaa911630
3 changed files with 8 additions and 2 deletions

View File

@ -4283,7 +4283,7 @@ index 7d6100f..04cd646 100644
- column++;
+ /* mb_width() returns 0 for control characters */
+ const int width = mb_width (c);
+ column += MIN(1, width);
+ column += (width) ? width : 1;
if (!column)
die (EXIT_FAILURE, 0, _("input line is too long"));
}

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 2 11:05:45 UTC 2022 - Dirk Müller <dmueller@suse.com>
- add missing hostname buildrequires
-------------------------------------------------------------------
Mon Aug 1 21:16:27 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -66,6 +66,7 @@ Patch810: coreutils-skip-tests-rm-ext3-perf.patch
Patch850: gnulib-simple-backup-fix.patch
BuildRequires: automake
BuildRequires: gmp-devel
BuildRequires: hostname
BuildRequires: libacl-devel
BuildRequires: libattr-devel
BuildRequires: libcap-devel