aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2018-01-22 06:41:18 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2018-01-22 06:41:18 +0000
commit6af7432d6cd00d8c104bdc1378e4b2ce707eb185 (patch)
tree218ff10df175a11f7c6aa9abbc05f5156dc0a65e
parenta3551f857f45fdb6a40ef63a8068899a8fd4241a (diff)
downloadports-6af7432d6cd00d8c104bdc1378e4b2ce707eb185.tar.gz
ports-6af7432d6cd00d8c104bdc1378e4b2ce707eb185.zip
Notes
-rw-r--r--net/libilbc/Makefile3
-rw-r--r--net/libilbc/files/patch-typedefs.h15
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