Sunday, January 28, 2018

Re: UPDATE: devel/boost

On Sun, Jan 28 2018, Rafael Sadowski <rafael@sizeofvoid.org> wrote:

[...]

> Thank you both! FreeBSD applied the same patch.

ok jca@

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/net/kea/Makefile,v
> retrieving revision 1.12
> diff -u -p -u -p -r1.12 Makefile
> --- Makefile 14 Jan 2018 14:42:18 -0000 1.12
> +++ Makefile 28 Jan 2018 09:12:35 -0000
> @@ -6,7 +6,7 @@ VERSION= 1.2.0
>
> DISTNAME= kea-${VERSION}
> PKGNAME= ${DISTNAME:S/-P/pl/}
> -REVISION= 1
> +REVISION= 2
>
> SHARED_LIBS += kea-asiodns 0.0 # 0.0
> SHARED_LIBS += kea-asiolink 2.0 # 4.0
> Index: patches/patch-src_lib_asiolink_io_service_h
> ===================================================================
> RCS file: patches/patch-src_lib_asiolink_io_service_h
> diff -N patches/patch-src_lib_asiolink_io_service_h
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ patches/patch-src_lib_asiolink_io_service_h 28 Jan 2018 09:12:35 -0000
> @@ -0,0 +1,21 @@
> +$OpenBSD$
> +
> +fix build with boost 1.66
> +- use io_context instead of io_service
> +
> +Index: src/lib/asiolink/io_service.h
> +--- src/lib/asiolink/io_service.h.orig
> ++++ src/lib/asiolink/io_service.h
> +@@ -11,7 +11,12 @@
> +
> + namespace boost {
> + namespace asio {
> ++#if BOOST_VERSION < 106600
> + class io_service;
> ++#else
> ++ class io_context;
> ++ typedef io_context io_service;
> ++

No comments:

Post a Comment