Hello community,
here is the log from the commit of package a52dec for openSUSE:Factory checked
in at 2019-02-28 21:26:15
Comparing /work/SRC/openSUSE:Factory/a52dec (Old)
and /work/SRC/openSUSE:Factory/.a52dec.new.28833 (New)
Package is "a52dec"
Thu Feb 28 21:26:15 2019 rev:3 rq:677654 version:0.7.5+svn613
Changes:
--- /work/SRC/openSUSE:Factory/a52dec/a52dec.changes2017-07-17
09:03:45.846418983 +0200
+++ /work/SRC/openSUSE:Factory/.a52dec.new.28833/a52dec.changes 2019-02-28
21:26:16.729875404 +0100
@@ -1,0 +2,5 @@
+Wed Feb 20 09:19:51 UTC 2019 - sch...@suse.de
+
+- altivec.patch: always use the GNU version of the altivec insns
+
+---
New:
altivec.patch
Other differences:
--
++ a52dec.spec ++
--- /var/tmp/diff_new_pack.FNAabd/_old 2019-02-28 21:26:17.373875189 +0100
+++ /var/tmp/diff_new_pack.FNAabd/_new 2019-02-28 21:26:17.381875186 +0100
@@ -1,7 +1,7 @@
#
# spec file for package a52dec
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,11 +24,12 @@
Version:0.7.5+svn613
Release:0
Summary:ATSC A/52 stream decoder library
-License:GPL-2.0+
+License:GPL-2.0-or-later
Group: Productivity/Multimedia/Sound/Utilities
Url:http://liba52.sourceforge.net/
Source: %{name}-%{version}.tar.gz
Source2:baselibs.conf
+Patch: altivec.patch
BuildRequires: libtool
BuildRequires: pkgconfig
Requires: %{libname} = %{version}
@@ -66,6 +67,7 @@
%prep
%setup -q
+%patch -p1
%build
autoreconf -fi
++ altivec.patch ++
Index: a52dec-0.7.5+svn613/liba52/cpu_accel.c
===
--- a52dec-0.7.5+svn613.orig/liba52/cpu_accel.c
+++ a52dec-0.7.5+svn613/liba52/cpu_accel.c
@@ -162,7 +162,7 @@ static uint32_t arch_accel (uint32_t acc
canjump = 1;
-#ifdef HAVE_ALTIVEC_H /* gnu */
+#if 1 /* def HAVE_ALTIVEC_H */ /* gnu */
#define VAND(a,b,c) "vand " #a "," #b "," #c "\n\t"
#else /* apple */
#define VAND(a,b,c) "vand v" #a ",v" #b ",v" #c "\n\t"
Index: a52dec-0.7.5+svn613/liba52/cpu_state.c
===
--- a52dec-0.7.5+svn613.orig/liba52/cpu_state.c
+++ a52dec-0.7.5+svn613/liba52/cpu_state.c
@@ -44,7 +44,7 @@ static void state_restore_mmx (cpu_state
#endif
#ifdef ARCH_PPC
-#ifdef HAVE_ALTIVEC_H /* gnu */
+#if 1 /* def HAVE_ALTIVEC_H */ /* gnu */
#define LI(a,b) "li " #a "," #b "\n\t"
#define STVX0(a,b,c) "stvx " #a ",0," #c "\n\t"
#define STVX(a,b,c) "stvx " #a "," #b "," #c "\n\t"