- fixed FTBFS

This commit is contained in:
Peter Schiffer 2012-07-20 17:21:53 +02:00
parent c2d8e6a5da
commit 1067428e4f
2 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,34 @@
diff -upr gmp-5.0.5.orig/configure.in gmp-5.0.5/configure.in
--- gmp-5.0.5.orig/configure.in 2012-07-20 16:15:11.080198639 +0200
+++ gmp-5.0.5/configure.in 2012-07-20 16:16:27.000529431 +0200
@@ -65,7 +65,7 @@ dnl
dnl Note that there's a copy of these options in the top-level Makefile.am,
dnl so update there too if changing anything.
dnl
-AM_INIT_AUTOMAKE([1.8 gnu no-dependencies $(top_builddir)/ansi2knr])
+AM_INIT_AUTOMAKE([1.8 gnu no-dependencies])
AM_CONFIG_HEADER(config.h:config.in)
AM_MAINTAINER_MODE
@@ -2232,9 +2232,6 @@ fi
echo " MPN_PATH=\"$path\""
-# Automake ansi2knr support.
-AM_C_PROTOTYPES
-
CL_AS_NOEXECSTACK
GMP_PROG_AR
diff -upr gmp-5.0.5.orig/Makefile.am gmp-5.0.5/Makefile.am
--- gmp-5.0.5.orig/Makefile.am 2012-05-06 13:19:49.000000000 +0200
+++ gmp-5.0.5/Makefile.am 2012-07-20 16:17:06.050983848 +0200
@@ -25,7 +25,7 @@
# Makefiles in subdirectories, but here we must omit it so automake gives
# the actual ansi2knr build rule, not "cd $(top_builddir) && make ansi2knr".
#
-AUTOMAKE_OPTIONS = 1.8 gnu no-dependencies ansi2knr
+AUTOMAKE_OPTIONS = 1.8 gnu no-dependencies
# Libtool -version-info for libgmp.la and libmp.la. See "Versioning" in the

View File

@ -6,13 +6,14 @@
Summary: A GNU arbitrary precision library Summary: A GNU arbitrary precision library
Name: gmp Name: gmp
Version: 5.0.5 Version: 5.0.5
Release: 2%{?dist} Release: 3%{?dist}
Epoch: 1 Epoch: 1
URL: http://gmplib.org/ URL: http://gmplib.org/
Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.xz Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.xz
Source2: gmp.h Source2: gmp.h
Source3: gmp-mparam.h Source3: gmp-mparam.h
Patch0: gmp-4.0.1-s390.patch Patch0: gmp-4.0.1-s390.patch
Patch1: gmp-5.0.5-de-ansi-fication.patch
License: LGPLv3+ License: LGPLv3+
Group: System Environment/Libraries Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -57,6 +58,7 @@ in applications.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .s390 %patch0 -p1 -b .s390
%patch01 -p1 -b .de-ansi
%build %build
autoreconf -if autoreconf -if
@ -236,6 +238,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Fri Jul 20 2012 Peter Schiffer <pschiffe@redhat.com> 1:5.0.5-3
- fixed FTBFS
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.0.5-2 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild