git: 978f79e052c1 - main - security/suricata: fix build on powerpc64*

Piotr Kubaj pkubaj at FreeBSD.org
Sun May 2 12:34:15 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=978f79e052c1f8a7d6fee4b703e52065150efe94

commit 978f79e052c1f8a7d6fee4b703e52065150efe94
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-05-02 12:34:16 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-05-02 12:34:16 +0000

    security/suricata: fix build on powerpc64*
    
    Clang does not have libatomic.
---
 security/suricata/files/patch-configure.ac | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

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}"


More information about the dev-commits-ports-all mailing list