rpms/gmp/devel gmp-4.2.4-no-host-target-check.patch, NONE, 1.1 gmp.spec, 1.58, 1.59

Dennis Gilmore ausil at fedoraproject.org
Thu Apr 9 22:03:25 UTC 2009


Author: ausil

Update of /cvs/pkgs/rpms/gmp/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4476

Modified Files:
	gmp.spec 
Added Files:
	gmp-4.2.4-no-host-target-check.patch 
Log Message:
Remove check for --hot and --target matching when building i586 or sparcv9 they are not the same



gmp-4.2.4-no-host-target-check.patch:

--- NEW FILE gmp-4.2.4-no-host-target-check.patch ---
--- 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


Index: gmp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gmp/devel/gmp.spec,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- gmp.spec	24 Feb 2009 22:25:22 -0000	1.58
+++ gmp.spec	9 Apr 2009 22:02:54 -0000	1.59
@@ -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 @@
 %prep
 %setup -q 
 %patch0 -p1 -b .s390
+%patch1 -p1 -b .no-host-target
 
 %build
 autoreconf -if
@@ -196,6 +198,9 @@
 
 
 %changelog
+* Thu Apr 09 2009 Dennis Gilmore <dennis at ausil.us> - 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 <rel-eng at lists.fedoraproject.org> - 4.2.4-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list