Index: head/databases/galera/Makefile =================================================================== --- head/databases/galera/Makefile (revision 567386) +++ head/databases/galera/Makefile (revision 567387) @@ -1,56 +1,54 @@ # Created by: Horia Racoviceanu # $FreeBSD$ PORTNAME= galera PORTVERSION?= 25.3.32 DISTVERSIONPREFIX?= release_ CATEGORIES= databases MAINTAINER= devel@galeracluster.com COMMENT= Synchronous multi-master replication engine LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_FreeBSD_13= galerautils/src/gu_int128.h:163:20: error: use of undeclared identifier '__bswap64_var' -BROKEN_FreeBSD_14= galerautils/src/gu_int128.h:163:20: error: use of undeclared identifier '__bswap64_var' BROKEN_aarch64= fails to compile: gu_int128.h: use of undeclared identifier '__bswap64_var' BROKEN_armv6= fails to compile: gu_int128.h: use of undeclared identifier '__bswap64_var' BROKEN_armv7= fails to compile: gu_int128.h: use of undeclared identifier '__bswap64_var' BROKEN_riscv64= fails to compile: gu_int128.h: use of undeclared identifier '__bswap64_var' NOT_FOR_ARCHS= i386 # On i386 older versions of clang produce: # cannot compile this atomic library call yet ... __atomic_add_fetch # whereas newer ones generate a call to __atomic_add_fetch which ends up with # undefined reference at link time: # undefined reference to `__atomic_fetch_add_8' # https://bugs.llvm.org//show_bug.cgi?id=23262 # https://bugs.llvm.org//show_bug.cgi?id=24908 # https://tracker.crystax.net/issues/1263 NOT_FOR_ARCHS_REASON_i386=Uses 64 bit atomics that clang cannot generate on i386 BUILD_DEPENDS= checkmk:devel/check \ ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs \ objdump:devel/binutils LIB_DEPENDS= libboost_date_time.so:devel/boost-libs USES= compiler:c++11-lang python:build cmake ssl USE_LDCONFIG= yes USE_GITHUB= yes GH_TUPLE?= codership:galera:${DISTVERSIONPREFIX}${PORTVERSION}${DISTVERSIONSUFFIX} \ codership:wsrep-API:eab2d5d5a31672c0b7d116ef1629ff18392fd7d0:dummy/wsrep/src CMAKE_ARGS+= -DGALERA_REVISION=${GH_TAGNAME} USE_RC_SUBR= garb.sh PLIST_FILES= bin/garbd \ lib/libgalera.so \ lib/libgalera_smm.so post-install: ${RLN} ${STAGEDIR}/${PREFIX}/lib/libgalera_smm.so ${STAGEDIR}/${PREFIX}/lib/libgalera.so .include Index: head/databases/galera/files/patch-galerautils_src_gu__byteswap.h =================================================================== --- head/databases/galera/files/patch-galerautils_src_gu__byteswap.h (nonexistent) +++ head/databases/galera/files/patch-galerautils_src_gu__byteswap.h (revision 567387) @@ -0,0 +1,14 @@ +--- galerautils/src/gu_byteswap.h.orig 2020-10-12 06:33:51 UTC ++++ galerautils/src/gu_byteswap.h +@@ -53,11 +53,6 @@ static GU_FORCE_INLINE uint64_t GU_ROTL64 (uint64_t x, + # define gu_bswap16 _OSSwapInt16 + # define gu_bswap32 _OSSwapInt32 + # define gu_bswap64 _OSSwapInt64 +-#elif defined(__FreeBSD__) +-/* do not use bswapXX, because gcc44 gives old-style cast warnings */ +-# define gu_bswap16 __bswap16_var +-# define gu_bswap32 __bswap32_var +-# define gu_bswap64 __bswap64_var + #elif defined(__sun__) + # define gu_bswap16 BSWAP_16 + # define gu_bswap32 BSWAP_32 Property changes on: head/databases/galera/files/patch-galerautils_src_gu__byteswap.h ___________________________________________________________________ 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