From 758fb416d5958fcf8131c6e56eced7cd6fc2a53e Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Wed, 5 Nov 2008 15:53:23 +0300 Subject: libsvg-cairo: fix building with current libtool/autoconf Current autoconf/libtool prohibit using of macros/variables that start with LT_. Workaround that by s/LT_/LV_/ on libsvg-cairo's configure.in Signed-off-by: Dmitry Baryshkov --- .../cairo/libsvg-cairo/libsvg-cairo-libtool.diff | 27 ++++++++++++++++++++++ packages/cairo/libsvg-cairo_20050601.bb | 3 ++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 packages/cairo/libsvg-cairo/libsvg-cairo-libtool.diff (limited to 'packages/cairo') diff --git a/packages/cairo/libsvg-cairo/libsvg-cairo-libtool.diff b/packages/cairo/libsvg-cairo/libsvg-cairo-libtool.diff new file mode 100644 index 0000000000..90448dc887 --- /dev/null +++ b/packages/cairo/libsvg-cairo/libsvg-cairo-libtool.diff @@ -0,0 +1,27 @@ +Index: libsvg-cairo/configure.in +=================================================================== +--- libsvg-cairo.orig/configure.in 2008-11-04 13:38:51.795236755 +0300 ++++ libsvg-cairo/configure.in 2008-11-04 13:40:44.503218844 +0300 +@@ -8,18 +8,18 @@ LIBSVG_CAIRO_VERSION=0.1.5-head + # libtool shared library version + + # Increment if the interface has additions, changes, removals. +-LT_CURRENT=1 ++LV_CURRENT=1 + + # Increment any time the source changes; set to + # 0 if you increment CURRENT +-LT_REVISION=1 ++LV_REVISION=1 + + # Increment if any interfaces have been added; set to 0 + # if any interfaces have been removed. removal has + # precedence over adding, so set to 0 if both happened. +-LT_AGE=0 ++LV_AGE=0 + +-VERSION_INFO="$LT_CURRENT:$LT_REVISION:$LT_AGE" ++VERSION_INFO="$LV_CURRENT:$LV_REVISION:$LV_AGE" + AC_SUBST(VERSION_INFO) + + dnl =========================================================================== diff --git a/packages/cairo/libsvg-cairo_20050601.bb b/packages/cairo/libsvg-cairo_20050601.bb index 55e439a3c5..9cc7c5b46c 100644 --- a/packages/cairo/libsvg-cairo_20050601.bb +++ b/packages/cairo/libsvg-cairo_20050601.bb @@ -7,7 +7,8 @@ PRIORITY = "optional" DEPENDS = "libsvg cairo" DESCRIPTION = "SVG rendering library" DEFAULT_PREFERENCE = "1" -SRC_URI = "cvs://anoncvs:anoncvs@cvs.cairographics.org/cvs/cairo;module=libsvg-cairo;date=${FIXEDSRCDATE}" +SRC_URI = "cvs://anoncvs:anoncvs@cvs.cairographics.org/cvs/cairo;module=libsvg-cairo;date=${FIXEDSRCDATE} \ + file://libsvg-cairo-libtool.diff;patch=1" S = "${WORKDIR}/libsvg-cairo" inherit autotools pkgconfig -- cgit 1.2.3-korg