diff --git a/webrtc-audio-processing.changes b/webrtc-audio-processing.changes index f57b381..ebf563b 100644 --- a/webrtc-audio-processing.changes +++ b/webrtc-audio-processing.changes @@ -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 diff --git a/webrtc-audio-processing.spec b/webrtc-audio-processing.spec index 72694f3..70a853d 100644 --- a/webrtc-audio-processing.spec +++ b/webrtc-audio-processing.spec @@ -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 diff --git a/webrtc-s390x.patch b/webrtc-s390x.patch new file mode 100644 index 0000000..3c7f8dc --- /dev/null +++ b/webrtc-s390x.patch @@ -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