FreeBSD Bugzilla – Attachment 204355 Details for
Bug 237876
audio/py-webrtcvad: fix build with GCC-based architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
py-webrtcvad.patch (text/plain), 1.58 KB, created by
Piotr Kubaj
on 2019-05-13 12:27:08 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2019-05-13 12:27:08 UTC
Size:
1.58 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 501154) >+++ Makefile (working copy) >@@ -12,7 +12,7 @@ > LICENSE= MIT > LICENSE_FILE= ${WRKSRC}/LICENSE > >-USES= python >+USES= compiler:c11 python > USE_PYTHON= distutils autoplist > > .include <bsd.port.mk> >Index: files/patch-cbits_webrtc_typedefs.h >=================================================================== >--- files/patch-cbits_webrtc_typedefs.h (nonexistent) >+++ files/patch-cbits_webrtc_typedefs.h (working copy) >@@ -0,0 +1,23 @@ >+--- cbits/webrtc/typedefs.h.orig 2017-01-07 23:05:15 UTC >++++ cbits/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)) > >Property changes on: files/patch-cbits_webrtc_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?
(
yuri
)
Actions:
View
|
Diff
Attachments on
bug 237876
: 204355