Fix build with clang

This commit is contained in:
Baptiste Daroussin 2014-04-12 11:21:12 +00:00
parent ff88b8dccb
commit 0622dd2fa7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351085
2 changed files with 11 additions and 2 deletions

View File

@ -11,10 +11,9 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= jhein@symmetricom.com
COMMENT= Secure and fast copy utility
LICENSE= BSD
LICENSE= BSD2CLAUSE
USES= tar:xz
USE_GCC= yes
PLIST_FILES= bin/bbcp
PORTDOCS= ${PORTNAME}.pdf

View File

@ -0,0 +1,10 @@
--- ./src/bbcp.C.orig 2012-05-03 21:57:39.000000000 +0200
+++ ./src/bbcp.C 2014-04-12 13:19:42.914184967 +0200
@@ -58,6 +58,7 @@
/* m a i n */
/******************************************************************************/
+int
main(int argc, char *argv[], char *envp[])
{
bbcp_Node *Source, *Sink;