Subject: CVS commit: [pkgsrc-2018Q4] pkgsrc/sysutils/syslog-ng
From: Benny Siegert
Date: 2019-03-17 16:45:44
Message id: 20190317154544.5F0F8FB16@cvs.NetBSD.org

Log Message:
Pullup ticket #5924 - requested by bouyer
sysutils/syslog-ng: NetBSD bugfix

Revisions pulled up:
- sysutils/syslog-ng/Makefile                                   1.34
- sysutils/syslog-ng/distinfo                                   1.16
- sysutils/syslog-ng/patches/patch-lib_signal-handler.c         1.1

---
   Module Name:	pkgsrc
   Committed By:	bouyer
   Date:		Fri Mar 15 10:04:00 UTC 2019

   Modified Files:
   	pkgsrc/sysutils/syslog-ng: Makefile distinfo
   Added Files:
   	pkgsrc/sysutils/syslog-ng/patches: patch-lib_signal-handler.c

   Log Message:
   syslog-ng overloads sigaction() with its own version, and calls the libc
   sigaction() with a dlsym call. On NetBSD this ends up calling the compatibility
   sigaction() which fails with ENOSYS if COMPAT_13 is not in the kernel.
   Even with COMPAT_13 it would be incorrect because we call the compat
   sigaction() with the non-compat arguments.

   On NetBSD, fix this by calling explicitely __libc_sigaction14().
   Bump PKGREVISION

Files:
RevisionActionfile
1.33.8.1modifypkgsrc/sysutils/syslog-ng/Makefile
1.15.4.1modifypkgsrc/sysutils/syslog-ng/distinfo
1.1.2.2addpkgsrc/sysutils/syslog-ng/patches/patch-lib_signal-handler.c