openbsd-ports/net/zabbix/patches/patch-configure
robert f9f6848745 update to zabbix-3.4.6 and split out the proxy to a new subpackage
so that we can keep sqlite support for the proxy because the server
does not support that anymore
2018-01-25 13:56:35 +00:00

31 lines
998 B
Plaintext

$OpenBSD: patch-configure,v 1.20 2018/01/25 13:56:35 robert Exp $
Index: configure
--- configure.orig
+++ configure
@@ -6360,6 +6360,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
#include <stdlib.h>
#include <sys/queue.h>
+#include <sys/select.h>
#include <sys/sensors.h>
int
main ()
@@ -9254,7 +9255,7 @@ $as_echo "yes" >&6; }
JABBER_INCDIR="$IKSEMEL_CPPFLAGS"
JABBER_LIBDIR="$IKSEMEL_LDFLAGS"
- JABBER_LIBS="-liksemel"
+ JABBER_LIBS="-liksemel -lpthread"
fi
else
@@ -9264,7 +9265,7 @@ $as_echo_n "checking for iksemel support... " >&6; }
if test -f $_libiksemel_with/include/iksemel.h; then
JABBER_INCDIR="-I$_libiksemel_with/include"
JABBER_LIBDIR="-L$_libiksemel_with/lib"
- JABBER_LIBS="-liksemel"
+ JABBER_LIBS="-liksemel -lpthread"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
else