summaryrefslogtreecommitdiff
path: root/core/libsasl/cyrus-sasl-2.1.23-authd-fix.patch
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-08 10:54:13 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-08 10:54:13 -0300
commite0981df8c5fce1353e1499a5085e27f92afddcea (patch)
tree06de6ad8de74d4b7b040d67f050c1fd43fe83a33 /core/libsasl/cyrus-sasl-2.1.23-authd-fix.patch
parent97a74a6a87ccbeb5649f226377d0c10ae824f1e1 (diff)
parent0f9e4ba23bb6296d8bb8010f70d868fd08db9c54 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/curlftpfs/PKGBUILD core/libcap/PKGBUILD core/libsasl/PKGBUILD core/udev/PKGBUILD extra/cyrus-sasl/PKGBUILD extra/dbus/PKGBUILD extra/fluidsynth/PKGBUILD extra/mercurial/PKGBUILD extra/redland/PKGBUILD extra/soprano/PKGBUILD multilib/lib32-curl/PKGBUILD multilib/lib32-freetype2/PKGBUILD multilib/lib32-mesa/PKGBUILD multilib/wine/PKGBUILD
Diffstat (limited to 'core/libsasl/cyrus-sasl-2.1.23-authd-fix.patch')
-rw-r--r--core/libsasl/cyrus-sasl-2.1.23-authd-fix.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/core/libsasl/cyrus-sasl-2.1.23-authd-fix.patch b/core/libsasl/cyrus-sasl-2.1.23-authd-fix.patch
new file mode 100644
index 000000000..f5f372d17
--- /dev/null
+++ b/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 */