Index: head/audio/py-webrtcvad/Makefile =================================================================== --- head/audio/py-webrtcvad/Makefile (revision 503303) +++ head/audio/py-webrtcvad/Makefile (revision 503304) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= webrtcvad DISTVERSION= 2.0.10 CATEGORIES= audio python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Interface to the Google WebRTC Voice Activity Detector (VAD) LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= python +USES= compiler:c11 python USE_PYTHON= distutils autoplist .include Index: head/audio/py-webrtcvad/files/patch-cbits_webrtc_typedefs.h =================================================================== --- head/audio/py-webrtcvad/files/patch-cbits_webrtc_typedefs.h (nonexistent) +++ head/audio/py-webrtcvad/files/patch-cbits_webrtc_typedefs.h (revision 503304) @@ -0,0 +1,23 @@ +--- cbits/webrtc/typedefs.h.orig 2017-01-07 23:05:15 UTC ++++ cbits/webrtc/typedefs.h +@@ -48,7 +48,19 @@ + #define WEBRTC_ARCH_32_BITS + #define WEBRTC_ARCH_LITTLE_ENDIAN + #else +-#error Please add support for your architecture in typedefs.h ++/* instead of failing, use typical unix defines... */ ++#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ ++#define WEBRTC_ARCH_LITTLE_ENDIAN ++#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ ++#define WEBRTC_ARCH_BIG_ENDIAN ++#else ++#error __BYTE_ORDER__ is not defined ++#endif ++#if defined(__LP64__) ++#define WEBRTC_ARCH_64_BITS ++#else ++#define WEBRTC_ARCH_32_BITS ++#endif + #endif + + #if !(defined(WEBRTC_ARCH_LITTLE_ENDIAN) ^ defined(WEBRTC_ARCH_BIG_ENDIAN)) Property changes on: head/audio/py-webrtcvad/files/patch-cbits_webrtc_typedefs.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property