[gmp] - fixed FTBFS
pschiffe
pschiffe at fedoraproject.org
Fri Jul 20 15:22:10 UTC 2012
commit 1067428e4f4f520d19dd213ce2ca20d0502f8d34
Author: Peter Schiffer <pschiffe at redhat.com>
Date: Fri Jul 20 17:21:53 2012 +0200
- fixed FTBFS
gmp-5.0.5-de-ansi-fication.patch | 34 ++++++++++++++++++++++++++++++++++
gmp.spec | 7 ++++++-
2 files changed, 40 insertions(+), 1 deletions(-)
---
diff --git a/gmp-5.0.5-de-ansi-fication.patch b/gmp-5.0.5-de-ansi-fication.patch
new file mode 100644
index 0000000..4996578
--- /dev/null
+++ b/gmp-5.0.5-de-ansi-fication.patch
@@ -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
diff --git a/gmp.spec b/gmp.spec
index 29688a5..4fd0bb6 100644
--- a/gmp.spec
+++ b/gmp.spec
@@ -6,13 +6,14 @@
Summary: A GNU arbitrary precision library
Name: gmp
Version: 5.0.5
-Release: 2%{?dist}
+Release: 3%{?dist}
Epoch: 1
URL: http://gmplib.org/
Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.xz
Source2: gmp.h
Source3: gmp-mparam.h
Patch0: gmp-4.0.1-s390.patch
+Patch1: gmp-5.0.5-de-ansi-fication.patch
License: LGPLv3+
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -57,6 +58,7 @@ in applications.
%prep
%setup -q
%patch0 -p1 -b .s390
+%patch01 -p1 -b .de-ansi
%build
autoreconf -if
@@ -236,6 +238,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Fri Jul 20 2012 Peter Schiffer <pschiffe at redhat.com> 1:5.0.5-3
+- fixed FTBFS
+
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:5.0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list