3
0
forked from pool/diffutils
Jiri Slaby 2020-09-01 06:12:53 +00:00 committed by Git OBS Bridge
parent 03f6225068
commit cc3c545614
3 changed files with 9 additions and 18 deletions

View File

@ -1,10 +1,9 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 31 10:02:12 UTC 2020 - Bernhard Voelker <mail@bernhard-voelker.de> Mon Aug 31 10:02:12 UTC 2020 - Bernhard Voelker <mail@bernhard-voelker.de>
- gnulib-test-avoid-FP-perror-strerror.patch: Add patch to - gnulib-test-avoid-FP-perror-strerror.patch: avoid false-positive
avoid false-positive error in gnulib tests 'test-perror2' and error in gnulib tests 'test-perror2' and 'test-strerror_r',
'test-strerror_r', visible on armv7l. visible on armv7l.
- diffutils.spec: Reference the patch.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 19 11:51:54 UTC 2019 - Ludwig Nussel <lnussel@suse.de> Thu Sep 19 11:51:54 UTC 2019 - Ludwig Nussel <lnussel@suse.de>

View File

@ -26,10 +26,7 @@ URL: https://www.gnu.org/software/diffutils/
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
Source2: %{name}.keyring Source2: %{name}.keyring
Patch0: gnulib-test-avoid-FP-perror-strerror.patch
# Avoid FP error in gnulib tests 'test-perror2' and 'test-strerror_r'.
Patch1: gnulib-test-avoid-FP-perror-strerror.patch
Requires(pre): %{install_info_prereq} Requires(pre): %{install_info_prereq}
Requires(preun): %{install_info_prereq} Requires(preun): %{install_info_prereq}
Provides: diff = %{version} Provides: diff = %{version}
@ -42,8 +39,7 @@ make source code patches, for instance.
%lang_package %lang_package
%prep %prep
%setup -q %autosetup -p1
%patch1
%build %build
%configure \ %configure \

View File

@ -71,10 +71,8 @@ This downstream patch is identical to upstream one modulo the ChangeLog entry.
gnulib-tests/test-strerror_r.c | 3 --- gnulib-tests/test-strerror_r.c | 3 ---
2 files changed, 6 deletions(-) 2 files changed, 6 deletions(-)
Index: gnulib-tests/test-perror2.c --- a/gnulib-tests/test-perror2.c
=================================================================== +++ b/gnulib-tests/test-perror2.c
--- gnulib-tests/test-perror2.c.orig
+++ gnulib-tests/test-perror2.c
@@ -79,9 +79,6 @@ main (void) @@ -79,9 +79,6 @@ main (void)
errno = -5; errno = -5;
perror (""); perror ("");
@ -85,10 +83,8 @@ Index: gnulib-tests/test-perror2.c
ASSERT (STREQ (msg4, str4)); ASSERT (STREQ (msg4, str4));
free (str1); free (str1);
Index: gnulib-tests/test-strerror_r.c --- a/gnulib-tests/test-strerror_r.c
=================================================================== +++ b/gnulib-tests/test-strerror_r.c
--- gnulib-tests/test-strerror_r.c.orig
+++ gnulib-tests/test-strerror_r.c
@@ -165,9 +165,6 @@ main (void) @@ -165,9 +165,6 @@ main (void)
strerror_r (EACCES, buf, sizeof buf); strerror_r (EACCES, buf, sizeof buf);