Index: security/masscan/Makefile =================================================================== --- security/masscan/Makefile +++ security/masscan/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= masscan -PORTVERSION= 1.0.3 +PORTVERSION= 1.0.4 CATEGORIES= security MAINTAINER= taguchi.ch@gmail.com @@ -21,9 +21,12 @@ 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 @@ -32,4 +35,4 @@ regression-test: build ${WRKSRC}/bin/masscan --selftest -.include +.include Index: security/masscan/distinfo =================================================================== --- security/masscan/distinfo +++ security/masscan/distinfo @@ -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: security/masscan/files/patch-src_smack1.c =================================================================== --- /dev/null +++ security/masscan/files/patch-src_smack1.c @@ -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) + {