Browse Source

libxcb: fixed crosscompilation

user/chris/next/xorg
Alejandro Mery 13 years ago
parent
commit
f181edb359
  1. 22
      xorg/libxcb/sysroot.patch.cross

22
xorg/libxcb/sysroot.patch.cross

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../libxcb/sysroot.patch.cross # Filename: package/.../libxcb/sysroot.patch.cross
# Copyright (C) 2008 - 2010 The OpenSDE Project # Copyright (C) 2008 - 2012 The OpenSDE Project
# #
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
# #
@ -16,23 +16,23 @@
pkg-config doesn't prepend the SYSROOT when asking for an explicit variable pkg-config doesn't prepend the SYSROOT when asking for an explicit variable
--- ./configure.orig 2010-05-03 10:12:37.000000000 -0400 --- ./configure.orig 2012-01-11 18:27:53.000000000 +0100
+++ ./configure 2010-05-03 10:13:33.000000000 -0400 +++ ./configure 2012-02-07 10:58:12.000000000 +0100
@@ -12791,7 +12791,7 @@ @@ -13311,7 +13311,7 @@
# Find the xcb-proto protocol descriptions # Find the xcb-proto protocol descriptions
{ $as_echo "$as_me:$LINENO: checking XCBPROTO_XCBINCLUDEDIR" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCBPROTO_XCBINCLUDEDIR" >&5
$as_echo_n "checking XCBPROTO_XCBINCLUDEDIR... " >&6; } $as_echo_n "checking XCBPROTO_XCBINCLUDEDIR... " >&6; }
-XCBPROTO_XCBINCLUDEDIR=`$PKG_CONFIG --variable=xcbincludedir xcb-proto` -XCBPROTO_XCBINCLUDEDIR=`$PKG_CONFIG --variable=xcbincludedir xcb-proto`
+XCBPROTO_XCBINCLUDEDIR="$PKG_CONFIG_SYSROOT_DIR$($PKG_CONFIG --variable=xcbincludedir xcb-proto)" +XCBPROTO_XCBINCLUDEDIR="$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=xcbincludedir xcb-proto`"
{ $as_echo "$as_me:$LINENO: result: $XCBPROTO_XCBINCLUDEDIR" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XCBPROTO_XCBINCLUDEDIR" >&5
$as_echo "$XCBPROTO_XCBINCLUDEDIR" >&6; } $as_echo "$XCBPROTO_XCBINCLUDEDIR" >&6; }
@@ -12803,7 +12803,7 @@ @@ -13323,7 +13323,7 @@
# Find the xcbgen Python package # Find the xcbgen Python package
{ $as_echo "$as_me:$LINENO: checking XCBPROTO_XCBPYTHONDIR" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCBPROTO_XCBPYTHONDIR" >&5
$as_echo_n "checking XCBPROTO_XCBPYTHONDIR... " >&6; } $as_echo_n "checking XCBPROTO_XCBPYTHONDIR... " >&6; }
-XCBPROTO_XCBPYTHONDIR=`$PKG_CONFIG --variable=pythondir xcb-proto` -XCBPROTO_XCBPYTHONDIR=`$PKG_CONFIG --variable=pythondir xcb-proto`
+XCBPROTO_XCBPYTHONDIR="$PKG_CONFIG_SYSROOT_DIR$($PKG_CONFIG --variable=pythondir xcb-proto)" +XCBPROTO_XCBPYTHONDIR="$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=pythondir xcb-proto`"
{ $as_echo "$as_me:$LINENO: result: $XCBPROTO_XCBPYTHONDIR" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XCBPROTO_XCBPYTHONDIR" >&5
$as_echo "$XCBPROTO_XCBPYTHONDIR" >&6; } $as_echo "$XCBPROTO_XCBPYTHONDIR" >&6; }

Loading…
Cancel
Save