Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153150571
D21159.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D21159.id.diff
View Options
Index: head/multimedia/mswebrtc/Makefile
===================================================================
--- head/multimedia/mswebrtc/Makefile
+++ head/multimedia/mswebrtc/Makefile
@@ -12,9 +12,6 @@
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe
-NOT_FOR_ARCHS_REASON= Define either WEBRTC_ARCH_LITTLE_ENDIAN or WEBRTC_ARCH_BIG_ENDIAN
-
LIB_DEPENDS= libbctoolbox.so:net/bctoolbox \
libmediastreamer_base.so:net/mediastreamer \
libortp.so:net/ortp
Index: head/multimedia/mswebrtc/files/patch-webrtc_webrtc_typedefs.h
===================================================================
--- head/multimedia/mswebrtc/files/patch-webrtc_webrtc_typedefs.h
+++ head/multimedia/mswebrtc/files/patch-webrtc_webrtc_typedefs.h
@@ -0,0 +1,23 @@
+--- webrtc/webrtc/typedefs.h.orig 2019-08-04 15:52:12 UTC
++++ webrtc/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))
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 20, 12:01 PM (11 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31838003
Default Alt Text
D21159.id.diff (1 KB)
Attached To
Mode
D21159: multimedia/mswebrtc: fix build with big-endian architectures
Attached
Detach File
Event Timeline
Log In to Comment