public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-libs/cyrus-sasl/files: cyrus-sasl-2.1.23-authd-fix.patch
@ 2009-08-17 10:17 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2009-08-17 10:17 UTC (permalink / raw
  To: gentoo-commits

vapier      09/08/17 10:17:14

  Added:                cyrus-sasl-2.1.23-authd-fix.patch
  Log:
  Fix USE=postgres handling, add USE=sqlite support, use latest autotools, and cleanup ebuild in general.
  (Portage version: 2.2_rc38/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.23-authd-fix.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.23-authd-fix.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/cyrus-sasl/files/cyrus-sasl-2.1.23-authd-fix.patch?rev=1.1&content-type=text/plain

Index: cyrus-sasl-2.1.23-authd-fix.patch
===================================================================
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 */






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-17 10:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-17 10:17 [gentoo-commits] gentoo-x86 commit in dev-libs/cyrus-sasl/files: cyrus-sasl-2.1.23-authd-fix.patch Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox