summaryrefslogtreecommitdiff
path: root/net/snort/patches/patch-aa
diff options
context:
space:
mode:
authoragc <agc>2000-02-02 12:06:15 +0000
committeragc <agc>2000-02-02 12:06:15 +0000
commit413fbfa4f688f47a16c36c89fb822f6c4c6b5afc (patch)
tree06a614b91cb7d869b26608f4e10fd57ca9bdda79 /net/snort/patches/patch-aa
parentdea97e76ccddb013ff854ffe72f99cd0f9d1de45 (diff)
downloadpkgsrc-413fbfa4f688f47a16c36c89fb822f6c4c6b5afc.tar.gz
Make this package work on Solaris.
Diffstat (limited to 'net/snort/patches/patch-aa')
-rw-r--r--net/snort/patches/patch-aa19
1 files changed, 19 insertions, 0 deletions
diff --git a/net/snort/patches/patch-aa b/net/snort/patches/patch-aa
new file mode 100644
index 00000000000..9f129136b6f
--- /dev/null
+++ b/net/snort/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1 2000/02/02 12:06:16 agc Exp $
+
+Solaris needs extra definitions
+
+--- snort.h 2000/02/01 16:00:21 1.1
++++ snort.h 2000/02/01 16:01:51
+@@ -20,6 +20,12 @@
+ #ifndef __SNORT_H__
+ #define __SNORT_H__
+
++#if defined(__svr4__) && defined(__sun__)
++typedef unsigned char u_int8_t;
++typedef unsigned short u_int16_t;
++typedef unsigned int u_int32_t;
++#endif
++
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif