summaryrefslogtreecommitdiffstats
path: root/meta-openembedded/meta-networking/recipes-connectivity/snort/snort/0001-fix-do_package-failed-since-snort-2.9.7.0.patch
blob: 047caec3246ac6a4c5ba0f71738eba11bf15bca5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From 4335c4c61877c0b65ff4ec767e8ad3ad8c73c32d Mon Sep 17 00:00:00 2001
From: Zhiquan Li <zhiquan.li@windriver.com>
Date: Fri, 13 Nov 2015 17:40:24 +0800
Subject: [PATCH] fix do_package failed since snort 2.9.7.0

Remove redundant '/' as a workround for below error:
/lib/rpm/bin/debugedit: canonicalization unexpectedly shrank by one character

It's a rpm debugedit bug:
* http://sourceforge.net/p/snort/mailman/message/34130268/
* https://bugzilla.redhat.com/show_bug.cgi?id=304121

Upstream-Status:Inappropriate [embedded specific]

Signed-off-by: Zhiquan Li <zhiquan.li@windriver.com>

---
 src/snort.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/snort.h b/src/snort.h
index 8308e57..499d157 100644
--- a/src/snort.h
+++ b/src/snort.h
@@ -39,7 +39,7 @@
 #include "sfdaq.h"
 #include "sf_types.h"
 #include "sfutil/sflsq.h"
-#include "sfutil//sfActionQueue.h"
+#include "sfutil/sfActionQueue.h"
 #include "profiler.h"
 #include "rules.h"
 #include "treenodes.h"
OpenPOWER on IntegriCloud