aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2006-12-21 20:42:16 +0800
committerarved <arved@FreeBSD.org>2006-12-21 20:42:16 +0800
commitfb42eccc5b63479f6bef22420f8df701ae642770 (patch)
tree185c1511d1d9bc1edbd4fd1900666049292eafb7
parent4bca7595a6a9be6e7581270d64f11bbf4386084f (diff)
downloadfreebsd-ports-gnome-fb42eccc5b63479f6bef22420f8df701ae642770.tar.gz
freebsd-ports-gnome-fb42eccc5b63479f6bef22420f8df701ae642770.tar.zst
freebsd-ports-gnome-fb42eccc5b63479f6bef22420f8df701ae642770.zip
Fix build with gcc41
-rw-r--r--security/bro/files/patch-Conn.h13
-rw-r--r--security/bro/files/patch-Serializer.h13
2 files changed, 24 insertions, 2 deletions
diff --git a/security/bro/files/patch-Conn.h b/security/bro/files/patch-Conn.h
index 89c2a233e68b..6d126fb09e23 100644
--- a/security/bro/files/patch-Conn.h
+++ b/security/bro/files/patch-Conn.h
@@ -1,5 +1,14 @@
---- Conn.h.orig Sat Sep 18 15:42:16 2004
-+++ Conn.h Sat Sep 18 15:42:30 2004
+--- Conn.h.orig Sun Aug 31 02:39:01 2003
++++ Conn.h Thu Dec 21 13:27:24 2006
+@@ -59,7 +59,7 @@
+ // dst_port just have to reflect the two different sides of the
+ // connection, neither has to be the particular source/destination
+ // or originator/responder.
+- HashKey* ConnID::BuildConnKey() const;
++ HashKey* BuildConnKey() const;
+ };
+
+ static inline int addr_port_canon_lt(const uint32* a1, uint32 p1,
@@ -223,6 +223,8 @@
return 1;
}
diff --git a/security/bro/files/patch-Serializer.h b/security/bro/files/patch-Serializer.h
new file mode 100644
index 000000000000..3113bddd8ef9
--- /dev/null
+++ b/security/bro/files/patch-Serializer.h
@@ -0,0 +1,13 @@
+--- Serializer.h.orig Thu Dec 21 13:24:28 2006
++++ Serializer.h Thu Dec 21 13:24:45 2006
+@@ -82,8 +82,8 @@
+ void StartSerialization();
+ bool EndSerialization();
+
+- bool Serializer::UnserializeID();
+- bool Serializer::UnserializeEvent();
++ bool UnserializeID();
++ bool UnserializeEvent();
+
+ SerializationFormat* format;
+