From: Frans Meulenbroeks Date: Sat, 1 Jul 2006 11:06:41 +0000 (+0000) Subject: cyrus-sasl: removed static for local decl of a var mentioned in .h as X-Git-Tag: Release-2010-05/1~9453^2~1389 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74f1ef81f915cf0df22c91214ca121fc373554e2;p=openembedded.git cyrus-sasl: removed static for local decl of a var mentioned in .h as gcc 4.1.1. does not like that --- 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