pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/snort Use stdbool.h instead of defining bool manua...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6ce486b7e82f
branches:  trunk
changeset: 543683:6ce486b7e82f
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jun 21 21:44:21 2008 +0000

description:
Use stdbool.h instead of defining bool manually.
Fixes issues e.g. on NetBSD where bool is defined by system headers.

diffstat:

 net/snort/distinfo         |   4 +++-
 net/snort/patches/patch-ag |  19 +++++++++++++++++++
 net/snort/patches/patch-ah |  13 +++++++++++++
 3 files changed, 35 insertions(+), 1 deletions(-)

diffs (55 lines):

diff -r 044915df164c -r 6ce486b7e82f net/snort/distinfo
--- a/net/snort/distinfo        Sat Jun 21 21:29:40 2008 +0000
+++ b/net/snort/distinfo        Sat Jun 21 21:44:21 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.43 2008/05/25 23:49:07 adrianp Exp $
+$NetBSD: distinfo,v 1.44 2008/06/21 21:44:21 joerg Exp $
 
 SHA1 (snort-2.8.1.tar.gz) = 1551ffc7bf60f5330304f3f222fa4f7c4929f5c5
 RMD160 (snort-2.8.1.tar.gz) = cb7cc76c07abbfdddcb4b3a5b5fc39371faf0a0c
@@ -9,3 +9,5 @@
 SHA1 (patch-ad) = d4bf1dee02af1f1730263a78a868bbdae5d8846d
 SHA1 (patch-ae) = ca74cfab6d9010d037a1e72e7c39b7982888c476
 SHA1 (patch-af) = ce5129f0337514c9a2a9a482e2f1ed9a405112ec
+SHA1 (patch-ag) = 1dfcb56284528b307f44d911f84f64832d907139
+SHA1 (patch-ah) = 1dee26c42c30e60be83a5e574183f2394d23e340
diff -r 044915df164c -r 6ce486b7e82f net/snort/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/snort/patches/patch-ag        Sat Jun 21 21:44:21 2008 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-ag,v 1.1 2008/06/21 21:44:21 joerg Exp $
+
+--- src/sfutil/sf_textlog.h.orig       2008-06-21 15:32:51.000000000 +0000
++++ src/sfutil/sf_textlog.h
+@@ -40,13 +40,13 @@
+ #ifndef _SF_TEXT_LOG_H
+ #define _SF_TEXT_LOG_H
+ 
++#include <stdbool.h>
+ #include <stdio.h>
+ #include <string.h>
+ #include <time.h>
+ 
+ #include "debug.h" /* for INLINE */
+ 
+-typedef int bool;
+ #define TRUE 1
+ #define FALSE 0
+ 
diff -r 044915df164c -r 6ce486b7e82f net/snort/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/snort/patches/patch-ah        Sat Jun 21 21:44:21 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2008/06/21 21:44:21 joerg Exp $
+
+--- src/log_text.c.orig        2008-06-21 15:36:20.000000000 +0000
++++ src/log_text.c
+@@ -1244,7 +1244,7 @@ static void LogReference(TextLog* log, R
+  *
+  * Returns: void function
+  */ 
+-void LogXrefs(TextLog* log, int doNewLine)
++void LogXrefs(TextLog* log, bool doNewLine)
+ {
+     ReferenceNode *refNode = NULL;
+ 



Home | Main Index | Thread Index | Old Index