svn commit: r364396 - in head/net-mgmt/disco: . files
Adam Weinberger
adamw at FreeBSD.org
Sat Aug 9 03:58:38 UTC 2014
Author: adamw
Date: Sat Aug 9 03:58:37 2014
New Revision: 364396
URL: http://svnweb.freebsd.org/changeset/ports/364396
QAT: https://qat.redports.org/buildarchive/r364396/
Log:
Fix build with clang.
While here, avoid unnecessary bsd.port.options.mk inclusion.
Added:
head/net-mgmt/disco/files/
head/net-mgmt/disco/files/patch-disco.c (contents, props changed)
Modified:
head/net-mgmt/disco/Makefile
Modified: head/net-mgmt/disco/Makefile
==============================================================================
--- head/net-mgmt/disco/Makefile Sat Aug 9 03:53:18 2014 (r364395)
+++ head/net-mgmt/disco/Makefile Sat Aug 9 03:58:37 2014 (r364396)
@@ -20,14 +20,10 @@ PLIST_FILES= bin/disco bin/disco.fp
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-install:
-.if ! ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
Added: head/net-mgmt/disco/files/patch-disco.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/disco/files/patch-disco.c Sat Aug 9 03:58:37 2014 (r364396)
@@ -0,0 +1,11 @@
+--- disco.c.orig 2014-08-08 23:55:22.000000000 -0400
++++ disco.c 2014-08-08 23:56:40.000000000 -0400
+@@ -1031,7 +1031,7 @@
+ if (!fp_file)
+ {
+ fprintf(stderr, "No fingerprint file found\n");
+- return;
++ return -1;
+ }
+
+ while (fgets(infile, 1500, fp_file) != NULL && infile[0] != '\n')
More information about the svn-ports-all
mailing list