libsvg-cairo: fix building with current libtool/autoconf
authorDmitry Baryshkov <dbaryshkov@gmail.com>
Wed, 5 Nov 2008 12:53:23 +0000 (15:53 +0300)
committerDmitry Baryshkov <dbaryshkov@gmail.com>
Tue, 11 Nov 2008 18:36:44 +0000 (21:36 +0300)
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 <dbaryshkov@gmail.com>
packages/cairo/libsvg-cairo/libsvg-cairo-libtool.diff [new file with mode: 0644]
packages/cairo/libsvg-cairo_20050601.bb

diff --git a/packages/cairo/libsvg-cairo/libsvg-cairo-libtool.diff b/packages/cairo/libsvg-cairo/libsvg-cairo-libtool.diff
new file mode 100644 (file)
index 0000000..90448dc
--- /dev/null
@@ -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 ===========================================================================
index 55e439a..9cc7c5b 100644 (file)
@@ -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