Hello community, here is the log from the commit of package grep for openSUSE:Factory checked in at 2013-12-23 19:36:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/grep (Old) and /work/SRC/openSUSE:Factory/.grep.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grep" Changes: -------- --- /work/SRC/openSUSE:Factory/grep/grep.changes 2013-12-19 13:33:10.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes 2013-12-23 19:36:54.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Dec 20 01:36:52 UTC 2013 - uweig...@de.ibm.com + +- grep-gnulib-ppc64le.patch: Fix imported gnulib long double math + tests for little-endian PowerPC. + +------------------------------------------------------------------- New: ---- grep-gnulib-ppc64le.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ grep.spec ++++++ --- /var/tmp/diff_new_pack.llQaBD/_old 2013-12-23 19:36:54.000000000 +0100 +++ /var/tmp/diff_new_pack.llQaBD/_new 2013-12-23 19:36:54.000000000 +0100 @@ -34,6 +34,8 @@ Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source2: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig Source3: http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grep&download=1#/%{name}.keyring +# Fix imported gnulib long double math tests for little-endian PowerPC +Patch1: grep-gnulib-ppc64le.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -43,6 +45,7 @@ %prep %setup -q +%patch1 -p1 %if 0%{?suse_version} < 1120 echo "ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.a}" >config.cache %endif ++++++ grep-gnulib-ppc64le.patch ++++++ diff --git a/gnulib-tests/test-isnanl.h b/gnulib-tests/test-isnanl.h index 06e6a7c..2df10f8 100644 --- a/gnulib-tests/test-isnanl.h +++ b/gnulib-tests/test-isnanl.h @@ -51,6 +51,15 @@ main () /* A bit pattern that is different from a Quiet NaN. With a bit of luck, it's a Signalling NaN. */ { +#if defined __powerpc__ && LDBL_MANT_DIG == 106 + /* This is PowerPC "double double", a pair of two doubles. Inf and Nan are + represented as the corresponding 64-bit IEEE values in the first double; + the second is ignored. Manipulate only the first double. */ + #undef NWORDS + #define NWORDS \ + ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) +#endif + memory_long_double m; m.value = NaNl (); # if LDBL_EXPBIT0_BIT > 0 diff --git a/gnulib-tests/test-signbit.c b/gnulib-tests/test-signbit.c index e8ea097..7e24292 100644 --- a/gnulib-tests/test-signbit.c +++ b/gnulib-tests/test-signbit.c @@ -151,6 +151,16 @@ test_signbitl () #define NWORDS \ ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { long double value; unsigned int word[NWORDS]; } memory_long_double; + +#if defined __powerpc__ && LDBL_MANT_DIG == 106 + /* This is PowerPC "double double", a pair of two doubles. Inf and Nan are + represented as the corresponding 64-bit IEEE values in the first double; + the second is ignored. Manipulate only the first double. */ + #undef NWORDS + #define NWORDS \ + ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) +#endif + memory_long_double m; m.value = zerol / zerol; # if LDBL_EXPBIT0_BIT > 0 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org