diff options
-rw-r--r-- | net-mgmt/cdpd/Makefile | 6 | ||||
-rw-r--r-- | net-mgmt/cdpd/files/patch-cdpd.c | 11 |
2 files changed, 16 insertions, 1 deletions
diff --git a/net-mgmt/cdpd/Makefile b/net-mgmt/cdpd/Makefile index 10123d91b247..469ee07faa64 100644 --- a/net-mgmt/cdpd/Makefile +++ b/net-mgmt/cdpd/Makefile @@ -3,14 +3,18 @@ PORTNAME= cdpd PORTVERSION= 1.0.4.1 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= http://snar.spb.ru/prog/cdpd/ MAINTAINER= ports@FreeBSD.org COMMENT= Daemon to send CDP/LLDP announces over ethernet +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYRIGHT + +USES= tar:tgz GNU_CONFIGURE= yes -EXTRACT_SUFX= .tgz USE_RC_SUBR= cdpd PLIST_FILES= sbin/cdpd man/man8/cdpd.8.gz diff --git a/net-mgmt/cdpd/files/patch-cdpd.c b/net-mgmt/cdpd/files/patch-cdpd.c new file mode 100644 index 000000000000..18e41da64821 --- /dev/null +++ b/net-mgmt/cdpd/files/patch-cdpd.c @@ -0,0 +1,11 @@ +--- cdpd.c.orig 2016-03-22 18:37:16 UTC ++++ cdpd.c +@@ -606,7 +606,7 @@ cdp_debug_packet(struct cdp_interface* c + int + main(int argc, char* argv[]) + { +- char c; ++ int c; + int timeout=60, ret=0; + unsigned char buffer[1600]; + int offset; |