Index: head/devel/boost-libs/Makefile =================================================================== --- head/devel/boost-libs/Makefile (revision 484376) +++ head/devel/boost-libs/Makefile (revision 484377) @@ -1,57 +1,57 @@ # Created by: Alexander Churanov # $FreeBSD$ PORTNAME= boost-libs -PORTREVISION= 2 +PORTREVISION= 3 COMMENT= Free portable C++ libraries (without Boost.Python) BROKEN_sparc64= https://github.com/boostorg/context/commit/f2ef6326b6ed BUILD_DEPENDS+= bjam:devel/boost-jam OPTIONS_DEFINE= DEBUG OPTIMIZED_CFLAGS OPTIONS_MULTI= LOCALE OPTIONS_MULTI_LOCALE= ICONV ICU OPTIONS_DEFAULT= ICONV ICU ICONV_DESC= Boost.Locale with iconv encoding support ICU_DESC= Boost.Regex/Locale with ICU unicode support ICONV_USES= iconv ICONV_MAKE_ARGS= -sICONV_PATH=${ICONV_PREFIX} ICONV_MAKE_ARGS_OFF= boost.locale.iconv=off ICU_LIB_DEPENDS= libicuuc.so:devel/icu ICU_MAKE_ARGS= -sICU_PATH=${LOCALBASE} ICU_MAKE_ARGS_OFF= boost.locale.icu=off .include "${.CURDIR}/../boost-all/common.mk" .include "${.CURDIR}/../boost-all/compiled.mk" MAKE_ARGS+= --without-python MAKE_ARGS+= ${MAKE_ARGS_${CHOSEN_COMPILER_TYPE}} MAKE_ARGS_gcc= xdll-path=${_GCC_RUNTIME} ALL_TARGET= stage do-install: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_ARGS:NDESTDIR=*:S,^--prefix=,&${STAGEDIR},} ${INSTALL_TARGET} # For some reasons BJAM forget about the links @cd ${WRKSRC}/stage/ && ${FIND} lib -type l | ${PAX} -rw -p p ${STAGEDIR}${PREFIX} # display pkg-message post-install: @${TOUCH} ${PKGMESSAGE} @${CAT} ${PKG_MESSAGE_FILE_THREADS} >> ${PKGMESSAGE} @${ECHO_CMD} >> ${PKGMESSAGE} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so @${REINPLACE_CMD} \ -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ -e "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g" \ -e "s|%%PYTHON_LIBDIR%%|${PYTHON_LIBDIR}|g" \ -e "s|%%PYTHON_VERSION%%|${PYTHON_VERSION}|g" ${PKGMESSAGE} .include Index: head/devel/boost-libs/files/patch-boost_system_error__code.hpp =================================================================== --- head/devel/boost-libs/files/patch-boost_system_error__code.hpp (nonexistent) +++ head/devel/boost-libs/files/patch-boost_system_error__code.hpp (revision 484377) @@ -0,0 +1,35 @@ +Boost.System built in C++ >= 17 doesn't support C++14 consumers with GCC 7.3 + +$ cat >a.cc +#include + +int main() +{ + boost::system::error_code e; + e.clear(); + return 0; +} + +$ g++7 -std=gnu++98 -lboost_system a.cc +$ g++7 -std=gnu++03 -lboost_system a.cc +$ g++7 -std=gnu++11 -lboost_system a.cc +$ g++7 -std=gnu++17 -lboost_system a.cc +$ g++7 -std=gnu++14 -lboost_system a.cc +/tmp//cciZnzeq.o: In function `main': +a.cc:(.text+0x24): undefined reference to `boost::system::detail::system_category_instance' +/tmp//cciZnzeq.o: In function `boost::system::system_category()': +a.cc:(.text._ZN5boost6system15system_categoryEv[_ZN5boost6system15system_categoryEv]+0x5): undefined reference to `boost::system::detail::system_category_instance' +/tmp//cciZnzeq.o: In function `boost::system::generic_category()': +a.cc:(.text._ZN5boost6system16generic_categoryEv[_ZN5boost6system16generic_categoryEv]+0x5): undefined reference to `boost::system::detail::generic_category_instance' + +--- boost/system/error_code.hpp.orig 2018-08-01 20:50:53 UTC ++++ boost/system/error_code.hpp +@@ -43,7 +43,7 @@ + # define BOOST_SYSTEM_HAS_CONSTEXPR + #endif + +-#if defined(__GNUC__) && (__GNUC__ == 7 && __GNUC_MINOR__ < 4) && __cplusplus >= 201700L ++#if defined(__GNUC__) && (__GNUC__ == 7 && __GNUC_MINOR__ < 4) + // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83835 + # undef BOOST_SYSTEM_HAS_CONSTEXPR + #endif Property changes on: head/devel/boost-libs/files/patch-boost_system_error__code.hpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property