Index: head/net-mgmt/openlldp/Makefile =================================================================== --- head/net-mgmt/openlldp/Makefile (revision 550862) +++ head/net-mgmt/openlldp/Makefile (revision 550863) @@ -1,30 +1,30 @@ # Created by: Roar Pettersen # $FreeBSD$ PORTNAME= openlldp DISTVERSION= 0.4alpha -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Link Layer Discovery Protocol daemon LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE GNU_CONFIGURE= yes USE_RC_SUBR= lldpd PLIST_FILES= sbin/lldpd bin/lldpneighbors man/man8/lldpd.8.gz post-patch: @${REINPLACE_CMD} -e 's/^CFLAGS =/CFLAGS +=/g' \ ${WRKSRC}/src/Makefile.in do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/lldpd ${STAGEDIR}${PREFIX}/sbin ${INSTALL_PROGRAM} ${WRKSRC}/src/lldpneighbors ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${FILESDIR}/lldpd.8 ${STAGEDIR}${MANPREFIX}/man/man8 .include Index: head/net-mgmt/openlldp/files/patch-src_lldp__neighbor.c =================================================================== --- head/net-mgmt/openlldp/files/patch-src_lldp__neighbor.c (nonexistent) +++ head/net-mgmt/openlldp/files/patch-src_lldp__neighbor.c (revision 550863) @@ -0,0 +1,16 @@ +--- src/lldp_neighbor.c.orig 2010-06-08 05:06:29 UTC ++++ src/lldp_neighbor.c +@@ -30,6 +30,13 @@ + #include "tlv/tlv_common.h" + #include "tlv/tlv.h" + ++char lldp_systemname[512]; ++char lldp_systemdesc[512]; ++int neighbor_local_sd; ++int neighbor_remote_sd; ++struct sockaddr_un local; ++struct sockaddr_un remote; ++ + int get_sys_desc() { + #ifndef WIN32 + int retval; Property changes on: head/net-mgmt/openlldp/files/patch-src_lldp__neighbor.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-mgmt/openlldp/files/patch-src_lldp__neighbor.h =================================================================== --- head/net-mgmt/openlldp/files/patch-src_lldp__neighbor.h (nonexistent) +++ head/net-mgmt/openlldp/files/patch-src_lldp__neighbor.h (revision 550863) @@ -0,0 +1,26 @@ +--- src/lldp_neighbor.h.orig 2010-06-08 05:06:29 UTC ++++ src/lldp_neighbor.h +@@ -19,17 +19,17 @@ + + #include "lldp_port.h" + +-char lldp_systemname[512]; +-char lldp_systemdesc[512]; ++extern char lldp_systemname[512]; ++extern char lldp_systemdesc[512]; + +-int neighbor_local_sd; +-int neighbor_remote_sd; ++extern int neighbor_local_sd; ++extern int neighbor_remote_sd; + + #ifdef WIN32 + // Need to define this + #else +-struct sockaddr_un local; +-struct sockaddr_un remote; ++extern struct sockaddr_un local; ++extern struct sockaddr_un remote; + #endif + + int get_sys_desc(void); Property changes on: head/net-mgmt/openlldp/files/patch-src_lldp__neighbor.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property