From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4C59C138359 for ; Sat, 5 Sep 2020 10:33:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 865EBE086C; Sat, 5 Sep 2020 10:33:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 66E1BE086C for ; Sat, 5 Sep 2020 10:33:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 594BA340CC5 for ; Sat, 5 Sep 2020 10:33:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0585033A for ; Sat, 5 Sep 2020 10:33:15 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1599301991.0621697eecc3615e6c69cbf3a9a49a1bbabdc112.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/snort/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/snort/files/snort-2.9.15.1-fno-common.patch X-VCS-Directories: net-analyzer/snort/files/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 0621697eecc3615e6c69cbf3a9a49a1bbabdc112 X-VCS-Branch: master Date: Sat, 5 Sep 2020 10:33:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5ae86412-6438-4125-9e74-9c8fa82cd23b X-Archives-Hash: 5c682d258f77ef394ed220cf019bfea7 commit: 0621697eecc3615e6c69cbf3a9a49a1bbabdc112 Author: Jeroen Roovers gentoo org> AuthorDate: Sat Sep 5 10:31:45 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sat Sep 5 10:33:11 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0621697e net-analyzer/snort: Guard PreprocStats definitions Package-Manager: Portage-3.0.5, Repoman-3.0.1 Closes: https://bugs.gentoo.org/740440 Signed-off-by: Jeroen Roovers gentoo.org> net-analyzer/snort/files/snort-2.9.15.1-fno-common.patch | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/net-analyzer/snort/files/snort-2.9.15.1-fno-common.patch b/net-analyzer/snort/files/snort-2.9.15.1-fno-common.patch index 9fe39933ddf..f5e3b3bbe34 100644 --- a/net-analyzer/snort/files/snort-2.9.15.1-fno-common.patch +++ b/net-analyzer/snort/files/snort-2.9.15.1-fno-common.patch @@ -29,11 +29,13 @@ void InitJSNormLookupTable(void); --- a/src/preprocessors/spp_session.h +++ b/src/preprocessors/spp_session.h -@@ -28,6 +28,8 @@ +@@ -28,6 +28,10 @@ #include "decode.h" #include "session_common.h" ++#ifdef PERF_PROFILING +extern PreprocStats sessionPerfStats; ++#endif + /* list of function prototypes for this preprocessor */ void SetupSessionManager(void); @@ -97,10 +99,12 @@ --- a/src/detection-plugins/sp_session.h +++ b/src/detection-plugins/sp_session.h -@@ -29,5 +29,6 @@ +@@ -29,5 +29,8 @@ void SetupSession(void); uint32_t SessionHash(void *d); int SessionCompare(void *l, void *r); ++#ifdef PERF_PROFILING +extern PreprocStats sp_sessionPerfStats; ++#endif #endif /* __SP_SESSION_H__ */