public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/snort/files/
Date: Sat,  5 Sep 2020 10:33:15 +0000 (UTC)	[thread overview]
Message-ID: <1599301991.0621697eecc3615e6c69cbf3a9a49a1bbabdc112.jer@gentoo> (raw)

commit:     0621697eecc3615e6c69cbf3a9a49a1bbabdc112
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  5 10:31:45 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> 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 <jer <AT> 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__ */


                 reply	other threads:[~2020-09-05 10:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1599301991.0621697eecc3615e6c69cbf3a9a49a1bbabdc112.jer@gentoo \
    --to=jer@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox