Date: Tue, 9 Jul 2019 19:03:49 +0000 (UTC) From: Niclas Zeising <zeising@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506304 - in head/net/bredbandskollen: . files Message-ID: <201907091903.x69J3nIY009731@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: zeising Date: Tue Jul 9 19:03:49 2019 New Revision: 506304 URL: https://svnweb.freebsd.org/changeset/ports/506304 Log: net/bredbandskollen: Update snapshot Update net/bredbandskollen to the latest snapshot. Fix build on GCC-based architectures, such as powerpc64 [1] PR: 234216 [1] Submitted by: pkubaj [1] Added: head/net/bredbandskollen/files/ head/net/bredbandskollen/files/extra-src_framework_socketreceiver.h (contents, props changed) head/net/bredbandskollen/files/patch-src_framework_engine.h (contents, props changed) Modified: head/net/bredbandskollen/Makefile head/net/bredbandskollen/distinfo Modified: head/net/bredbandskollen/Makefile ============================================================================== --- head/net/bredbandskollen/Makefile Tue Jul 9 18:52:12 2019 (r506303) +++ head/net/bredbandskollen/Makefile Tue Jul 9 19:03:49 2019 (r506304) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= bredbandskollen -PORTVERSION= 0.20181210 +PORTVERSION= 0.20190705 CATEGORIES= net MAINTAINER= zeising@FreeBSD.org @@ -9,12 +9,12 @@ COMMENT= Command line tool to check internet connectio LICENSE= GPLv2 -USES= gmake +USES= compiler:c++11-lang gmake USE_GITHUB= yes GH_ACCOUNT= dotse GH_PROJECT= bbk -GH_TAGNAME= 39b47a1 +GH_TAGNAME= 7b810a6 BUILD_WRKSRC= ${WRKSRC}/src/cli @@ -26,8 +26,18 @@ OPTIONS_DEFINE= GNUTLS GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_MAKE_ARGS= GNUTLS=1 +.include <bsd.port.pre.mk> + +.if ${ARCH:Mpowerpc*} +EXTRA_PATCHES= ${FILESDIR}/extra-src_framework_socketreceiver.h +.endif + +post-patch: + ${REINPLACE_CMD} -e 's/CXX = c++/CXX ?= c++/g' \ + ${WRKSRC}/src/framework/mk.inc + do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/cli ${STAGEDIR}/${PREFIX}/bin/bbk_cli ${LN} -sf bbk_cli ${STAGEDIR}/${PREFIX}/bin/bredbandskollen -.include <bsd.port.mk> +.include <bsd.port.post.mk> Modified: head/net/bredbandskollen/distinfo ============================================================================== --- head/net/bredbandskollen/distinfo Tue Jul 9 18:52:12 2019 (r506303) +++ head/net/bredbandskollen/distinfo Tue Jul 9 19:03:49 2019 (r506304) @@ -1,3 +1,3 @@ -TIMESTAMP = 1544469797 -SHA256 (dotse-bbk-0.20181210-39b47a1_GH0.tar.gz) = 20e66a5acb806125dca45fc2563bea28b308f90873c85a4b109db6a067b91147 -SIZE (dotse-bbk-0.20181210-39b47a1_GH0.tar.gz) = 3636881 +TIMESTAMP = 1562346059 +SHA256 (dotse-bbk-0.20190705-7b810a6_GH0.tar.gz) = 69e09fb17ce3f4efc586ad5529b2205b060d6183cb3334f57dabb16302ef82dd +SIZE (dotse-bbk-0.20190705-7b810a6_GH0.tar.gz) = 133836 Added: head/net/bredbandskollen/files/extra-src_framework_socketreceiver.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/bredbandskollen/files/extra-src_framework_socketreceiver.h Tue Jul 9 19:03:49 2019 (r506304) @@ -0,0 +1,12 @@ +--- src/framework/socketreceiver.h.orig 2019-07-05 19:04:13 UTC ++++ src/framework/socketreceiver.h +@@ -3,6 +3,9 @@ + + #pragma once + ++// work around broken? _ALIGN/_ALIGNBYTES on FreeBSD powerpc ++#include <sys/types.h> ++ + #include <sys/socket.h> + #include "serversocket.h" + class SocketConnection; Added: head/net/bredbandskollen/files/patch-src_framework_engine.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/bredbandskollen/files/patch-src_framework_engine.h Tue Jul 9 19:03:49 2019 (r506304) @@ -0,0 +1,11 @@ +--- src/framework/engine.h.orig 2019-07-05 17:52:32 UTC ++++ src/framework/engine.h +@@ -6,6 +6,8 @@ + + #pragma once + ++#include <sys/select.h> ++ + #include <thread> + #include <map> + #include <vector>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907091903.x69J3nIY009731>