svn commit: r425947 - head/graphics/libetonyek01

Jan Beich jbeich at FreeBSD.org
Sat Nov 12 12:59:15 UTC 2016


Author: jbeich
Date: Sat Nov 12 12:59:13 2016
New Revision: 425947
URL: https://svnweb.freebsd.org/changeset/ports/425947

Log:
  graphics/libetonyek01: unbreak build on 9.x
  
  In file included from conftest.cpp:43:
  In file included from /usr/local/include/boost/spirit/include/phoenix.hpp:13:
  In file included from /usr/local/include/boost/spirit/home/phoenix.hpp:10:
  In file included from /usr/local/include/boost/spirit/home/phoenix/algorithm.hpp:10:
  In file included from /usr/local/include/boost/spirit/home/phoenix/stl/algorithm/iteration.hpp:20:
  In file included from /usr/local/include/boost/spirit/home/phoenix/function/function.hpp:10:
  In file included from /usr/local/include/boost/spirit/home/phoenix/core/compose.hpp:16:
  In file included from /usr/local/include/boost/spirit/home/phoenix/core/composite.hpp:10:
  In file included from /usr/local/include/boost/spirit/home/phoenix/core/actor.hpp:18:
  In file included from /usr/local/include/boost/spirit/home/phoenix/core/basic_environment.hpp:18:
  In file included from /usr/local/include/boost/fusion/include/mpl.hpp:11:
  In file included from /usr/local/include/boost/fusion/mpl.hpp:17:
  In file included from /usr/local/include/boost/fusion/mpl/clear.hpp:12:
  In file included from /usr/local/include/boost/fusion/mpl/detail/clear.hpp:12:
  In file included from /usr/local/include/boost/fusion/container/map/map_fwd.hpp:24:
  /usr/local/include/boost/fusion/container/map/detail/map_impl.hpp:76:23: error: no template named 'forward' in namespace 'std'; did you mean 'advance_detail::forward'?
            : rest_type(std::forward<rest_type>(*static_cast<rest_type*>(this)))
                        ^~~~~~~~~~~~
                        advance_detail::forward
  /usr/local/include/boost/fusion/iterator/detail/advance.hpp:37:12: note: 'advance_detail::forward' declared here
      struct forward
             ^
  In file included from /usr/local/include/glm/detail/func_trigonometric.hpp:205:0,
                   from /usr/local/include/glm/trigonometric.hpp:35,
                   from /usr/local/include/glm/glm.hpp:110,
                   from conftest.cpp:49:
  /usr/local/include/glm/detail/func_trigonometric.inl:166:14: error: 'std::asinh' has not been declared
     using std::asinh;
                ^
  In file included from /usr/local/include/glm/detail/func_common.hpp:455:0,
                   from /usr/local/include/glm/common.hpp:35,
                   from /usr/local/include/glm/glm.hpp:112,
                   from conftest.cpp:49:
  /usr/local/include/glm/detail/func_common.inl:229:16: error: 'std::trunc' has not been declared
     using ::std::trunc;
                  ^
  /usr/local/include/glm/detail/func_common.inl:248:16: error: 'std::round' has not been declared
     using ::std::round;
                  ^
  
  Reported by:	pkg-fallout, Robert Backhaus

Modified:
  head/graphics/libetonyek01/Makefile   (contents, props changed)

Modified: head/graphics/libetonyek01/Makefile
==============================================================================
--- head/graphics/libetonyek01/Makefile	Sat Nov 12 12:46:33 2016	(r425946)
+++ head/graphics/libetonyek01/Makefile	Sat Nov 12 12:59:13 2016	(r425947)
@@ -24,9 +24,11 @@ OPTIONS_DEFINE=	TEST
 
 CONFIGURE_ARGS=	--disable-werror --without-docs
 CPPFLAGS+=	-I${LOCALBASE}/include
+CXXFLAGS+=	-D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH_TR1 \
+		-D_DECLARE_C99_LDBL_MATH # XXX ports/193528
 
 GNU_CONFIGURE=	yes
-USES=		autoreconf compiler:c++11-lang gmake libtool pathfix pkgconfig tar:xz
+USES=		autoreconf compiler:c++11-lib gmake libtool pathfix pkgconfig tar:xz
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
 


More information about the svn-ports-all mailing list