FreeBSD Bugzilla – Attachment 207598 Details for
Bug 240662
net/sems: fix build on big-endian architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
sems.patch (text/plain), 1.67 KB, created by
Piotr Kubaj
on 2019-09-18 08:31:18 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2019-09-18 08:31:18 UTC
Size:
1.67 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 512097) >+++ Makefile (working copy) >@@ -21,7 +21,7 @@ > libspeex.so:audio/speex \ > libspandsp.so:comms/spandsp > >-USES= cmake python:2.7,run shebangfix >+USES= cmake compiler:c++11-lang python:2.7,run shebangfix > SHEBANG_GLOB= sems-* > > USE_GITHUB= yes >Index: files/patch-core_plug-in_isac_libisac_typedefs.h >=================================================================== >--- files/patch-core_plug-in_isac_libisac_typedefs.h (nonexistent) >+++ files/patch-core_plug-in_isac_libisac_typedefs.h (working copy) >@@ -0,0 +1,23 @@ >+--- core/plug-in/isac/libisac/typedefs.h.orig 2019-09-18 08:25:08 UTC >++++ core/plug-in/isac/libisac/typedefs.h >+@@ -77,7 +77,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(__SSE2__) || defined(_MSC_VER) > >Property changes on: files/patch-core_plug-in_isac_libisac_typedefs.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
pkubaj
:
maintainer-approval?
(
nwhitehorn
)
Actions:
View
|
Diff
Attachments on
bug 240662
: 207598