diff options
author | danfe <danfe@FreeBSD.org> | 2018-01-22 14:41:18 +0800 |
---|---|---|
committer | Koop Mast <kwm@rainbow-runner.nl> | 2018-02-04 06:27:33 +0800 |
commit | 2900a09949dd633e7e3d64adacc623c70868abdc (patch) | |
tree | 1cda70f6bbce132dee666ca3a5b1ad4821faaa26 /net | |
parent | 7fc3923172e98fb944e2bb84783fe6c6a4488718 (diff) | |
download | freebsd-ports-gnome-2900a09949dd633e7e3d64adacc623c70868abdc.tar.gz freebsd-ports-gnome-2900a09949dd633e7e3d64adacc623c70868abdc.tar.zst freebsd-ports-gnome-2900a09949dd633e7e3d64adacc623c70868abdc.zip |
Allow to build on powerpc, powerpc64, and sparc64.
Diffstat (limited to 'net')
-rw-r--r-- | net/libilbc/Makefile | 3 | ||||
-rw-r--r-- | net/libilbc/files/patch-typedefs.h | 15 |
2 files changed, 15 insertions, 3 deletions
diff --git a/net/libilbc/Makefile b/net/libilbc/Makefile index 61b72a621799..35c863cdab01 100644 --- a/net/libilbc/Makefile +++ b/net/libilbc/Makefile @@ -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 diff --git a/net/libilbc/files/patch-typedefs.h b/net/libilbc/files/patch-typedefs.h new file mode 100644 index 000000000000..fc0d1e6ea03a --- /dev/null +++ b/net/libilbc/files/patch-typedefs.h @@ -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 |