summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@yahoo.com>2006-07-01 11:06:41 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-07-01 11:06:41 +0000
commit74f1ef81f915cf0df22c91214ca121fc373554e2 (patch)
tree9c7c8178a507c62e010a72208d11d54542da96af
parentf2cb6f2458aada020f09cc3db64585f220fe9126 (diff)
cyrus-sasl: removed static for local decl of a var mentioned in .h as
gcc 4.1.1. does not like that
-rw-r--r--packages/cyrus-sasl/cyrus-sasl-2.1.19/client.c.patch11
-rw-r--r--packages/cyrus-sasl/cyrus-sasl_2.1.19.bb3
2 files changed, 13 insertions, 1 deletions
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
index 0000000000..775bc54faa
--- /dev/null
+++ b/packages/cyrus-sasl/cyrus-sasl-2.1.19/client.c.patch
@@ -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;
+
diff --git a/packages/cyrus-sasl/cyrus-sasl_2.1.19.bb b/packages/cyrus-sasl/cyrus-sasl_2.1.19.bb
index 74269364a5..f3148233e5 100644
--- a/packages/cyrus-sasl/cyrus-sasl_2.1.19.bb
+++ b/packages/cyrus-sasl/cyrus-sasl_2.1.19.bb
@@ -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