summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTommy Jerry Mairo2022-01-04 15:29:17 -0800
committerTommy Jerry Mairo2022-01-04 15:29:17 -0800
commit8b8744af879eecfbe22da47b2a37ac508d4f0fef (patch)
tree4ba0a3b3281a52f103c4f1e11fb578f63fafb0a5
parent15f840dea2d899772333d787f1eef885ba523e2f (diff)
downloadaur-8b8744af879eecfbe22da47b2a37ac508d4f0fef.tar.gz
BugFix: patch out autocof restriction
-rw-r--r--0001-allow-to-build-with-autoconf-2.70-and-later.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/0001-allow-to-build-with-autoconf-2.70-and-later.patch b/0001-allow-to-build-with-autoconf-2.70-and-later.patch
new file mode 100644
index 000000000000..a3c20e9a68a6
--- /dev/null
+++ b/0001-allow-to-build-with-autoconf-2.70-and-later.patch
@@ -0,0 +1,28 @@
+From 0d3e85ea46b52685c5b198fbade3a82f38071ca4 Mon Sep 17 00:00:00 2001
+From: Pablo Barciela <scow@riseup.net>
+Date: Sun, 19 Sep 2021 13:55:07 +0200
+Subject: [PATCH] allow to build with autoconf 2.70 and later
+
+Closes https://github.com/amule-project/amule/issues/232
+---
+ configure.ac | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 93a918c03..9c57668c6 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -30,10 +30,6 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
+
+ AC_PREREQ(2.62)
+
+-# autoconf 2.70 introduced some incompatibilities that will make the build fail
+-# As a "workaround" reject 2.70 and above for now.
+-m4_if(m4_version_compare(m4_defn([AC_AUTOCONF_VERSION]), [2.70]), [-1],, [m4_fatal([autoconf ]m4_defn([AC_AUTOCONF_VERSION])[ is known to not work with aMule. Please use 2.69 instead.])])
+-
+ AC_CONFIG_SRCDIR([src/amule.cpp])
+ AC_CONFIG_HEADERS([config.h])
+ AC_CONFIG_MACRO_DIR([m4])
+--
+2.34.1
+