diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2016-10-12 22:17:08 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2016-10-12 22:17:18 +0100 |
commit | 5183ad7acf9d419dcd6b80e572d1e96d80a1f9cf (patch) | |
tree | 69d2135734efcff67fbe7695adc3b7d0dd3a0aa6 /net-analyzer/snort/files | |
parent | virtual/pypy3: Bump to 5.5.0 (alpha) (diff) | |
download | gentoo-5183ad7acf9d419dcd6b80e572d1e96d80a1f9cf.tar.gz gentoo-5183ad7acf9d419dcd6b80e572d1e96d80a1f9cf.tar.bz2 gentoo-5183ad7acf9d419dcd6b80e572d1e96d80a1f9cf.zip |
net-analyzer/snort: fix USE="-*" build failures, bug #595512
Minimum buildable configurations is:
USE="-* targetbased normalizer mpls"
Surrounding code assumes availability enums and defines
guarded by these flags. Enable them unconditionally.
Bug: https://bugs.gentoo.org/595512
Package-Manager: portage-2.3.2
Diffstat (limited to 'net-analyzer/snort/files')
-rw-r--r-- | net-analyzer/snort/files/snort-2.9.8.3-no-implicit.patch | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net-analyzer/snort/files/snort-2.9.8.3-no-implicit.patch b/net-analyzer/snort/files/snort-2.9.8.3-no-implicit.patch new file mode 100644 index 000000000000..7faf9a4aaa25 --- /dev/null +++ b/net-analyzer/snort/files/snort-2.9.8.3-no-implicit.patch @@ -0,0 +1,8 @@ +diff --git a/src/preprocessors/perf_indicators.c b/src/preprocessors/perf_indicators.c +index d859fe7..c183552 100755 +--- a/src/preprocessors/perf_indicators.c ++++ b/src/preprocessors/perf_indicators.c +@@ -25,2 +25,3 @@ + #include "perf_indicators.h" ++#include "cpuclock.h" /* get_ticks_per_usec */ + |