File syslog-ng-3.2.2-module-path.diff of Package syslog-ng
--- a/scl/modules.conf 2010-11-20 09:47:33.000000000 +0100
+++ b/scl/modules.conf 2011-02-02 10:00:23.134862483 +0100
@@ -16,6 +16,7 @@
# over the modules loaded, simply don't include this file.
@define autoload-compiled-modules 0
+#@define module-path "/lib/syslog-ng:/usr/lib/syslog-ng:/lib64/syslog-ng:/usr/lib64/syslog-ng"
@module syslogformat
@module basicfuncs
@module afsocket
--- a/lib/cfg.c 2011-01-04 12:57:06.000000000 +0100
+++ b/lib/cfg.c 2011-02-02 11:33:15.601789792 +0100
@@ -285,9 +285,6 @@
plugin_load_module("afuser", self, NULL);
plugin_load_module("dbparser", self, NULL);
plugin_load_module("csvparser", self, NULL);
-#if ENABLE_SQL_MODULE
- plugin_load_module("afsql", self, NULL);
-#endif
#if ENABLE_SUN_STREAMS_MODULE
plugin_load_module("afstreams", self, NULL);
#endif