Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2020 14:41:02 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r533340 - head/net/pjsip/files
Message-ID:  <202004291441.03TEf2pA053357@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Wed Apr 29 14:41:02 2020
New Revision: 533340
URL: https://svnweb.freebsd.org/changeset/ports/533340

Log:
  Import patch to fix build on !x86 !arm.
  
  PR:		246014
  Submitted by:	pkubaj

Added:
  head/net/pjsip/files/patch-third__party_webrtc_src_webrtc_typedefs.h   (contents, props changed)

Added: head/net/pjsip/files/patch-third__party_webrtc_src_webrtc_typedefs.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/pjsip/files/patch-third__party_webrtc_src_webrtc_typedefs.h	Wed Apr 29 14:41:02 2020	(r533340)
@@ -0,0 +1,23 @@
+--- third_party/webrtc/src/webrtc/typedefs.h.orig	2017-01-07 23:05:15 UTC
++++ third_party/webrtc/src/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))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004291441.03TEf2pA053357>