summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/gmp/patches/patch-Makefile_am11
-rw-r--r--package/gmp/patches/patch-configure_in21
2 files changed, 32 insertions, 0 deletions
diff --git a/package/gmp/patches/patch-Makefile_am b/package/gmp/patches/patch-Makefile_am
new file mode 100644
index 000000000..5180e545a
--- /dev/null
+++ b/package/gmp/patches/patch-Makefile_am
@@ -0,0 +1,11 @@
+--- gmp-4.3.2.orig/Makefile.am 2010-01-07 21:09:02.000000000 +0100
++++ gmp-4.3.2/Makefile.am 2013-10-29 22:08:10.000000000 +0100
+@@ -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/package/gmp/patches/patch-configure_in b/package/gmp/patches/patch-configure_in
new file mode 100644
index 000000000..bcf07870f
--- /dev/null
+++ b/package/gmp/patches/patch-configure_in
@@ -0,0 +1,21 @@
+--- gmp-4.3.2.orig/configure.in 2010-01-07 21:09:02.000000000 +0100
++++ gmp-4.3.2/configure.in 2013-10-29 22:13:19.000000000 +0100
+@@ -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
+
+@@ -2072,9 +2072,6 @@ fi
+ echo " MPN_PATH=\"$path\""
+
+
+-# Automake ansi2knr support.
+-AM_C_PROTOTYPES
+-
+ CL_AS_NOEXECSTACK
+
+ GMP_PROG_AR