Index: head/net/linknx/Makefile =================================================================== --- head/net/linknx/Makefile (revision 479272) +++ head/net/linknx/Makefile (revision 479273) @@ -1,60 +1,62 @@ # Created by: Bjorn Konig # $FreeBSD$ PORTNAME= linknx PORTVERSION= 0.0.1.32 CATEGORIES= net MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= bkoenig@alpha-tierchen.de COMMENT= Rule-based event handling in a KNX installation LICENSE= GPLv2 LIB_DEPENDS= libpthsem.so:devel/pthsem BUILD_DEPENDS= ${LOCALBASE}/lib/libargp.a:devel/argp-standalone BROKEN_aarch64= fails to compile: /usr/include/c++/v1/math.h:733:39: no member named 'fabsf' in the global namespace; did you mean simply 'fabsf'? BROKEN_armv6= fails to configure: checking for GNU Pth... Segmentation fault BROKEN_armv7= fails to configure: checking for GNU Pth... Segmentation fault BROKEN_mips= fails to configure: checking for GNU Pth... Segmentation fault BROKEN_mips64= fails to configure: checking for GNU Pth... Segmentation fault -USES= gmake autoreconf pkgconfig +USES= compiler gmake autoreconf pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS+=CFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-I${LOCALBASE}/include -L/${LOCALBASE}/lib" +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-c++11-narrowing OPTIONS_DEFINE= LIBESMTP LIBCURL LIBLUA MYSQL OPTIONS_DEFAULT= LIBESMTP OPTIONS_SUB= LIBESMTP_DESC= Install libesmtp for SMTP support LIBCURL_DESC= Install libcurl for Clickatell SMS support LIBLUA_DESC= Install liblua for scripting MYSQL_DESC= Install libmysql for logging & persist LIBESMTP_CONFIGURE_ENABLE= smtp LIBESMTP_LIB_DEPENDS= libesmtp.so:mail/libesmtp LIBCURL_CONFIGURE_WITH= libcurl LIBCURL_LIB_DEPENDS= libcurl.so:ftp/curl # autoreconf needs that anyway. LIBCURL_BUILD_DEPENDS_OFF= ${LOCALBASE}/share/aclocal/libcurl.m4:ftp/curl LIBLUA_CONFIGURE_WITH= lua LIBLUA_USES= lua LIBLUA_CFLAGS= -I${LUA_INCDIR} LIBLUA_LDFLAGS= -L${LUA_LIBDIR} MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE}/bin/mysql_config MYSQL_CONFIGURE_OFF= --without-mysql MYSQL_USE= MYSQL=yes PORTDOCS= * PLIST_FILES= bin/linknx USE_RC_SUBR= ${PORTNAME} post-patch: ${REINPLACE_CMD} "s/LUAPC=lua/LUAPC=lua-${LUA_VER}/" ${WRKSRC}/configure.ac cd ${WRKSRC} && ${TOUCH} NEWS README AUTHORS .include Index: head/net/linknx/files/patch-src_suncalc.cpp =================================================================== --- head/net/linknx/files/patch-src_suncalc.cpp (nonexistent) +++ head/net/linknx/files/patch-src_suncalc.cpp (revision 479273) @@ -0,0 +1,27 @@ +In file included from suncalc.cpp:47: + /usr/include/c++/v1/math.h:733:39: error: no member named 'fabsf' in the global + namespace; did you mean simply 'fabsf'? + abs(float __lcpp_x) _NOEXCEPT {return ::fabsf(__lcpp_x);} + ^~ + +--- src/suncalc.cpp.orig 2018-08-25 18:51:49 UTC ++++ src/suncalc.cpp +@@ -25,8 +25,6 @@ + #include "suncalc.h" + #include "services.h" + +-namespace suncalc +-{ + + /* + SUNRISET.C - computes Sun rise/set times, start/end of twilight, and +@@ -49,6 +47,9 @@ Released to the public domain by Paul Schlyter, Decemb + #include + #include + #include ++ ++namespace suncalc ++{ + + /* A macro to compute the number of days elapsed since 2000 Jan 0.0 */ + /* (which is equal to 1999 Dec 31, 0h UT) */ Property changes on: head/net/linknx/files/patch-src_suncalc.cpp ___________________________________________________________________ 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