diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 16:04:17 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 16:04:17 (GMT) |
commit | 927e681145873e5045d07c9b7bb97f98e662040d (patch) | |
tree | 168eabeb632c9922c5e281436bc0967fea7f8304 /abs/core/libsasl/cyrus-sasl-2.1.23-authd-fix.patch | |
parent | 9b52b29dd1f40f1fffea8fe268ab833c2db8b293 (diff) | |
download | linhes_pkgbuild-927e681145873e5045d07c9b7bb97f98e662040d.zip linhes_pkgbuild-927e681145873e5045d07c9b7bb97f98e662040d.tar.gz linhes_pkgbuild-927e681145873e5045d07c9b7bb97f98e662040d.tar.bz2 |
libsasl 2.1.23
Diffstat (limited to 'abs/core/libsasl/cyrus-sasl-2.1.23-authd-fix.patch')
-rw-r--r-- | abs/core/libsasl/cyrus-sasl-2.1.23-authd-fix.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/core/libsasl/cyrus-sasl-2.1.23-authd-fix.patch b/abs/core/libsasl/cyrus-sasl-2.1.23-authd-fix.patch new file mode 100644 index 0000000..f5f372d --- /dev/null +++ b/abs/core/libsasl/cyrus-sasl-2.1.23-authd-fix.patch @@ -0,0 +1,28 @@ +fix warnings: + +auth_sasldb.c: In function ‘auth_sasldb’: +auth_sasldb.c:144: warning: implicit declaration of function ‘gethostname’ + +auth_sasldb.c:153: warning: passing argument 8 of ‘_sasldb_getdata’ from incompatible pointer type +../sasldb/sasldb.h:60: note: expected ‘size_t *’ but argument is of type ‘int *’ + +--- saslauthd/auth_sasldb.c ++++ saslauthd/auth_sasldb.c +@@ -41,6 +41,7 @@ + #include <string.h> + #include <stdlib.h> + #include <pwd.h> ++#include <unistd.h> + /* END PUBLIC DEPENDENCIES */ + + #define RETURN(x) return strdup(x) +@@ -131,7 +132,8 @@ + /* VARIABLES */ + char pw[1024]; /* pointer to passwd file entry */ + sasl_utils_t utils; +- int ret, outsize; ++ int ret; ++ size_t outsize; + const char *use_realm; + char realm_buf[MAXHOSTNAMELEN]; + /* END VARIABLES */ |