[oe] subversion libtool problem

Sledz, Steffen sledz at DResearch.DE
Mon Feb 16 07:18:16 UTC 2009


> Did you fix http://bugs.openembedded.net/show_bug.cgi?id=4830 when 
> "patching neon for myself"?  I tried a DEPENDS = "gnutls 
> (<2.0)" but the 
> only thing which worked was a direct reference to a 1.x version.

I've tried another way. But as long as i can't build and test subversion i'm not sure if this is working. :(

$ git diff --cached packages/neon/
diff --git a/packages/neon/files/gnutls-2.patch b/packages/neon/files/gnutls-2.patch
new file mode 100644
index 0000000..2b37dfc
--- /dev/null
+++ b/packages/neon/files/gnutls-2.patch
@@ -0,0 +1,11 @@
+diff -Nurd neon-0.25.5/macros/neon.m4 neon-0.25.5-patched/macros/neon.m4
+--- neon-0.25.5/macros/neon.m4 2009-02-03 16:23:40.000000000 +0100
++++ neon-0.25.5-patched/macros/neon.m4 2009-02-03 16:24:00.000000000 +0100
+@@ -895,6 +895,7 @@
+    1.0.?|1.0.1?|1.0.20|1.0.21) 
+       AC_MSG_ERROR([GNU TLS version $ne_gnutls_ver is too old -- 1.0.22 or later required]) ;;
+    1.*) ;;
++   2.*) ;;
+    *) AC_MSG_ERROR([GNU TLS version $ne_gnutls_ver is not supported]) ;;
+    esac
+ 
diff --git a/packages/neon/neon_0.25.5.bb b/packages/neon/neon_0.25.5.bb
index f935fdb..bec9262 100644
--- a/packages/neon/neon_0.25.5.bb
+++ b/packages/neon/neon_0.25.5.bb
@@ -4,10 +4,11 @@ SECTION = "libs"
 LICENSE = "LGPL"
 DEPENDS = "zlib libxml2 expat time gnutls"
 
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "http://www.webdav.org/${PN}/${P}.tar.gz \
-       file://gnutls-force-and-detect.patch;patch=1"
+       file://gnutls-force-and-detect.patch;patch=1 \
+       file://gnutls-2.patch;patch=1"
 
 inherit autotools binconfig lib_package pkgconfig




More information about the Openembedded-devel mailing list