Hello community,

here is the log from the commit of package vapoursynth for openSUSE:Factory 
checked in at 2018-04-29 19:37:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vapoursynth (Old)
 and      /work/SRC/openSUSE:Factory/.vapoursynth.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vapoursynth"

Sun Apr 29 19:37:34 2018 rev:4 rq:601693 version:43

Changes:
--------
--- /work/SRC/openSUSE:Factory/vapoursynth/vapoursynth.changes  2018-03-07 
10:32:57.574196861 +0100
+++ /work/SRC/openSUSE:Factory/.vapoursynth.new/vapoursynth.changes     
2018-04-29 19:37:36.413843951 +0200
@@ -1,0 +2,6 @@
+Thu Apr 26 15:51:41 UTC 2018 - guillaume.gar...@opensuse.org
+
+- Add patch to fix aarch64 build:
+  * vapoursynth-upstream-fix-for-aarch64.patch
+
+-------------------------------------------------------------------

New:
----
  vapoursynth-upstream-fix-for-aarch64.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ vapoursynth.spec ++++++
--- /var/tmp/diff_new_pack.V1LbXo/_old  2018-04-29 19:37:36.997822536 +0200
+++ /var/tmp/diff_new_pack.V1LbXo/_new  2018-04-29 19:37:37.001822389 +0200
@@ -20,13 +20,16 @@
 Version:        43
 Release:        0
 Summary:        A video processing framework
-License:        LGPL-2.1 AND OFL-1.1
+License:        LGPL-2.1-only AND OFL-1.1
 Group:          Productivity/Multimedia/Video/Editors and Convertors
 URL:            http://www.vapoursynth.com/
 Source0:        
https://github.com/vapoursynth/vapoursynth/archive/R%{version}.tar.gz#/%{name}-R%{version}.tar.gz
 # PATCH-FIX-OPENSUSE vapoursynth-version.patch -- makes sure that we have
 # some sort of version for othervise unversioned .so files
 Patch1:         vapoursynth-version.patch
+# PATCH-FIX-UPSTREAM vapoursynth-upstream-fix-for-aarch64.patch -- Do not fail 
if we have no known CPU
+# https://github.com/vapoursynth/vapoursynth/commit/4906ae8
+Patch2:         vapoursynth-upstream-fix-for-aarch64.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -178,6 +181,7 @@
 %prep
 %setup -q -n %{name}-R%{version}
 %patch1 -p1
+%patch2 -p1
 
 %build
 autoreconf -fiv

++++++ vapoursynth-upstream-fix-for-aarch64.patch ++++++
>From 4906ae8e7f8922db430b1d90aa2b4f36f9aa1bac Mon Sep 17 00:00:00 2001
From: Fredrik Mellbin <fredrik.mell...@gmail.com>
Date: Thu, 26 Apr 2018 16:20:18 +0200
Subject: [PATCH] Change unknown cpu features to a warning instead of an error

---
 src/core/cpufeatures.c | 4 ++--
 src/core/cpufeatures.h | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/core/cpufeatures.c b/src/core/cpufeatures.c
index 78b92be6..ec00b02d 100644
--- a/src/core/cpufeatures.c
+++ b/src/core/cpufeatures.c
@@ -94,9 +94,9 @@ void getCPUFeatures(CPUFeatures *cpuFeatures) {
     cpuFeatures->dfp = !!(hwcap & PPC_FEATURE_HAS_DFP);
     cpuFeatures->vsx = !!(hwcap & PPC_FEATURE_HAS_VSX);
 #else
-#error Do not know how to get CPU features on Linux.
+#warning "Do not know how to get CPU features on Linux."
 #endif
 }
 #else
-#error Do not know how to get CPU features.
+#warning "Do not know how to get CPU features."
 #endif
diff --git a/src/core/cpufeatures.h b/src/core/cpufeatures.h
index 2f94438e..b2bf8512 100644
--- a/src/core/cpufeatures.h
+++ b/src/core/cpufeatures.h
@@ -60,7 +60,7 @@ typedef struct CPUFeatures {
     char dfp;
     char vsx;
 #else
-#error No VS_TARGET_CPU_* defined/handled!
+#warning "No VS_TARGET_CPU_* defined/handled!"
 #endif
 } CPUFeatures;
 

Reply via email to