libsvg_0.1.4.bb: add patch to solve autoreconf errors
authorJeremy Laine <jeremy.laine@m4x.org>
Sat, 7 Jun 2008 01:11:25 +0000 (01:11 +0000)
committerJeremy Laine <jeremy.laine@m4x.org>
Sat, 7 Jun 2008 01:11:25 +0000 (01:11 +0000)
packages/cairo/libsvg-0.1.4/configure_fix.patch [new file with mode: 0644]
packages/cairo/libsvg_0.1.4.bb

diff --git a/packages/cairo/libsvg-0.1.4/configure_fix.patch b/packages/cairo/libsvg-0.1.4/configure_fix.patch
new file mode 100644 (file)
index 0000000..db20d5f
--- /dev/null
@@ -0,0 +1,22 @@
+diff -urN libsvg-0.1.4.orig/configure.in libsvg-0.1.4/configure.in
+--- libsvg-0.1.4.orig/configure.in     2005-06-15 22:27:49.000000000 +0200
++++ libsvg-0.1.4/configure.in  2008-06-07 03:06:30.000000000 +0200
+@@ -9,15 +9,18 @@
+ # Increment if the interface has additions, changes, removals.
+ LT_CURRENT=1
++AC_SUBST(LT_CURRENT)
+ # Increment any time the source changes; set to
+ # 0 if you increment CURRENT
+ LT_REVISION=0
++AC_SUBST(LT_REVISION)
+ # 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
++AC_SUBST(LT_AGE)
+ VERSION_INFO="$LT_CURRENT:$LT_REVISION:$LT_AGE"
+ AC_SUBST(VERSION_INFO)
index 21127b7..2c5578a 100644 (file)
@@ -3,9 +3,10 @@ LICENSE = "LGPL"
 PRIORITY = "optional"
 DEPENDS = "expat jpeg zlib libpng"
 DESCRIPTION = "SVG parser library"
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "http://cairographics.org/snapshots/libsvg-${PV}.tar.gz \
+           file://configure_fix.patch;patch=1 \
            file://gcc4_and_expat.patch;patch=1"
 
 EXTRA_OECONF = "--with-expat"