diff options
author | agc <agc@pkgsrc.org> | 2000-02-02 12:06:15 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2000-02-02 12:06:15 +0000 |
commit | 353916ddfafd645fa2108a91b26b5d0f97acc8c0 (patch) | |
tree | 06a614b91cb7d869b26608f4e10fd57ca9bdda79 /net/snort/patches | |
parent | 3d9caa2f6216bbae06a40fcd8586201c87bcffca (diff) | |
download | pkgsrc-353916ddfafd645fa2108a91b26b5d0f97acc8c0.tar.gz |
Make this package work on Solaris.
Diffstat (limited to 'net/snort/patches')
-rw-r--r-- | net/snort/patches/patch-aa | 19 |
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 |