From 0b4a3542a1d3c9a2e6a6613daf44f092a865bd338d697f5b00f36e22ea4b205e Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sun, 13 Jan 2008 13:52:15 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/coreutils?expand=0&rev=19 --- coreutils-getaddrinfo.diff | 15 +++++++++++++++ coreutils.changes | 6 ++++++ coreutils.spec | 7 ++++++- 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 coreutils-getaddrinfo.diff diff --git a/coreutils-getaddrinfo.diff b/coreutils-getaddrinfo.diff new file mode 100644 index 0000000..4ab88ee --- /dev/null +++ b/coreutils-getaddrinfo.diff @@ -0,0 +1,15 @@ +Index: coreutils-6.9.90/gnulib-tests/test-getaddrinfo.c +=================================================================== +--- coreutils-6.9.90.orig/gnulib-tests/test-getaddrinfo.c 2007-11-17 07:59:42.000000000 +0100 ++++ coreutils-6.9.90/gnulib-tests/test-getaddrinfo.c 2007-12-12 11:25:49.000000000 +0100 +@@ -61,6 +61,10 @@ int simple (char *host, char *service) + if (res == EAI_SERVICE) + return 0; + ++ /* Do not fail this test for temporary name resolution errors. */ ++ if (res == EAI_AGAIN) ++ return 0; ++ + return 1; + } + diff --git a/coreutils.changes b/coreutils.changes index 4e64fd1..13d8810 100644 --- a/coreutils.changes +++ b/coreutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Jan 13 12:59:37 CET 2008 - rguenther@suse.de + +- Reapply dropped patch: + adjust test-getaddrinfo to not fail w/o network connection + ------------------------------------------------------------------- Sat Jan 12 19:08:54 CET 2008 - schwab@suse.de diff --git a/coreutils.spec b/coreutils.spec index 66d511d..1a1a4a2 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -20,7 +20,7 @@ Obsoletes: libselinux <= 1.23.11-3 libselinux-32bit >= 9 libselinux-64bit = AutoReqProv: on PreReq: %{install_info_prereq} Version: 6.9.92 -Release: 1 +Release: 2 Summary: GNU Core Utilities Source: coreutils-%{version}.tar.gz Source1: su.pamd @@ -38,6 +38,7 @@ Patch16: invalid-ids.diff Patch20: coreutils-6.8-su.diff Patch21: coreutils-6.8.0-pie.diff Patch22: coreutils-5.3.0-sbin4su.diff +Patch23: coreutils-getaddrinfo.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -105,6 +106,7 @@ Authors: %patch20 %patch21 %patch22 +%patch23 -p1 %build AUTOPOINT=true autoreconf -fi @@ -169,6 +171,9 @@ rm -rf $RPM_BUILD_ROOT %dir %{_prefix}/share/locale/*/LC_TIME %changelog +* Sun Jan 13 2008 - rguenther@suse.de +- Reapply dropped patch: + adjust test-getaddrinfo to not fail w/o network connection * Sat Jan 12 2008 - schwab@suse.de - Update to coreutils 6.9.92. ** Bug fixes