From owner-svn-ports-head@freebsd.org Mon Jan 8 17:07:22 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D498E7826B; Mon, 8 Jan 2018 17:07:22 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 445B32FDF; Mon, 8 Jan 2018 17:07:22 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 59BFF2756; Mon, 8 Jan 2018 17:07:21 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w08H7LWM090673; Mon, 8 Jan 2018 17:07:21 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w08H7LS9090672; Mon, 8 Jan 2018 17:07:21 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201801081707.w08H7LS9090672@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Mon, 8 Jan 2018 17:07:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458455 - head/net-im/ekiga/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/net-im/ekiga/files X-SVN-Commit-Revision: 458455 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jan 2018 17:07:22 -0000 Author: jbeich Date: Mon Jan 8 17:07:21 2018 New Revision: 458455 URL: https://svnweb.freebsd.org/changeset/ports/458455 Log: net-im/ekiga: unbreak build with Clang 6 (C++14 by default) In file included from ../lib/engine/videoinput/videoinput-core.cpp:44: In file included from ../lib/engine/videoinput/videoinput-core.h:40: In file included from ../lib/engine/framework/services.h:48: In file included from /usr/local/include/boost/signals.hpp:9: In file included from /usr/local/include/boost/signal.hpp:27: In file included from /usr/local/include/boost/signals/signal0.hpp:24: In file included from /usr/local/include/boost/signals/signal_template.hpp:37: In file included from /usr/local/include/boost/function/function0.hpp:11: In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:13: /usr/local/include/boost/function/function_template.hpp:159:33: error: called object type 'nullptr_t' is not a function or function pointer BOOST_FUNCTION_RETURN((*f)(BOOST_FUNCTION_ARGS)); ^~~~ /usr/local/include/boost/function/function_template.hpp:81:36: note: expanded from macro 'BOOST_FUNCTION_RETURN' # define BOOST_FUNCTION_RETURN(X) X ^ /usr/local/include/boost/function/function_template.hpp:925:53: note: in instantiation of member function 'boost::detail::function::void_function_obj_invoker0::invoke' requested here { { &manager_type::manage }, &invoker_type::invoke }; ^ /usr/local/include/boost/function/function_template.hpp:716:13: note: in instantiation of function template specialization 'boost::function0::assign_to' requested here this->assign_to(f); ^ ../lib/engine/notification/notification-core.h:59:61: note: in instantiation of function template specialization 'boost::function0::function0' requested here boost::function0 action_callback_ = NULL) ^ /usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL' #define NULL nullptr ^ Reported by: antoine (via bug 224669) Added: head/net-im/ekiga/files/patch-lib_engine_notification_notification-core.h (contents, props changed) Added: head/net-im/ekiga/files/patch-lib_engine_notification_notification-core.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-im/ekiga/files/patch-lib_engine_notification_notification-core.h Mon Jan 8 17:07:21 2018 (r458455) @@ -0,0 +1,39 @@ +In file included from ../lib/engine/videoinput/videoinput-core.cpp:44: +In file included from ../lib/engine/videoinput/videoinput-core.h:40: +In file included from ../lib/engine/framework/services.h:48: +In file included from /usr/local/include/boost/signals.hpp:9: +In file included from /usr/local/include/boost/signal.hpp:27: +In file included from /usr/local/include/boost/signals/signal0.hpp:24: +In file included from /usr/local/include/boost/signals/signal_template.hpp:37: +In file included from /usr/local/include/boost/function/function0.hpp:11: +In file included from /usr/local/include/boost/function/detail/maybe_include.hpp:13: +/usr/local/include/boost/function/function_template.hpp:159:33: error: called object type 'nullptr_t' is not a function or function pointer + BOOST_FUNCTION_RETURN((*f)(BOOST_FUNCTION_ARGS)); + ^~~~ +/usr/local/include/boost/function/function_template.hpp:81:36: note: expanded from macro 'BOOST_FUNCTION_RETURN' +# define BOOST_FUNCTION_RETURN(X) X + ^ +/usr/local/include/boost/function/function_template.hpp:925:53: note: in instantiation of member function 'boost::detail::function::void_function_obj_invoker0::invoke' requested here + { { &manager_type::manage }, &invoker_type::invoke }; + ^ +/usr/local/include/boost/function/function_template.hpp:716:13: note: in instantiation of function template specialization 'boost::function0::assign_to' requested here + this->assign_to(f); + ^ +../lib/engine/notification/notification-core.h:59:61: note: in instantiation of function template specialization 'boost::function0::function0' requested here + boost::function0 action_callback_ = NULL) + ^ +/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL' +#define NULL nullptr + ^ + +--- lib/engine/notification/notification-core.h.orig 2012-11-07 20:43:51 UTC ++++ lib/engine/notification/notification-core.h +@@ -56,7 +56,7 @@ namespace Ekiga + const std::string title_, + const std::string body_, + const std::string action_name_ = "", +- boost::function0 action_callback_ = NULL) ++ boost::function0 action_callback_ = 0) + : level(level_), title(title_), body(body_), action_name(action_name_), action_callback(action_callback_) + {} +