- Add in workaround for compatibility with libhtp >= 0.3

- Bump PORTREVISION
This commit is contained in:
Ryan Steinmetz 2012-09-06 02:07:34 +00:00
parent 1975fc87b7
commit 03712c6e95
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303731
2 changed files with 12 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= suricata
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.openinfosecfoundation.org/download/ \
http://mirrors.rit.edu/zi/

View file

@ -0,0 +1,11 @@
--- ./src/suricata-common.h.orig 2012-09-05 21:43:08.000000000 -0400
+++ ./src/suricata-common.h 2012-09-05 21:46:28.000000000 -0400
@@ -131,6 +131,8 @@
#include <assert.h>
#define BUG_ON(x) assert(!(x))
+#define table_getc(x, y) table_get_c(x, y)
+
/* we need this to stringify the defines which are supplied at compiletime see:
http://gcc.gnu.org/onlinedocs/gcc-3.4.1/cpp/Stringification.html#Stringification */
#define xstr(s) str(s)