View | Details | Raw Unified | Return to bug 234216 | Differences between
and this patch

Collapse All | Expand All

(-)b/net/bredbandskollen/Makefile (-4 / +14 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	bredbandskollen
3
PORTNAME=	bredbandskollen
4
PORTVERSION=	0.20181210
4
PORTVERSION=	0.20190705
5
CATEGORIES=	net
5
CATEGORIES=	net
6
6
7
MAINTAINER=	zeising@FreeBSD.org
7
MAINTAINER=	zeising@FreeBSD.org
Lines 9-20 COMMENT= Command line tool to check internet connection speed Link Here
9
9
10
LICENSE=	GPLv2
10
LICENSE=	GPLv2
11
11
12
USES=		gmake
12
USES=		compiler:c++11-lang gmake
13
13
14
USE_GITHUB=	yes
14
USE_GITHUB=	yes
15
GH_ACCOUNT=	dotse
15
GH_ACCOUNT=	dotse
16
GH_PROJECT=	bbk
16
GH_PROJECT=	bbk
17
GH_TAGNAME=	39b47a1
17
GH_TAGNAME=	7b810a6
18
18
19
BUILD_WRKSRC=	${WRKSRC}/src/cli
19
BUILD_WRKSRC=	${WRKSRC}/src/cli
20
20
Lines 26-33 OPTIONS_DEFINE= GNUTLS Link Here
26
GNUTLS_LIB_DEPENDS=	libgnutls.so:security/gnutls
26
GNUTLS_LIB_DEPENDS=	libgnutls.so:security/gnutls
27
GNUTLS_MAKE_ARGS=	GNUTLS=1
27
GNUTLS_MAKE_ARGS=	GNUTLS=1
28
28
29
.include <bsd.port.pre.mk>
30
31
.if ${ARCH:Mpowerpc*}
32
EXTRA_PATCHES=	${FILESDIR}/extra-src_framework_socketreceiver.h
33
.endif
34
35
post-patch:
36
	${REINPLACE_CMD} -e 's/CXX = c++/CXX ?= c++/g' \
37
	${WRKSRC}/src/framework/mk.inc
38
29
do-install:
39
do-install:
30
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/cli ${STAGEDIR}/${PREFIX}/bin/bbk_cli
40
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/cli ${STAGEDIR}/${PREFIX}/bin/bbk_cli
31
	${LN} -sf bbk_cli ${STAGEDIR}/${PREFIX}/bin/bredbandskollen
41
	${LN} -sf bbk_cli ${STAGEDIR}/${PREFIX}/bin/bredbandskollen
32
42
33
.include <bsd.port.mk>
43
.include <bsd.port.post.mk>
(-)b/net/bredbandskollen/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1544469797
1
TIMESTAMP = 1562346059
2
SHA256 (dotse-bbk-0.20181210-39b47a1_GH0.tar.gz) = 20e66a5acb806125dca45fc2563bea28b308f90873c85a4b109db6a067b91147
2
SHA256 (dotse-bbk-0.20190705-7b810a6_GH0.tar.gz) = 69e09fb17ce3f4efc586ad5529b2205b060d6183cb3334f57dabb16302ef82dd
3
SIZE (dotse-bbk-0.20181210-39b47a1_GH0.tar.gz) = 3636881
3
SIZE (dotse-bbk-0.20190705-7b810a6_GH0.tar.gz) = 133836
(-)b/net/bredbandskollen/files/extra-src_framework_socketreceiver.h (+12 lines)
Added Link Here
1
--- src/framework/socketreceiver.h.orig	2019-07-05 19:04:13 UTC
2
+++ src/framework/socketreceiver.h
3
@@ -3,6 +3,9 @@
4
 
5
 #pragma once
6
 
7
+// work around broken? _ALIGN/_ALIGNBYTES on FreeBSD powerpc
8
+#include <sys/types.h>
9
+
10
 #include <sys/socket.h>
11
 #include "serversocket.h"
12
 class SocketConnection;
(-)b/net/bredbandskollen/files/patch-src_framework_engine.h (+11 lines)
Added Link Here
1
--- src/framework/engine.h.orig	2019-07-05 17:52:32 UTC
2
+++ src/framework/engine.h
3
@@ -6,6 +6,8 @@
4
 
5
 #pragma once
6
 
7
+#include <sys/select.h>
8
+
9
 #include <thread>
10
 #include <map>
11
 #include <vector>

Return to bug 234216