Index: head/comms/airspy/Makefile =================================================================== --- head/comms/airspy/Makefile (revision 497801) +++ head/comms/airspy/Makefile (revision 497802) @@ -1,34 +1,33 @@ # $FreeBSD$ PORTNAME= airspy DISTVERSIONPREFIX= v DISTVERSION= 1.0.9-18 DISTVERSIONSUFFIX= -gbfb6670 PORTREVISION= 1 CATEGORIES= comms hamradio MAINTAINER= yuri@FreeBSD.org COMMENT= AirSpy's usemode driver and associated tools LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/airspy-tools/LICENSE.md BROKEN_aarch64= fails to compile: invalid conversion between vector type '__m64' and integer type 'int' -BROKEN_powerpc64= fails to build: iqconverter_float.c:45:23: error: immintrin.h: No such file or directory USES= cmake pkgconfig USE_GITHUB= yes GH_PROJECT= airspyone_host USE_LDCONFIG= yes CMAKE_OFF= INSTALL_UDEV_RULES CMAKE_ARGS= -DLIBUSB_LIBRARIES="/usr/lib/libusb.so" OPTIONS_DEFINE_amd64= SIMD OPTIONS_DEFINE_i386= SIMD OPTIONS_DEFAULT_amd64= SIMD OPTIONS_DEFAULT_i386= SIMD SIMD_CFLAGS= -DFREEBSD_USE_SIMD -msse -msse2 -mfpmath=sse -mmmx .include Index: head/comms/airspy/files/patch-libairspy_src_iqconverter__float.c =================================================================== --- head/comms/airspy/files/patch-libairspy_src_iqconverter__float.c (revision 497801) +++ head/comms/airspy/files/patch-libairspy_src_iqconverter__float.c (revision 497802) @@ -1,12 +1,12 @@ --- libairspy/src/iqconverter_float.c.orig 2018-06-27 04:58:05 UTC +++ libairspy/src/iqconverter_float.c @@ -39,7 +39,9 @@ THE SOFTWARE. #define _inline inline #define FIR_STANDARD #elif defined(__FreeBSD__) +# if defined(FREEBSD_USE_SIMD) #define USE_SSE2 -+# endif #include ++# endif #define _inline inline #define _aligned_free(mem) free(mem)