Accepting request 145836 from home:oertel:branches:multimedia:libs
- add s390 and s390x to known platforms by adding webrtc-s390x.patch OBS-URL: https://build.opensuse.org/request/show/145836 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/webrtc-audio-processing?expand=0&rev=6
This commit is contained in:
parent
9cc3370e29
commit
ed66474b9c
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 19 10:39:23 CET 2012 - ro@suse.de
|
||||
|
||||
- add s390 and s390x to known platforms
|
||||
by adding webrtc-s390x.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 3 15:00:06 UTC 2012 - dvaleev@suse.com
|
||||
|
||||
|
@ -39,6 +39,7 @@ BuildRequires: make
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xz
|
||||
Patch0: webrtc-ppc64.patch
|
||||
Patch1: webrtc-s390x.patch
|
||||
|
||||
%description
|
||||
WebRTC is an open source project that enables web browsers with Real-Time
|
||||
@ -87,6 +88,7 @@ WebRTC implements the W3C's proposal for video conferencing on the web.
|
||||
xz --decompress --stdout "%{SOURCE0}" | %__tar xf - --strip-components=1
|
||||
%__sed -i 's/\r$//' AUTHORS
|
||||
%patch0 -p1
|
||||
%patch1
|
||||
|
||||
%build
|
||||
%configure
|
||||
|
15
webrtc-s390x.patch
Normal file
15
webrtc-s390x.patch
Normal file
@ -0,0 +1,15 @@
|
||||
--- src/typedefs.h
|
||||
+++ src/typedefs.h
|
||||
@@ -82,6 +82,12 @@
|
||||
#elif defined(__powerpc__)
|
||||
#define WEBRTC_BIG_ENDIAN
|
||||
#define WEBRTC_ARCH_32_BITS
|
||||
+#elif defined(__s390x__)
|
||||
+#define WEBRTC_BIG_ENDIAN
|
||||
+#define WEBRTC_ARCH_64_BITS
|
||||
+#elif defined(__s390__)
|
||||
+#define WEBRTC_BIG_ENDIAN
|
||||
+#define WEBRTC_ARCH_32_BITS
|
||||
#else
|
||||
#error Please add support for your architecture in typedefs.h
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user