aboutsummaryrefslogtreecommitdiffstats
path: root/net/freevrrpd
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-09-05 10:59:26 +0800
committerkris <kris@FreeBSD.org>2002-09-05 10:59:26 +0800
commitc8abb2721b235bd9d308d92b6546d5b12f4ac5d9 (patch)
tree91df4711f9f3b5a5bc6b94f4a9368be3196087d5 /net/freevrrpd
parent6b33e15c658ed605dfca6028eb668847f87aee38 (diff)
downloadfreebsd-ports-gnome-c8abb2721b235bd9d308d92b6546d5b12f4ac5d9.tar.gz
freebsd-ports-gnome-c8abb2721b235bd9d308d92b6546d5b12f4ac5d9.tar.zst
freebsd-ports-gnome-c8abb2721b235bd9d308d92b6546d5b12f4ac5d9.zip
Fix build on -current and quiet a warning
Diffstat (limited to 'net/freevrrpd')
-rw-r--r--net/freevrrpd/files/patch-aa11
-rw-r--r--net/freevrrpd/files/patch-ab10
2 files changed, 21 insertions, 0 deletions
diff --git a/net/freevrrpd/files/patch-aa b/net/freevrrpd/files/patch-aa
new file mode 100644
index 000000000000..d0813d69a1b1
--- /dev/null
+++ b/net/freevrrpd/files/patch-aa
@@ -0,0 +1,11 @@
+--- vrrp_define.h.orig Wed Sep 4 19:56:56 2002
++++ vrrp_define.h Wed Sep 4 19:57:07 2002
+@@ -54,8 +54,3 @@
+ #define VRRP_CONF_FILE_NAME "/usr/local/etc/freevrrpd.conf"
+ #define IPPROTO_VRRP 112
+ #define MAX_IP_ALIAS 255
+-
+-/* In FreeBSD < 4.3 in_addr_t doesn't exist */
+-#ifndef in_addr_t
+-#define in_addr_t u_int32_t
+-#endif
diff --git a/net/freevrrpd/files/patch-ab b/net/freevrrpd/files/patch-ab
new file mode 100644
index 000000000000..61f63bf0817b
--- /dev/null
+++ b/net/freevrrpd/files/patch-ab
@@ -0,0 +1,10 @@
+--- vrrp_thread.c.orig Wed Sep 4 19:57:39 2002
++++ vrrp_thread.c Wed Sep 4 19:57:47 2002
+@@ -32,6 +32,7 @@
+ * $Id: vrrp_thread.c,v 1.3 2002/01/27 19:50:25 spe Exp $
+ */
+
++#include <stdlib.h>
+ #include "vrrp_thread.h"
+
+ /* addresses table of all struct vrrp_vr * initialized by threads */