pkgsrc/sysutils/rsyslog/patches/patch-plugins_imuxsock_imuxsock.c
fhajny 7a33e8ae91 Update rsyslog to 8.6.0.
Version 8.6.0 [v8-stable] 2014-12-02
 - configuration-setting rsyslogd command line options deprecated
 - new and enhanced plugins for 0mq. These are currently experimantal.
 - empty rulesets have been permitted. They no longer raise a syntax error.
 - add parameter -N3 to enable config check of partial config file
 - rsyslogd -e option has finally been removed
 - testbench improvements
 - testbench is now by default disabled
 - add new RainerScript functions warp() and replace()
 - mmnormalize can now also work on a variable
 - new property date options for day ordinal and week number
 - remove --enable-zlib configure option, we always require it
 - slight source-tree restructuring: contributed modules are now in their
   own ./contrib directory
 - bugfix: imudp makes rsyslog hang on shutdown when more than 1 thread used
 - bugfix: not all files closed on auto-backgrounding startup
 - bugfix: typo in queue configuration parameter made parameter unusable
 - bugfix: unitialized buffer off-by-one error in hostname generation
 - bugfix imuxsock: possible segfault when SysSock.Use="off"
 - bugfix: RainerScript: invalid ruleset names were accepted during ruleset
   defintion, but could of course not be used when e.g. calling a ruleset.
 - bugfix: some module entry points were not called for all modules callbacks
   like endCnfLoad() were primarily being called for input modules. This has
   been corrected. Note that this bugfix has some regression potential.
 - bugfix omlibdbi: connection was taken down in wrong thread
 - imttcp was removed because it was an incompleted experimental module
 - pmrfc3164sd because it was a custom module nobody used
 - omoracle was removed because it was orphaned and did not build/work
   for quite some years and nobody was interested in fixing it

Version 8.5.0 [v8-stable] 2014-10-24
 - imfile greatly refactored and support for wildcards added
 - PRI-handling code refactored for more clarity and robustness
 - ommail: add support for RainerScript config system [action() object]
 - refactored the auto-backgrounding method
 - make gntls tcp syslog driver emit more error messages
 - bugfix: imfile did not complain if configured file did not exist
 - bugfix: build failure on systems which don't have json_tokener_errors
 - imgssapi: log remote peer address in some error messages
2014-12-12 12:47:46 +00:00

16 lines
448 B
C

$NetBSD: patch-plugins_imuxsock_imuxsock.c,v 1.2 2014/12/12 12:47:46 fhajny Exp $
Define _XPG4_2 on SunOS to pick up CMSG_* macros.
--- plugins/imuxsock/imuxsock.c.orig 2014-12-02 10:15:16.000000000 +0000
+++ plugins/imuxsock/imuxsock.c
@@ -25,6 +25,9 @@
*
* A copy of the GPL can be found in the file "COPYING" in this distribution.
*/
+#ifdef __sun
+#define _XPG4_2
+#endif
#include "config.h"
#include "rsyslog.h"
#include <stdlib.h>