Description: Upstream changes introduced in version 2.9-2.1 This patch has been created by dpkg-source during the package build. Here's the last changelog entry, hopefully it gives details on why those changes were made: . grep (2.9-2.1) unstable; urgency=low . * Non-maintainer upload. * testsuite error . The person named in the Author field signed this changelog entry. Author: Andreas Metzler --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- grep-2.9.orig/m4/float_h.m4 +++ grep-2.9/m4/float_h.m4 @@ -40,6 +40,12 @@ changequote([,])dnl REPLACE_FLOAT_LDBL=1 fi ;; + linux*) + if test "$host_cpu" = "powerpc" && test -n "$FLOAT_H"; then + FLOAT_H=float.h + REPLACE_FLOAT_LDBL=1 + fi + ;; esac if test -n "$FLOAT_H"; then gl_NEXT_HEADERS([float.h]) --- grep-2.9.orig/gnulib-tests/float.in.h +++ grep-2.9/gnulib-tests/float.in.h @@ -112,7 +112,7 @@ extern const union gl_long_double_union /* On AIX 7.1 with gcc 4.2, the values of LDBL_MIN_EXP, LDBL_MIN, LDBL_MAX are wrong. */ -#if (defined _ARCH_PPC || defined _POWER) && defined _AIX && (LDBL_MANT_DIG == 106) && defined __GNUC__ +#if (defined _ARCH_PPC || defined _POWER || defined __ppc__ || defined __powerpc__) && (LDBL_MANT_DIG == 106) && defined __GNUC_ # undef LDBL_MIN_EXP # define LDBL_MIN_EXP DBL_MIN_EXP # undef LDBL_MIN_10_EXP