From 2843c735c3229ebb2e29de3c135aa4c46fe95bc5 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 14 Dec 2011 23:23:27 +0100 Subject: [PATCH] python: added patch to not restrict the build system to autoconf 2.65 --- ....7.1-no-autoconf-version-restriction.patch | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 python/python/python-2.7.1-no-autoconf-version-restriction.patch diff --git a/python/python/python-2.7.1-no-autoconf-version-restriction.patch b/python/python/python-2.7.1-no-autoconf-version-restriction.patch new file mode 100644 index 000000000..23e118532 --- /dev/null +++ b/python/python/python-2.7.1-no-autoconf-version-restriction.patch @@ -0,0 +1,36 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../python/python-2.7.1-no-autoconf-version-restriction.patch +# Copyright (C) 2011 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +Description: Do not restrict the build system to autoconf 2.65 + +--- Python-2.7.1/configure.in.orig 2011-11-21 15:35:01.064104356 +0100 ++++ Python-2.7.1/configure.in 2011-11-21 15:36:50.608104276 +0100 +@@ -5,15 +5,6 @@ + # Set VERSION so we only need to edit in one place (i.e., here) + m4_define(PYTHON_VERSION, 2.7) + +-dnl Some m4 magic to ensure that the configure script is generated +-dnl by the correct autoconf version. +-m4_define([version_required], +-[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]), [$1]), 0, +- [], +- [m4_fatal([Autoconf version $1 is required for Python], 63)]) +-]) +-version_required(2.65) +- + AC_REVISION($Revision: 86076 $) + AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/) + AC_CONFIG_SRCDIR([Include/object.h])