xserver-xorg-1.6.1: fix libtool name in doltlibtool
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Wed, 15 Jul 2009 08:32:33 +0000 (12:32 +0400)
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Wed, 15 Jul 2009 08:41:10 +0000 (12:41 +0400)
In OE cross-libtool is renamed. Change doltlibtool script in xserver-xorg
accordingly.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
recipes/xorg-xserver/xserver-xorg/dolt-fix.patch [new file with mode: 0644]
recipes/xorg-xserver/xserver-xorg_1.6.1.bb

diff --git a/recipes/xorg-xserver/xserver-xorg/dolt-fix.patch b/recipes/xorg-xserver/xserver-xorg/dolt-fix.patch
new file mode 100644 (file)
index 0000000..9e15f42
--- /dev/null
@@ -0,0 +1,22 @@
+Index: xorg-server-1.6.1/acinclude.m4
+===================================================================
+--- xorg-server-1.6.1.orig/acinclude.m4        2009-04-14 21:14:56.000000000 +0400
++++ xorg-server-1.6.1/acinclude.m4     2009-07-15 12:38:33.796848843 +0400
+@@ -147,7 +147,7 @@
+     cat <<__DOLTLIBTOOL__EOF__ > doltlibtool
+ #!$DOLT_BASH
+ __DOLTLIBTOOL__EOF__
+-    cat <<'__DOLTLIBTOOL__EOF__' >>doltlibtool
++    cat <<'__DOLTLIBTOOL__EOF__' | sed -e "s/@host_alias@/$host_alias/g" >>doltlibtool
+ top_builddir_slash="${0%%doltlibtool}"
+ : ${top_builddir_slash:=./}
+ args=()
+@@ -163,7 +163,7 @@
+ if $modeok && $tagok ; then
+     . ${top_builddir_slash}doltcompile "${args@<:@@@:>@}"
+ else
+-    exec ${top_builddir_slash}libtool "$[]@"
++    exec ${top_builddir_slash}@host_alias@-libtool "$[]@"
+ fi
+ __DOLTLIBTOOL__EOF__
index a177b19..d8379eb 100644 (file)
@@ -6,7 +6,8 @@ RDEPENDS += "hal"
 PE = "2"
 PR = "r1"
 
-SRC_URI += "file://sysroot_fix.patch;patch=1"
+SRC_URI += "file://sysroot_fix.patch;patch=1 \
+           file://dolt-fix.patch;patch=1"
 
 MESA_VER = "7.2"