Accepting request 157852 from multimedia:libs

- Add patch webrtc-aarch64.patch from algraf to add aarch64 support

OBS-URL: https://build.opensuse.org/request/show/157852
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/webrtc-audio-processing?expand=0&rev=6
This commit is contained in:
Stephan Kulow 2013-03-08 10:01:57 +00:00 committed by Git OBS Bridge
commit 526c0e28dc
3 changed files with 20 additions and 1 deletions

12
webrtc-aarch64.patch Normal file
View File

@ -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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 7 13:51:31 UTC 2013 - idonmez@suse.com
- Add patch webrtc-aarch64.patch from algraf to add aarch64 support
-------------------------------------------------------------------
Wed Dec 19 10:39:23 CET 2012 - ro@suse.de

View File

@ -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 <pascal.bleser@opensuse.org>
#
# 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