Update to Snort 2.9.17, with a fix for -fno-common

From maintainer Markus Lude
Add missing patch.
This commit is contained in:
naddy 2021-02-18 20:14:22 +00:00
parent 8e5a08e41a
commit 26bb131cae

View File

@ -0,0 +1,23 @@
$OpenBSD: patch-src_dynamic-preprocessors_s7commplus_Makefile_in,v 1.1 2021/02/18 20:14:22 naddy Exp $
Index: src/dynamic-preprocessors/s7commplus/Makefile.in
--- src/dynamic-preprocessors/s7commplus/Makefile.in.orig
+++ src/dynamic-preprocessors/s7commplus/Makefile.in
@@ -344,7 +344,7 @@ top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = foreign no-dependencies
dynamicpreprocessordir = ${libdir}/snort_dynamicpreprocessor
dynamicpreprocessor_LTLIBRARIES = libsf_s7commplus_preproc.la
-libsf_s7commplus_preproc_la_LDFLAGS = -export-dynamic -module @XCCFLAGS@
+libsf_s7commplus_preproc_la_LDFLAGS = -export-dynamic -module -avoid-version @XCCFLAGS@
@SO_WITH_STATIC_LIB_TRUE@libsf_s7commplus_preproc_la_LIBADD = ../libsf_dynamic_preproc.la
@SO_WITH_STATIC_LIB_FALSE@nodist_libsf_s7commplus_preproc_la_SOURCES = \
@SO_WITH_STATIC_LIB_FALSE@../include/sf_dynamic_preproc_lib.c \
@@ -546,7 +546,7 @@ distdir-am: $(DISTFILES)
done
check-am: all-am
check: check-am
-all-am: Makefile $(LTLIBRARIES) all-local
+all-am: Makefile $(LTLIBRARIES)
installdirs:
for dir in "$(DESTDIR)$(dynamicpreprocessordir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \