Fix Python version detection for libxcb
PATCH 1/1 Fix Python version detection for libxcb
Signed-off-by Paulius Zaleckas <[email protected]>
---
package/x11r7/libxcb/libxcb.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
package/x11r7/libxcb/libxcb.mk +1 -1
@@ -13,7 +13,7 @@ LIBXCB_AUTORECONF = NO LIBXCB_LIBTOOL_PATCH = NO LIBXCB_DEPENDENCIES = host-libxslt pthread-stubs xcb-proto xlib_libXdmcp xlib_libXau LIBXCB_CONF_ENV = STAGING_DIR="$(STAGING_DIR)" -HOST_PYTHON_VERSION=$(shell python --version 2>&1 | sed 's/Python \(2\.[0-9]\)\..*/\1/') +HOST_PYTHON_VERSION=$(shell python --version 2>&1 | sed 's/Python \(2\.[0-9]\).*/\1/') LIBXCB_MAKE_OPT = XCBPROTO_XCBINCLUDEDIR=$(STAGING_DIR)/usr/share/xcb XCBPROTO_XCBPYTHONDIR=$(STAGING_DIR)/usr/lib/python$(HOST_PYTHON_VERSION)/site-packages $(eval $(call AUTOTARGETS,package/x11r7,libxcb))
PATCH 1/1 Fix Python version detection for libxcb
Quoted 1 line · On Mon, 10 May 2010 16:38:53 +0300 Paulius Zaleckas…
Signed-off-by Paulius Zaleckas <[email protected]>
On my system, the Python version was 2.6.4, not just 2.6, so my regexp was working. But obviously, yours is better, so:
Acked-by Thomas Petazzoni <[email protected]>
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH 1/1 Fix Python version detection for libxcb
In reply to Paulius ZaleckasQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Paulius" == Paulius Zaleckas <[email protected]> writes:
Paulius> Signed-off-by: Paulius Zaleckas <[email protected]>
Sorry, didn't see your patch before implementing it myself.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 Fix Python version detection for libxcb
Quoted 6 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Paulius" == Paulius Zaleckas<[email protected]> writes:
Paulius> Signed-off-by: Paulius Zaleckas<[email protected]>
Sorry, didn't see your patch before implementing it myself.
No problem. I believe your version is even better :)