Date: Sat, 28 Feb 2015 21:35:14 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r380162 - in head/sysutils/spiped: . files Message-ID: <201502282135.t1SLZEtc001489@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cperciva Date: Sat Feb 28 21:35:13 2015 New Revision: 380162 URL: https://svnweb.freebsd.org/changeset/ports/380162 QAT: https://qat.redports.org/buildarchive/r380162/ Log: Add patch to work around bug in FreeBSD before r226610 (MFCed to stable/9 as r230953): Add #include <sys/types.h> before <netinet/tcp.h>. This was breaking the build on FreeBSD 8.4. While I'm here, quiesce portlint by switching from EXTRACT_SUFX=.tgz to the new spelling USES=tar:tgz. Added: head/sysutils/spiped/files/extra-patch-proto_proto__conn.c (contents, props changed) Modified: head/sysutils/spiped/Makefile Modified: head/sysutils/spiped/Makefile ============================================================================== --- head/sysutils/spiped/Makefile Sat Feb 28 21:11:53 2015 (r380161) +++ head/sysutils/spiped/Makefile Sat Feb 28 21:35:13 2015 (r380162) @@ -4,7 +4,6 @@ PORTNAME= spiped PORTVERSION= 1.5.0 CATEGORIES= sysutils security MASTER_SITES= http://www.tarsnap.com/spiped/ -EXTRACT_SUFX= .tgz MAINTAINER= cperciva@tarsnap.com COMMENT= Daemon for creating secure symmetric pipes @@ -14,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT # The spiped build only needs C99, but this will help to get us a compiler # which has support for AESNI on x86 systems -USES= compiler:c11 +USES= compiler:c11 tar:tgz # Install into ${STAGEDIR}${PREFIX} MAKE_ARGS+= BINDIR=${STAGEDIR}${PREFIX}/bin @@ -33,6 +32,11 @@ USE_RC_SUBR= spiped OPTIONS_DEFINE= DOCS +.include <bsd.port.options.mk> +.if ${OSVERSION} < 900503 +EXTRA_PATCHES= ${FILESDIR}/extra-patch-proto_proto__conn.c +.endif + post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} Added: head/sysutils/spiped/files/extra-patch-proto_proto__conn.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/spiped/files/extra-patch-proto_proto__conn.c Sat Feb 28 21:35:13 2015 (r380162) @@ -0,0 +1,7 @@ +--- proto/proto_conn.c.orig 2015-02-28 21:19:18 UTC ++++ proto/proto_conn.c +@@ -1,3 +1,4 @@ ++#include <sys/types.h> + #include <sys/socket.h> + + #include <netinet/in.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502282135.t1SLZEtc001489>