Date: Mon, 22 Jan 2018 06:41:18 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459635 - in head/net/libilbc: . files Message-ID: <201801220641.w0M6fIL9080011@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Mon Jan 22 06:41:18 2018 New Revision: 459635 URL: https://svnweb.freebsd.org/changeset/ports/459635 Log: Allow to build on powerpc, powerpc64, and sparc64. Added: head/net/libilbc/files/patch-typedefs.h (contents, props changed) Modified: head/net/libilbc/Makefile Modified: head/net/libilbc/Makefile ============================================================================== --- head/net/libilbc/Makefile Mon Jan 22 01:54:25 2018 (r459634) +++ head/net/libilbc/Makefile Mon Jan 22 06:41:18 2018 (r459635) @@ -11,9 +11,6 @@ COMMENT= Internet Low Bit Rate codec (RFC3951) LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -NOT_FOR_ARCHS= powerpc64 sparc64 -NOT_FOR_ARCHS_REASON= not yet ported to this architecture - CONFLICTS= ilbc-r[0-9]* USE_GITHUB= yes Added: head/net/libilbc/files/patch-typedefs.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/libilbc/files/patch-typedefs.h Mon Jan 22 06:41:18 2018 (r459635) @@ -0,0 +1,15 @@ +--- typedefs.h.orig 2014-12-14 19:34:22 UTC ++++ typedefs.h +@@ -26,6 +26,12 @@ + #elif defined(__aarch64__) + #define WEBRTC_ARCH_64_BITS + #define WEBRTC_ARCH_LITTLE_ENDIAN ++#elif defined(__powerpc64__) || defined(__sparc64__) ++#define WEBRTC_ARCH_64_BITS ++#define WEBRTC_ARCH_BIG_ENDIAN ++#elif defined(__powerpc__) ++#define WEBRTC_ARCH_32_BITS ++#define WEBRTC_ARCH_BIG_ENDIAN + #elif defined(_M_IX86) || defined(__i386__) + #define WEBRTC_ARCH_X86_FAMILY + #define WEBRTC_ARCH_X86
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801220641.w0M6fIL9080011>