Accepting request 89734 from home:msmeissn:branches:Base:System
fixed ppc build OBS-URL: https://build.opensuse.org/request/show/89734 OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=15
This commit is contained in:
parent
cae5da8ad4
commit
23a194b2c8
21
grep-ppc-fix.patch
Normal file
21
grep-ppc-fix.patch
Normal file
@ -0,0 +1,21 @@
|
||||
Index: grep-2.9/gnulib-tests/test-float.c
|
||||
===================================================================
|
||||
--- grep-2.9.orig/gnulib-tests/test-float.c
|
||||
+++ grep-2.9/gnulib-tests/test-float.c
|
||||
@@ -361,16 +361,6 @@ main ()
|
||||
test_float ();
|
||||
test_double ();
|
||||
|
||||
- {
|
||||
- DECL_LONG_DOUBLE_ROUNDING
|
||||
-
|
||||
- BEGIN_LONG_DOUBLE_ROUNDING ();
|
||||
-
|
||||
- test_long_double ();
|
||||
-
|
||||
- END_LONG_DOUBLE_ROUNDING ();
|
||||
- }
|
||||
-
|
||||
return 0;
|
||||
}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 29 14:09:48 UTC 2011 - meissner@suse.com
|
||||
|
||||
- disable the long double checks on ppc* as they dont meet
|
||||
the preconditions in their double vs long double usage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 27 12:42:54 CEST 2011 - dmueller@suse.de
|
||||
|
||||
|
@ -33,6 +33,7 @@ Release: 1
|
||||
Summary: Print lines matching a pattern
|
||||
Source: grep-%{version}.tar.bz2
|
||||
Patch0: fix-testsuite.diff
|
||||
Patch1: grep-ppc-fix.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -47,6 +48,11 @@ echo "ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.
|
||||
%endif
|
||||
%patch0
|
||||
|
||||
# If you platform Long Double and Double to not match as expected
|
||||
%ifarch ppc ppc64
|
||||
%patch1 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} < 1120
|
||||
%configure -C --bindir=/bin --disable-silent-rules --without-included-regex
|
||||
|
Loading…
Reference in New Issue
Block a user