aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormatthew <matthew@FreeBSD.org>2016-09-19 21:52:34 +0800
committermatthew <matthew@FreeBSD.org>2016-09-19 21:52:34 +0800
commitf7cbac7664a1d49a0888197345864c4fcaf9083a (patch)
tree32796c91531fc2e0776ffe5b6a41b7ce005737b8 /sysutils
parent6153d184ce4f911e361a8493d7f5566f953cd6f6 (diff)
downloadfreebsd-ports-gnome-f7cbac7664a1d49a0888197345864c4fcaf9083a.tar.gz
freebsd-ports-gnome-f7cbac7664a1d49a0888197345864c4fcaf9083a.tar.zst
freebsd-ports-gnome-f7cbac7664a1d49a0888197345864c4fcaf9083a.zip
Fix autoconf detection of pthread_setschedparam() -- the test program
needs to be linked against -lpthread. Regenerate patches by 'make makepatch' Take maintainership PR: 212823 Approved by: brd
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/rsyslog8/Makefile3
-rw-r--r--sysutils/rsyslog8/files/patch-configure.ac18
-rw-r--r--sysutils/rsyslog8/files/patch-grammar_rainerscript.c2
-rw-r--r--sysutils/rsyslog8/files/patch-plugins_impstats_impstats.c2
-rw-r--r--sysutils/rsyslog8/files/patch-runtime_nsd__ptcp.c2
5 files changed, 23 insertions, 4 deletions
diff --git a/sysutils/rsyslog8/Makefile b/sysutils/rsyslog8/Makefile
index 4341f324ff79..e2a065fbe39f 100644
--- a/sysutils/rsyslog8/Makefile
+++ b/sysutils/rsyslog8/Makefile
@@ -2,10 +2,11 @@
PORTNAME= rsyslog
PORTVERSION= 8.19.0
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.rsyslog.com/files/download/rsyslog/
-MAINTAINER= brd@FreeBSD.org
+MAINTAINER= matthew@FreeBSD.org
COMMENT= Syslogd supporting SQL, TCP, and TLS
BUILD_DEPENDS= libgcrypt-config:security/libgcrypt \
diff --git a/sysutils/rsyslog8/files/patch-configure.ac b/sysutils/rsyslog8/files/patch-configure.ac
new file mode 100644
index 000000000000..7535b3da2dba
--- /dev/null
+++ b/sysutils/rsyslog8/files/patch-configure.ac
@@ -0,0 +1,18 @@
+--- configure.ac.orig 2016-05-30 10:40:49 UTC
++++ configure.ac
+@@ -294,10 +294,14 @@ AC_CHECK_LIB(
+ [1],
+ [Can set thread-name.])])
+
+-AC_CHECK_FUNCS(
++AC_SEARCH_LIBS(
+ [pthread_setschedparam],
++ [pthread],
+ [
+ rsyslog_have_pthread_setschedparam=yes
++ AC_DEFINE([HAVE_PTHREAD_SETSCHEDPARAM],
++ [1],
++ [Can set thread scheduling parameters])
+ ],
+ [
+ rsyslog_have_pthread_setschedparam=no
diff --git a/sysutils/rsyslog8/files/patch-grammar_rainerscript.c b/sysutils/rsyslog8/files/patch-grammar_rainerscript.c
index 60d773982a43..419d73d99ca0 100644
--- a/sysutils/rsyslog8/files/patch-grammar_rainerscript.c
+++ b/sysutils/rsyslog8/files/patch-grammar_rainerscript.c
@@ -1,4 +1,4 @@
---- grammar/rainerscript.c.orig 2015-06-30 12:26:24 UTC
+--- grammar/rainerscript.c.orig 2016-05-30 10:40:35 UTC
+++ grammar/rainerscript.c
@@ -35,6 +35,7 @@
#include <sys/stat.h>
diff --git a/sysutils/rsyslog8/files/patch-plugins_impstats_impstats.c b/sysutils/rsyslog8/files/patch-plugins_impstats_impstats.c
index 4e19f773c345..886971a5aa5e 100644
--- a/sysutils/rsyslog8/files/patch-plugins_impstats_impstats.c
+++ b/sysutils/rsyslog8/files/patch-plugins_impstats_impstats.c
@@ -1,4 +1,4 @@
---- plugins/impstats/impstats.c.orig 2015-04-30 08:50:15 UTC
+--- plugins/impstats/impstats.c.orig 2016-05-30 10:40:35 UTC
+++ plugins/impstats/impstats.c
@@ -36,6 +36,7 @@
#include <errno.h>
diff --git a/sysutils/rsyslog8/files/patch-runtime_nsd__ptcp.c b/sysutils/rsyslog8/files/patch-runtime_nsd__ptcp.c
index 5bea2ea80cf4..e1fdcc44297f 100644
--- a/sysutils/rsyslog8/files/patch-runtime_nsd__ptcp.c
+++ b/sysutils/rsyslog8/files/patch-runtime_nsd__ptcp.c
@@ -1,4 +1,4 @@
---- runtime/nsd_ptcp.c.orig 2015-04-30 08:50:16 UTC
+--- runtime/nsd_ptcp.c.orig 2016-05-02 13:37:05 UTC
+++ runtime/nsd_ptcp.c
@@ -656,7 +656,11 @@ EnableKeepAlive(nsd_t *pNsd)
if(pThis->iKeepAliveProbes > 0) {