diff --git a/gmp-4.2.4-no-host-target-check.patch b/gmp-4.2.4-no-host-target-check.patch new file mode 100644 index 0000000..2571216 --- /dev/null +++ b/gmp-4.2.4-no-host-target-check.patch @@ -0,0 +1,21 @@ +--- gmp-4.2.4/configure.in.BAD 2009-04-09 16:57:17.000000000 -0500 ++++ gmp-4.2.4/configure.in 2009-04-09 16:57:49.000000000 -0500 +@@ -36,18 +36,6 @@ + m4_pattern_allow(GMP_NAIL_BITS) + m4_pattern_allow(GMP_NUMB_BITS) + +-# If --target is not used then $target_alias is empty, but if say +-# "./configure athlon-pc-freebsd3.5" is used, then all three of +-# $build_alias, $host_alias and $target_alias are set to +-# "athlon-pc-freebsd3.5". +-# +-if test -n "$target_alias" && test "$target_alias" != "$host_alias"; then +- AC_MSG_ERROR([--target is not appropriate for GMP +-Use --build=CPU-VENDOR-OS if you need to specify your CPU and/or system +-explicitly. Use --host if cross-compiling (see "Installing GMP" in the +-manual for more on this).]) +-fi +- + GMP_INIT(config.m4) + + AC_CANONICAL_HOST diff --git a/gmp.spec b/gmp.spec index cfda54f..b72d6b8 100644 --- a/gmp.spec +++ b/gmp.spec @@ -6,12 +6,13 @@ Summary: A GNU arbitrary precision library Name: gmp Version: 4.2.4 -Release: 5%{?dist} +Release: 6%{?dist} URL: http://gmplib.org/ Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.bz2 Source2: gmp.h Source3: gmp-mparam.h Patch0: gmp-4.0.1-s390.patch +Patch1: gmp-4.2.4-no-host-target-check.patch License: LGPLv3+ Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -58,6 +59,7 @@ in applications. %prep %setup -q %patch0 -p1 -b .s390 +%patch1 -p1 -b .no-host-target %build autoreconf -if @@ -196,6 +198,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Apr 09 2009 Dennis Gilmore - 4.2.4-6 +- no check that --host and --target are the same when building i586 or sparcv9 they are not + * Tue Feb 24 2009 Fedora Release Engineering - 4.2.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild