Package: cyphesis-cpp Version: 0.5.21-1.1 Severity: wishlist Tags: patch User: [email protected] Usertags: origin-ubuntu natty ubuntu-patch
*** /tmp/tmpuXpCWU In Ubuntu, python 2.7 is the default python interpreter, and the attached patch is required to build correctly the package. We thought you might be interested in doing the same. -- System Information: Debian Release: squeeze/sid APT prefers maverick-updates APT policy: (500, 'maverick-updates'), (500, 'maverick-security'), (500, 'maverick-proposed'), (500, 'maverick') Architecture: amd64 (x86_64) Kernel: Linux 2.6.35-24-generic (SMP w/2 CPU cores) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -u cyphesis-cpp-0.5.21/debian/rules cyphesis-cpp-0.5.21/debian/rules --- cyphesis-cpp-0.5.21/debian/rules +++ cyphesis-cpp-0.5.21/debian/rules @@ -5,6 +5,7 @@ include /usr/share/cdbs/1/rules/simple-patchsys.mk include /usr/share/cdbs/1/rules/debhelper.mk include $(CURDIR)/debian/cdbs/autotools.mk +DEB_AUTO_UPDATE_AUTOCONF := yes clean:: debconf-updatepo --- cyphesis-cpp-0.5.21.orig/debian/patches/python2.7_detection.patch +++ cyphesis-cpp-0.5.21/debian/patches/python2.7_detection.patch @@ -0,0 +1,25 @@ +Description: add detection of python2.7 in configure.ac file +Author: Fabrice Coutadeur <[email protected]> +--- cyphesis-cpp-0.5.21.orig/configure.ac ++++ cyphesis-cpp-0.5.21/configure.ac +@@ -161,6 +161,11 @@ + dnl if found define HAVE_PYTHON_H + dnl + ++AC_CHECK_HEADER(python2.7/Python.h, ++[ ++ python_include_path=-I${python_prefix}/include/python2.7 ++ python_version=2.7 ++],[ + AC_CHECK_HEADER(python2.6/Python.h, + [ + python_include_path=-I${python_prefix}/include/python2.6 +@@ -195,7 +200,7 @@ + ]) + ]) + ]) +-]) ++])]) + + PYTHON_VERSION=${python_version} + PYTHON_INCLUDES=${python_include_path}

