Gentoo Archives: gentoo-commits

From: "Santiago M. Mola (coldwind)" <coldwind@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/rb_libtorrent/files: rb_libtorrent-0.14.1-ax_python_path.patch
Date: Sun, 28 Dec 2008 21:35:29
Message-Id: E1LH3IF-0001XE-IE@stork.gentoo.org
1 coldwind 08/12/28 21:35:27
2
3 Added: rb_libtorrent-0.14.1-ax_python_path.patch
4 Log:
5 Version bump (bug #245731), thanks to Atman Sense <atman.sense@××××.de>. Closes bug #225931 too.
6 (Portage version: 2.2_rc19/cvs/Linux 2.6.27-gentoo-r2 x86_64)
7
8 Revision Changes Path
9 1.1 net-libs/rb_libtorrent/files/rb_libtorrent-0.14.1-ax_python_path.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/files/rb_libtorrent-0.14.1-ax_python_path.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/rb_libtorrent/files/rb_libtorrent-0.14.1-ax_python_path.patch?rev=1.1&content-type=text/plain
13
14 Index: rb_libtorrent-0.14.1-ax_python_path.patch
15 ===================================================================
16 Source: Santiago M. Mola <coldwind@g.o>
17 Upstream: The 'locate' part is merged.
18 Reason: Support Python 2.6 and stop using locate to find Python headers.
19 --- libtorrent-rasterbar-0.14.1.orig/m4/ax_python.m4 2008-12-28 15:07:42.000000000 +0100
20 +++ libtorrent-rasterbar-0.14.1/m4/ax_python.m4 2008-12-28 18:48:54.000000000 +0100
21 @@ -58,13 +58,13 @@
22 AC_DEFUN([AX_PYTHON],
23 [AC_MSG_CHECKING(for python build information)
24 AC_MSG_RESULT([])
25 -for python in python2.5 python2.4 python2.3 python2.2 python2.1 python; do
26 +for python in python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do
27 AC_CHECK_PROGS(PYTHON_BIN, [$python])
28 ax_python_bin=$PYTHON_BIN
29 if test x$ax_python_bin != x; then
30 AC_CHECK_LIB($ax_python_bin, main, ax_python_lib=$ax_python_bin, ax_python_lib=no)
31 AC_CHECK_HEADER([$ax_python_bin/Python.h],
32 - [[ax_python_header=`locate $ax_python_bin/Python.h | sed -e s,/Python.h,,`]],
33 + [[ax_python_header=/usr/include/$ax_python_bin]],
34 ax_python_header=no)
35 if test $ax_python_lib != no; then
36 if test $ax_python_header != no; then