summaryrefslogtreecommitdiff
path: root/packages/cairo
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2008-11-05 15:53:23 +0300
committerDmitry Baryshkov <dbaryshkov@gmail.com>2008-11-11 21:36:44 +0300
commit758fb416d5958fcf8131c6e56eced7cd6fc2a53e (patch)
tree5568d4bd9e73d690e440c4b2aee9d18891e1c60b /packages/cairo
parent87337d2d8562d92e6dbda1edb4508a022cd926d5 (diff)
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 <dbaryshkov@gmail.com>
Diffstat (limited to 'packages/cairo')
-rw-r--r--packages/cairo/libsvg-cairo/libsvg-cairo-libtool.diff27
-rw-r--r--packages/cairo/libsvg-cairo_20050601.bb3
2 files changed, 29 insertions, 1 deletions
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