Package: keybinder Version: 0.3.0-1 Severity: normal Tags: patch User: debian-pyt...@lists.debian.org Usertags: origin-ubuntu raring ubuntu-patch multiarch
*** /tmp/tmpMcPtLl/bug_body In Ubuntu, the attached patch was applied to achieve the following: * Add python multiarch header include paths; Fixes FTBFS - add debian/patches/python-multiarch-header-path.patch - update debian/patches/series Thanks for considering the patch. -- System Information: Debian Release: wheezy/sid APT prefers precise-updates APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise-proposed'), (500, 'precise'), (100, 'precise-backports') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-35-generic (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru keybinder-0.3.0/debian/changelog keybinder-0.3.0/debian/changelog diff -Nru keybinder-0.3.0/debian/control keybinder-0.3.0/debian/control diff -Nru keybinder-0.3.0/debian/patches/python-multiarch-header-path.patch keybinder-0.3.0/debian/patches/python-multiarch-header-path.patch --- keybinder-0.3.0/debian/patches/python-multiarch-header-path.patch 1969-12-31 18:00:00.000000000 -0600 +++ keybinder-0.3.0/debian/patches/python-multiarch-header-path.patch 2013-01-09 21:02:26.000000000 -0600 @@ -0,0 +1,15 @@ +Description: Add python multiarch header include paths + Use python-config to get the multiarch header include paths +Author: Micah Gersten <mic...@ubuntu.com> + +--- keybinder-0.3.0.orig/m4/python.m4 ++++ keybinder-0.3.0/m4/python.m4 +@@ -45,7 +45,7 @@ AC_MSG_CHECKING(for headers required to + dnl deduce PYTHON_INCLUDES + py_prefix=`$PYTHON -c "import sys; print sys.prefix"` + py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` +-PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" ++PYTHON_INCLUDES=`$PYTHON-config --includes` + if test "$py_prefix" != "$py_exec_prefix"; then + PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" + fi diff -Nru keybinder-0.3.0/debian/patches/series keybinder-0.3.0/debian/patches/series --- keybinder-0.3.0/debian/patches/series 2012-08-24 08:43:28.000000000 -0500 +++ keybinder-0.3.0/debian/patches/series 2013-01-09 21:03:05.000000000 -0600 @@ -1 +1,2 @@ Xkb.patch +python-multiarch-header-path.patch