Accepting request 114760 from Base:System
fix ppc build (forwarded request 114736 from msmeissn) OBS-URL: https://build.opensuse.org/request/show/114760 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=31
This commit is contained in:
commit
e984d21b30
@ -1,21 +0,0 @@
|
|||||||
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,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 19 17:43:06 CEST 2012 - meissner@suse.de
|
||||||
|
|
||||||
|
- use -mlong-double-64 on ppc*
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 13 18:18:23 UTC 2012 - tabraham@novell.com
|
Tue Mar 13 18:18:23 UTC 2012 - tabraham@novell.com
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: grep
|
Name: grep
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: pcre-devel
|
BuildRequires: pcre-devel
|
||||||
@ -32,7 +31,6 @@ Summary: Print lines matching a pattern
|
|||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
Group: Productivity/Text/Utilities
|
Group: Productivity/Text/Utilities
|
||||||
Source: grep-%{version}.tar.bz2
|
Source: grep-%{version}.tar.bz2
|
||||||
Patch0: grep-ppc-fix.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -46,12 +44,11 @@ By default, grep prints the matching lines.
|
|||||||
echo "ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.a}" >config.cache
|
echo "ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.a}" >config.cache
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# If you platform Long Double and Double to not match as expected
|
%build
|
||||||
%ifarch ppc ppc64
|
%ifarch ppc ppc64
|
||||||
%patch0 -p1
|
export CFLAGS="$RPM_OPT_FLAGS -mlong-double-64"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
|
||||||
%if 0%{?suse_version} < 1120
|
%if 0%{?suse_version} < 1120
|
||||||
%configure -C --bindir=/bin --disable-silent-rules --without-included-regex
|
%configure -C --bindir=/bin --disable-silent-rules --without-included-regex
|
||||||
%else
|
%else
|
||||||
|
Loading…
Reference in New Issue
Block a user