From 97aafcd1bf09d10546c9e22e660f5f76401492fdafcd240f0062b45c6faf0370 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Wed, 6 Mar 2013 18:40:33 +0000 Subject: [PATCH] Accepting request 157307 from devel:ARM:AArch64:Factory Add aarch64 support OBS-URL: https://build.opensuse.org/request/show/157307 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/webrtc-audio-processing?expand=0&rev=8 --- webrtc-aarch64.patch | 12 ++++++++++++ webrtc-audio-processing.spec | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 webrtc-aarch64.patch diff --git a/webrtc-aarch64.patch b/webrtc-aarch64.patch new file mode 100644 index 0000000..bbb001c --- /dev/null +++ b/webrtc-aarch64.patch @@ -0,0 +1,12 @@ +--- src/typedefs.h ++++ src/typedefs.h +@@ -82,6 +82,9 @@ + #elif defined(__s390__) + #define WEBRTC_BIG_ENDIAN + #define WEBRTC_ARCH_32_BITS ++#elif defined(__aarch64__) ++#define WEBRTC_LITTLE_ENDIAN ++#define WEBRTC_ARCH_64_BITS + #else + #error Please add support for your architecture in typedefs.h + #endif diff --git a/webrtc-audio-processing.spec b/webrtc-audio-processing.spec index 70a853d..434394e 100644 --- a/webrtc-audio-processing.spec +++ b/webrtc-audio-processing.spec @@ -2,7 +2,7 @@ # # spec file for package webrtc-audio-processing # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 Pascal Bleser # # All modifications and additions to the file contributed by third parties @@ -40,6 +40,7 @@ BuildRequires: pkgconfig BuildRequires: xz Patch0: webrtc-ppc64.patch Patch1: webrtc-s390x.patch +Patch2: webrtc-aarch64.patch %description WebRTC is an open source project that enables web browsers with Real-Time @@ -89,6 +90,7 @@ xz --decompress --stdout "%{SOURCE0}" | %__tar xf - --strip-components=1 %__sed -i 's/\r$//' AUTHORS %patch0 -p1 %patch1 +%patch2 %build %configure