aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-05-02 12:34:16 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-05-02 12:34:16 +0000
commit978f79e052c1f8a7d6fee4b703e52065150efe94 (patch)
tree96794494b36f6a1baa38aff4b46bd337fd0cb12d
parent912019063afdf44a66942640a79bdc72a9efa2d8 (diff)
downloadports-978f79e052c1f8a7d6fee4b703e52065150efe94.tar.gz
ports-978f79e052c1f8a7d6fee4b703e52065150efe94.zip
security/suricata: fix build on powerpc64*
Clang does not have libatomic.
-rw-r--r--security/suricata/files/patch-configure.ac11
1 files changed, 10 insertions, 1 deletions
diff --git a/security/suricata/files/patch-configure.ac b/security/suricata/files/patch-configure.ac
index 50f478ea39f3..b1eece593d90 100644
--- a/security/suricata/files/patch-configure.ac
+++ b/security/suricata/files/patch-configure.ac
@@ -1,6 +1,15 @@
--- configure.ac.orig 2021-03-01 16:13:22 UTC
+++ configure.ac
-@@ -1186,8 +1186,10 @@
+@@ -706,8 +706,6 @@
+ # unittests when jit is enabled.
+ pcre_jit_available="no, pcre 8.39/8.40 jit disabled for powerpc64"
+ fi
+- # hack: use libatomic
+- LIBS="${LIBS} -latomic"
+ ;;
+ *)
+ # bug 1693, libpcre 8.35 is broken and debian jessie is still using that
+@@ -1186,8 +1184,10 @@
AS_HELP_STRING([--enable-prelude], [Enable Prelude support for alerts]),[enable_prelude=$enableval],[enable_prelude=no])
# Prelude doesn't work with -Werror
STORECFLAGS="${CFLAGS}"