- 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
This commit is contained in:
parent
fa0f5bbf79
commit
8558006a0a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155641
@ -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
|
||||
|
||||
|
@ -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 */
|
||||
|
11
net/quagga/files/patch-ospfd-ospf_api.c
Normal file
11
net/quagga/files/patch-ospfd-ospf_api.c
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user