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++; - column++;
+ /* mb_width() returns 0 for control characters */ + /* mb_width() returns 0 for control characters */
+ const int width = mb_width (c); + const int width = mb_width (c);
+ column += MIN(1, width); + column += (width) ? width : 1;
if (!column) if (!column)
die (EXIT_FAILURE, 0, _("input line is too long")); die (EXIT_FAILURE, 0, _("input line is too long"));
} }

View File

@ -1,8 +1,13 @@
-------------------------------------------------------------------
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> Mon Aug 1 21:16:27 UTC 2022 - Dirk Müller <dmueller@suse.com>
- refresh coreutils-i18n.patch to prevent unexpand from failing on control - refresh coreutils-i18n.patch to prevent unexpand from failing on control
characters (brc#2112870) (bsc#1202029) characters (brc#2112870) (bsc#1202029)
- extend psuffix handling to be quilt(1) compatible - extend psuffix handling to be quilt(1) compatible
------------------------------------------------------------------- -------------------------------------------------------------------

View File

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