Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2015 23:50:56 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r396727 - in head/net/kea: . files
Message-ID:  <201509112350.t8BNoufK014717@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Fri Sep 11 23:50:55 2015
New Revision: 396727
URL: https://svnweb.freebsd.org/changeset/ports/396727

Log:
  - Temporarily disable -Werror to fix build on 11.x.  Boost < 1.59.0 has
    a lot of unused local typedefs while the newer versions use
    __attribulte__((unused)) to suppress the warning.
  
  - Add patches to remove BOOST_PFTO_WRAPPER().  This macro is obsolete
    in the newer versions of Boost.

Added:
  head/net/kea/files/patch-src-lib-util-encode-base16_from_binary.h   (contents, props changed)
  head/net/kea/files/patch-src-lib-util-encode-base32hex_from_binary.h   (contents, props changed)
  head/net/kea/files/patch-src-lib-util-encode-binary_from_base16.h   (contents, props changed)
  head/net/kea/files/patch-src-lib-util-encode-binary_from_base32hex.h   (contents, props changed)
Modified:
  head/net/kea/Makefile

Modified: head/net/kea/Makefile
==============================================================================
--- head/net/kea/Makefile	Fri Sep 11 23:47:31 2015	(r396726)
+++ head/net/kea/Makefile	Fri Sep 11 23:50:55 2015	(r396727)
@@ -23,7 +23,8 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-silent-rules \
 		--with-openssl=${OPENSSLBASE} \
 		--with-log4cplus=${LOCALBASE} \
-		--with-boost-include=${LOCALBASE}/include
+		--with-boost-include=${LOCALBASE}/include \
+		--without-werror
 INSTALL_TARGET=	install-strip
 PORTDOCS=	AUTHORS COPYING ChangeLog README \
 		kea-guide.css kea-guide.html kea-guide.txt \

Added: head/net/kea/files/patch-src-lib-util-encode-base16_from_binary.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/kea/files/patch-src-lib-util-encode-base16_from_binary.h	Fri Sep 11 23:50:55 2015	(r396727)
@@ -0,0 +1,14 @@
+--- src/lib/util/encode/base16_from_binary.h.orig	2015-09-12 06:07:02.929641000 +0900
++++ src/lib/util/encode/base16_from_binary.h	2015-09-12 06:07:28.903859000 +0900
+@@ -85,9 +85,9 @@
+ public:
+     // make composable by using templated constructor
+     template<class T>
+-    base16_from_binary(BOOST_PFTO_WRAPPER(T) start) :
++    base16_from_binary(T start) :
+         super_t(
+-            Base(BOOST_MAKE_PFTO_WRAPPER(static_cast<T>(start))),
++            Base(static_cast<T>(start)),
+             detail::from_4_bit<CharType>()
+         )
+     {}

Added: head/net/kea/files/patch-src-lib-util-encode-base32hex_from_binary.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/kea/files/patch-src-lib-util-encode-base32hex_from_binary.h	Fri Sep 11 23:50:55 2015	(r396727)
@@ -0,0 +1,14 @@
+--- src/lib/util/encode/base32hex_from_binary.h.orig	2015-09-12 06:08:07.415328000 +0900
++++ src/lib/util/encode/base32hex_from_binary.h	2015-09-12 06:08:28.438126000 +0900
+@@ -87,9 +87,9 @@
+ public:
+     // make composable by using templated constructor
+     template<class T>
+-    base32hex_from_binary(BOOST_PFTO_WRAPPER(T) start) :
++    base32hex_from_binary(T start) :
+         super_t(
+-            Base(BOOST_MAKE_PFTO_WRAPPER(static_cast<T>(start))),
++            Base(static_cast<T>(start)),
+             detail::from_5_bit<CharType>()
+         )
+     {}

Added: head/net/kea/files/patch-src-lib-util-encode-binary_from_base16.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/kea/files/patch-src-lib-util-encode-binary_from_base16.h	Fri Sep 11 23:50:55 2015	(r396727)
@@ -0,0 +1,14 @@
+--- src/lib/util/encode/binary_from_base16.h.orig	2015-09-12 06:08:57.358126000 +0900
++++ src/lib/util/encode/binary_from_base16.h	2015-09-12 06:09:12.997499000 +0900
+@@ -93,9 +93,9 @@
+ public:
+     // make composable by using templated constructor
+     template<class T>
+-    binary_from_base16(BOOST_PFTO_WRAPPER(T)  start) :
++    binary_from_base16(T start) :
+         super_t(
+-            Base(BOOST_MAKE_PFTO_WRAPPER(static_cast<T>(start))), 
++            Base(static_cast<T>(start)), 
+             detail::to_4_bit<CharType>()
+         )
+     {}

Added: head/net/kea/files/patch-src-lib-util-encode-binary_from_base32hex.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/kea/files/patch-src-lib-util-encode-binary_from_base32hex.h	Fri Sep 11 23:50:55 2015	(r396727)
@@ -0,0 +1,14 @@
+--- src/lib/util/encode/binary_from_base32hex.h.orig	2015-09-12 06:05:44.329389000 +0900
++++ src/lib/util/encode/binary_from_base32hex.h	2015-09-12 06:06:24.217165000 +0900
+@@ -96,9 +96,9 @@
+ public:
+     // make composable by using templated constructor
+     template<class T>
+-    binary_from_base32hex(BOOST_PFTO_WRAPPER(T)  start) :
++    binary_from_base32hex(T start) :
+         super_t(
+-            Base(BOOST_MAKE_PFTO_WRAPPER(static_cast<T>(start))), 
++            Base(static_cast<T>(start)), 
+             detail::to_5_bit<CharType>()
+         )
+     {}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509112350.t8BNoufK014717>