dovecot-1.2: quota-fs: Avoid compiler warning with BSDs.

dovecot at dovecot.org dovecot at dovecot.org
Mon Jan 5 00:22:12 EET 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/a496105bf45c
changeset: 8589:a496105bf45c
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Jan 04 17:22:05 2009 -0500
description:
quota-fs: Avoid compiler warning with BSDs.

diffstat:

1 file changed, 2 insertions(+), 1 deletion(-)
src/plugins/quota/Makefile.am |    3 ++-

diffs (13 lines):

diff -r 73b8468c3b87 -r a496105bf45c src/plugins/quota/Makefile.am
--- a/src/plugins/quota/Makefile.am	Sun Jan 04 06:59:31 2009 -0500
+++ b/src/plugins/quota/Makefile.am	Sun Jan 04 17:22:05 2009 -0500
@@ -40,7 +40,8 @@ rquota_xdr.c: Makefile $(RQUOTA_X)
 	 $(RPCGEN) -c $(RQUOTA_X) | \
 	  sed -e 's/IXDR_PUT/(void)IXDR_PUT/g' \
 	    -e 's,/usr/include/rpcsvc/rquota.h,rquota.h,' \
-	    -e 's/int32_t \*buf/int32_t *buf ATTR_UNUSED/' ) > rquota_xdr.c
+	    -e 's/int32_t \*buf/int32_t *buf ATTR_UNUSED/' \
+	    -e 's/^static char rcsid.*//' ) > rquota_xdr.c
 
 rquota.h: Makefile $(RQUOTA_X)
 	$(RPCGEN) -h $(RQUOTA_X) > rquota.h


More information about the dovecot-cvs mailing list