cyrus-sasl: removed static for local decl of a var mentioned in .h as
authorFrans Meulenbroeks <fransmeulenbroeks@yahoo.com>
Sat, 1 Jul 2006 11:06:41 +0000 (11:06 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sat, 1 Jul 2006 11:06:41 +0000 (11:06 +0000)
gcc 4.1.1. does not like that

packages/cyrus-sasl/cyrus-sasl-2.1.19/client.c.patch [new file with mode: 0644]
packages/cyrus-sasl/cyrus-sasl_2.1.19.bb

diff --git a/packages/cyrus-sasl/cyrus-sasl-2.1.19/client.c.patch b/packages/cyrus-sasl/cyrus-sasl-2.1.19/client.c.patch
new file mode 100644 (file)
index 0000000..775bc54
--- /dev/null
@@ -0,0 +1,11 @@
+--- xx/lib/client.c.orig       2006-07-01 12:32:46.000000000 +0200
++++ xx/lib/client.c    2006-07-01 12:33:01.000000000 +0200
+@@ -61,7 +61,7 @@
+ static cmech_list_t *cmechlist; /* global var which holds the list */
+-static sasl_global_callbacks_t global_callbacks;
++sasl_global_callbacks_t global_callbacks;
+ static int _sasl_client_active = 0;
index 7426936..f314823 100644 (file)
@@ -5,7 +5,8 @@ LICENSE = "BSD"
 PR = "r9"
 
 SRC_URI = "ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-${PV}.tar.gz \
-          file://berkdb.m4.patch;patch=1"
+          file://berkdb.m4.patch;patch=1 \
+          file://client.c.patch;patch=1"
 
 inherit autotools