From: Michael Smith <msmith@cbnco.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] cairo 1.8.8: fix libtool name in doltlibtool
Date: Thu, 22 Oct 2009 19:28:29 -0400 [thread overview]
Message-ID: <12562541091460-git-send-email-msmith@cbnco.com> (raw)
In OE libtool is renamed to ${host_alias}-libtool. Change doltlibtool
script accordingly.
Ripped from patch for xserver-xorg 1.6.1
(c10e9906a2ecea7e9c04bf967a8882d6b4cd1077)
Signed-off-by: Michael Smith <msmith@cbnco.com>
---
recipes/cairo/cairo_1.8.8.bb | 3 +++
recipes/cairo/files/dolt-fix.patch | 20 ++++++++++++++++++++
2 files changed, 23 insertions(+), 0 deletions(-)
create mode 100644 recipes/cairo/files/dolt-fix.patch
diff --git a/recipes/cairo/cairo_1.8.8.bb b/recipes/cairo/cairo_1.8.8.bb
index b2d8e65..74671fb 100644
--- a/recipes/cairo/cairo_1.8.8.bb
+++ b/recipes/cairo/cairo_1.8.8.bb
@@ -1,6 +1,9 @@
+PR = "r1"
+
require cairo.inc
SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.gz \
+ file://dolt-fix.patch;patch=1 \
"
diff --git a/recipes/cairo/files/dolt-fix.patch b/recipes/cairo/files/dolt-fix.patch
new file mode 100644
index 0000000..16aff34
--- /dev/null
+++ b/recipes/cairo/files/dolt-fix.patch
@@ -0,0 +1,20 @@
+--- cairo-1.8.8/build/aclocal.dolt.m4.orig 2008-12-12 07:48:04.000000000 -0500
++++ cairo-1.8.8/build/aclocal.dolt.m4 2009-10-22 14:36:17.000000000 -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__
+
--
1.5.3.1.20.gb860
reply other threads:[~2009-10-22 23:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12562541091460-git-send-email-msmith@cbnco.com \
--to=msmith@cbnco.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox