Index: head/security/masscan/Makefile =================================================================== --- head/security/masscan/Makefile (revision 443914) +++ head/security/masscan/Makefile (revision 443915) @@ -1,35 +1,38 @@ # Created by: Chie Taguchi # $FreeBSD$ PORTNAME= masscan -PORTVERSION= 1.0.3 +PORTVERSION= 1.0.4 CATEGORIES= security MAINTAINER= taguchi.ch@gmail.com COMMENT= Very fast port scanner LICENSE= GPLv3 ONLY_FOR_ARCHS= amd64 i386 ia64 ONLY_FOR_ARCHS_REASON= uses i386 assembler USES= gmake USE_GITHUB= yes GH_ACCOUNT= robertdavidgraham CFLAGS+= -Wno-format MAKE_ARGS= SYS=freebsd CC="${CC}" CFLAGS="${CFLAGS}" PLIST_FILES= bin/masscan man/man8/masscan.8.gz -pre-build: - @${REINPLACE_CMD} -e "s|SYS :=|SYS ?=|"\ - -e "s|describe --tags|describe --tags 2> /dev/null|" ${WRKSRC}/Makefile +.include +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000 +BUILD_DEPENDS+= clang38:lang/clang38 +CC= clang38 +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/masscan ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/masscan.8 ${STAGEDIR}${MANPREFIX}/man/man8 regression-test: build ${WRKSRC}/bin/masscan --selftest -.include +.include Index: head/security/masscan/distinfo =================================================================== --- head/security/masscan/distinfo (revision 443914) +++ head/security/masscan/distinfo (revision 443915) @@ -1,2 +1,3 @@ -SHA256 (robertdavidgraham-masscan-1.0.3_GH0.tar.gz) = 331edd529df1904bcbcfb43029ced7e2dafe1744841e74cd9fc9f440b8301085 -SIZE (robertdavidgraham-masscan-1.0.3_GH0.tar.gz) = 333393 +TIMESTAMP = 1497024027 +SHA256 (robertdavidgraham-masscan-1.0.4_GH0.tar.gz) = 51de345f677f46595fc3bd747bfb61bc9ff130adcbec48f3401f8057c8702af9 +SIZE (robertdavidgraham-masscan-1.0.4_GH0.tar.gz) = 343513 Index: head/security/masscan/files/patch-src_smack1.c =================================================================== --- head/security/masscan/files/patch-src_smack1.c (nonexistent) +++ head/security/masscan/files/patch-src_smack1.c (revision 443915) @@ -0,0 +1,11 @@ +--- src/smack1.c.orig 2017-06-06 03:59:39 UTC ++++ src/smack1.c +@@ -115,6 +115,8 @@ + #include "pixie-timer.h" + #if defined(_MSC_VER) + #include ++#elif defined(__llvm__) ++#include + #elif defined(__GNUC__) + static __inline__ unsigned long long __rdtsc(void) + { Property changes on: head/security/masscan/files/patch-src_smack1.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