FreeBSD Bugzilla – Attachment 205555 Details for
Bug 234216
net/bredbandskollen: fix build with GCC-based architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update bredbandskollen and fix build with gcc
ports.net.bredbandskollen.20190705.diff (text/plain), 2.79 KB, created by
Niclas Zeising
on 2019-07-06 21:35:25 UTC
(
hide
)
Description:
Update bredbandskollen and fix build with gcc
Filename:
MIME Type:
Creator:
Niclas Zeising
Created:
2019-07-06 21:35:25 UTC
Size:
2.79 KB
patch
obsolete
>diff --git a/net/bredbandskollen/Makefile b/net/bredbandskollen/Makefile >index 896e7c58d731..3a20be52d35a 100644 >--- a/net/bredbandskollen/Makefile >+++ b/net/bredbandskollen/Makefile >@@ -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 connection speed > > 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> >diff --git a/net/bredbandskollen/distinfo b/net/bredbandskollen/distinfo >index a66e392007c0..293749b8c272 100644 >--- a/net/bredbandskollen/distinfo >+++ b/net/bredbandskollen/distinfo >@@ -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 >diff --git a/net/bredbandskollen/files/extra-src_framework_socketreceiver.h b/net/bredbandskollen/files/extra-src_framework_socketreceiver.h >new file mode 100644 >index 000000000000..48e009b4e424 >--- /dev/null >+++ b/net/bredbandskollen/files/extra-src_framework_socketreceiver.h >@@ -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; >diff --git a/net/bredbandskollen/files/patch-src_framework_engine.h b/net/bredbandskollen/files/patch-src_framework_engine.h >new file mode 100644 >index 000000000000..eb2fd844f5fa >--- /dev/null >+++ b/net/bredbandskollen/files/patch-src_framework_engine.h >@@ -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>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 234216
:
200304
|
200558
|
202235
|
205533
|
205534
|
205554
| 205555