From b57856fd9170696edca7c98f8bb3765d04d0e8c2d95f07c932c455b637487d51 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 4 Nov 2013 21:47:28 +0000 Subject: [PATCH] Accepting request 205791 from home:Andreas_Schwab:Factory - aarch64-no-neon.patch: Disable use of NEON on aarch64 OBS-URL: https://build.opensuse.org/request/show/205791 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-base?expand=0&rev=38 --- aarch64-no-neon.patch | 14 ++++++++++++++ gstreamer-plugins-base.changes | 5 +++++ gstreamer-plugins-base.spec | 2 ++ 3 files changed, 21 insertions(+) create mode 100644 aarch64-no-neon.patch diff --git a/aarch64-no-neon.patch b/aarch64-no-neon.patch new file mode 100644 index 0000000..df23035 --- /dev/null +++ b/aarch64-no-neon.patch @@ -0,0 +1,14 @@ +Index: gst-plugins-base-1.2.0/gst/audioresample/resample.c +=================================================================== +--- gst-plugins-base-1.2.0.orig/gst/audioresample/resample.c ++++ gst-plugins-base-1.2.0/gst/audioresample/resample.c +@@ -92,6 +92,9 @@ + #ifndef HAVE_ARM_NEON + #undef _USE_NEON + #endif ++#ifdef __aarch64__ /* Not ported yet */ ++#undef _USE_NEON ++#endif + #endif + + static inline void * diff --git a/gstreamer-plugins-base.changes b/gstreamer-plugins-base.changes index 97c021e..757e9f0 100644 --- a/gstreamer-plugins-base.changes +++ b/gstreamer-plugins-base.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 4 21:06:05 UTC 2013 - schwab@suse.de + +- aarch64-no-neon.patch: Disable use of NEON on aarch64 + ------------------------------------------------------------------- Tue Oct 22 20:59:08 UTC 2013 - dimstar@opensuse.org diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec index 08cbf91..af647f0 100644 --- a/gstreamer-plugins-base.spec +++ b/gstreamer-plugins-base.spec @@ -28,6 +28,7 @@ License: LGPL-2.1+ and GPL-2.0+ Group: Productivity/Multimedia/Other Source: http://download.gnome.org/sources/gst-plugins-base/1.2/%{_name}-%{version}.tar.xz Source2: baselibs.conf +Patch: aarch64-no-neon.patch BuildRequires: cdparanoia-devel BuildRequires: glib2-devel >= 2.32 BuildRequires: gstreamer-devel >= 1.0.10 @@ -422,6 +423,7 @@ package. %lang_package %prep %setup -q -n %{_name}-%{version} +%patch -p1 translation-update-upstream po gst-plugins-base-%{gst_branch} %build