You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2011/07/14 15:55:20 UTC

svn commit: r1146716 - /subversion/trunk/tools/dev/unix-build/Makefile.svn

Author: stsp
Date: Thu Jul 14 13:55:20 2011
New Revision: 1146716

URL: http://svn.apache.org/viewvc?rev=1146716&view=rev
Log:
* tools/dev/unix-build/Makefile.svn: Patch cyrus-sasl to avoid excessive
   auth log spam from sasl because of broken or incomplete .la files.
   Problem reported upstream.

Modified:
    subversion/trunk/tools/dev/unix-build/Makefile.svn

Modified: subversion/trunk/tools/dev/unix-build/Makefile.svn
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dev/unix-build/Makefile.svn?rev=1146716&r1=1146715&r2=1146716&view=diff
==============================================================================
--- subversion/trunk/tools/dev/unix-build/Makefile.svn (original)
+++ subversion/trunk/tools/dev/unix-build/Makefile.svn Thu Jul 14 13:55:20 2011
@@ -820,6 +820,12 @@ ifeq ($(UNAME),OpenBSD)
 	done
 	chmod +x $(CYRUS_SASL_SRCDIR)/configure
 endif
+	# Fixes excessive auth log spam from sasl if broken .la files exist
+	sed 's/SASL_LOG_WARN/SASL_LOG_DEBUG/' \
+		< $(CYRUS_SASL_SRCDIR)/lib/dlopen.c \
+		> $(CYRUS_SASL_SRCDIR)/lib/dlopen.c.patched
+	mv $(CYRUS_SASL_SRCDIR)/lib/dlopen.c.patched \
+		$(CYRUS_SASL_SRCDIR)/lib/dlopen.c
 	touch $@
 
 # configure cyrus-sasl