From f72e218b81fe1ba83a1d2c3d75b3774a1206cc61 Mon Sep 17 00:00:00 2001 From: fake Date: Mon, 13 Dec 2004 16:56:14 +0000 Subject: [PATCH] fake: paragui: add python 2.4 support like we did for 2.3 (this sucks. maybe we can update to 1.1.x - kasc?) [2004121317045923614] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@5210 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/kasc/paragui/python24.patch | 53 +++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 package/kasc/paragui/python24.patch diff --git a/package/kasc/paragui/python24.patch b/package/kasc/paragui/python24.patch new file mode 100644 index 000000000..14546dd8e --- /dev/null +++ b/package/kasc/paragui/python24.patch @@ -0,0 +1,53 @@ +--- ./configure.orig 2004-12-13 16:52:22.000000000 +0100 ++++ ./configure 2004-12-13 16:53:50.000000000 +0100 +@@ -7384,6 +7384,42 @@ + PYTHON_INCLUDE_DIR="" + PYTHON_LIB_DIR="" + have_python_include=no ++ ac_safe=`echo "python2.4/Python.h" | sed 'y%./+-%__p_%'` ++echo $ac_n "checking for python2.4/Python.h""... $ac_c" 1>&6 ++echo "configure:7426: checking for python2.4/Python.h" >&5 ++if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then ++ echo $ac_n "(cached) $ac_c" 1>&6 ++else ++ cat > conftest.$ac_ext < ++EOF ++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ++{ (eval echo configure:7436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ++ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ++if test -z "$ac_err"; then ++ rm -rf conftest* ++ eval "ac_cv_header_$ac_safe=yes" ++else ++ echo "$ac_err" >&5 ++ echo "configure: failed program was:" >&5 ++ cat conftest.$ac_ext >&5 ++ rm -rf conftest* ++ eval "ac_cv_header_$ac_safe=no" ++fi ++rm -f conftest* ++fi ++if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then ++ echo "$ac_t""yes" 1>&6 ++ have_python_include=yes ++else ++ echo "$ac_t""no" 1>&6 ++fi ++ ++ PYTHON_INCLUDE_DIR=$prefix/include/python2.4 ++ PYTHON_LIB_DIR=$libdir/python2.4 ++ if test x$have_python_include = xno; then + ac_safe=`echo "python2.3/Python.h" | sed 'y%./+-%__p_%'` + echo $ac_n "checking for python2.3/Python.h""... $ac_c" 1>&6 + echo "configure:7426: checking for python2.3/Python.h" >&5 +@@ -7419,6 +7455,7 @@ + + PYTHON_INCLUDE_DIR=$prefix/include/python2.3 + PYTHON_LIB_DIR=$libdir/python2.3 ++ fi + if test x$have_python_include = xno; then + ac_safe=`echo "python2.2/Python.h" | sed 'y%./+-%__p_%'` + echo $ac_n "checking for python2.2/Python.h""... $ac_c" 1>&6