aboutsummaryrefslogtreecommitdiffstats
path: root/net/quagga
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2006-02-10 20:45:36 +0800
committersem <sem@FreeBSD.org>2006-02-10 20:45:36 +0800
commitae13e8f3ddea02f423f306e70f75671a9a745ab6 (patch)
tree55daac8a4151aada5fb580aada4c72f6fa0be4ea /net/quagga
parent2e769390a901c9fead56ff69aeb2c9c623484d19 (diff)
downloadfreebsd-ports-gnome-ae13e8f3ddea02f423f306e70f75671a9a745ab6.tar.gz
freebsd-ports-gnome-ae13e8f3ddea02f423f306e70f75671a9a745ab6.tar.zst
freebsd-ports-gnome-ae13e8f3ddea02f423f306e70f75671a9a745ab6.zip
- Fix a crash when vtysh was executed.
- Remove useless target (install is default) in depends PR: ports/93094 Reported by: TANABE Hiroyasu <h@cosat.com>, John <freebsd@moe.co.uk> Submitted by: maintainer
Diffstat (limited to 'net/quagga')
-rw-r--r--net/quagga/Makefile6
-rw-r--r--net/quagga/files/patch-lib-buffer.c2
-rw-r--r--net/quagga/files/patch-ospfd-ospf_api.c11
3 files changed, 15 insertions, 4 deletions
diff --git a/net/quagga/Makefile b/net/quagga/Makefile
index 12dc4332d035..a6735984e9d7 100644
--- a/net/quagga/Makefile
+++ b/net/quagga/Makefile
@@ -7,7 +7,7 @@
PORTNAME= quagga
PORTVERSION= 0.99.3
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= http://quagga.net/download/
@@ -120,9 +120,9 @@ CONFIGURE_ARGS+=--enable-rtadv
.if defined(WITH_SNMP) && !defined(WITHOUT_SNMP)
CONFIGURE_ARGS+=--enable-snmp
.if defined(WITH_SNMP_4)
-LIB_DEPENDS+=snmp.4:${PORTSDIR}/net-mgmt/net-snmp4:install
+LIB_DEPENDS+=snmp.4:${PORTSDIR}/net-mgmt/net-snmp4
.else
-LIB_DEPENDS+=netsnmp.9:${PORTSDIR}/net-mgmt/net-snmp:install
+LIB_DEPENDS+=netsnmp.9:${PORTSDIR}/net-mgmt/net-snmp
.endif
.endif
diff --git a/net/quagga/files/patch-lib-buffer.c b/net/quagga/files/patch-lib-buffer.c
index 61fda3c21d71..0aba361550bb 100644
--- a/net/quagga/files/patch-lib-buffer.c
+++ b/net/quagga/files/patch-lib-buffer.c
@@ -5,7 +5,7 @@
/* Actual data stream (variable length). */
- unsigned char data[]; /* real dimension is buffer->size */
-+ unsigned char *data; /* real dimension is buffer->size */
++ unsigned char data[0]; /* real dimension is buffer->size */
};
/* It should always be true that: 0 <= sp <= cp <= size */
diff --git a/net/quagga/files/patch-ospfd-ospf_api.c b/net/quagga/files/patch-ospfd-ospf_api.c
new file mode 100644
index 000000000000..e641ce884d1e
--- /dev/null
+++ b/net/quagga/files/patch-ospfd-ospf_api.c
@@ -0,0 +1,11 @@
+--- ospfd/ospf_api.c.orig Thu Nov 24 21:51:16 2005
++++ ospfd/ospf_api.c Wed Feb 8 11:49:31 2006
+@@ -68,7 +68,7 @@
+ struct opaque_lsa
+ {
+ struct lsa_header header;
+- u_char mydata[];
++ u_char mydata[0];
+ };
+
+ struct opaque_lsa *olsa;