summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Chauvet <kwizart@gmail.com>2013-03-10 11:37:15 +0000
committerNicolas Chauvet <kwizart@gmail.com>2013-03-10 11:37:15 +0000
commit9aace374f8170fd5a2a07c88fd14b61aec9b0110 (patch)
tree2b95245de944abfe4ac1d0f987899c9f153fedd0
parentee2eec39336e9406dc5aee12db2783403e9c27c7 (diff)
downloada52dec-9aace374f8170fd5a2a07c88fd14b61aec9b0110.zip
a52dec-9aace374f8170fd5a2a07c88fd14b61aec9b0110.tar.gz
a52dec-9aace374f8170fd5a2a07c88fd14b61aec9b0110.tar.xz
Add patch to silence warningf20f19
-rw-r--r--a52dec.spec7
-rw-r--r--liba52-silence.patch17
2 files changed, 23 insertions, 1 deletions
diff --git a/a52dec.spec b/a52dec.spec
index 5e7e241..12bc9d0 100644
--- a/a52dec.spec
+++ b/a52dec.spec
@@ -1,13 +1,14 @@
Summary: A free ATSC A/52 stream decoder
Name: a52dec
Version: 0.7.4
-Release: 17%{?dist}
+Release: 18%{?dist}
License: GPLv2
Group: System Environment/Libraries
URL: http://liba52.sourceforge.net/
Source0: http://liba52.sourceforge.net/files/%{name}-%{version}.tar.gz
Patch0: a52dec-configure-optflags.patch
Patch1: a52dec-0.7.4-rpath64.patch
+Patch2: liba52-silence.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: %{__perl}
@@ -36,6 +37,7 @@ This package contains development files for a52dec.
%setup -q
%patch0
%patch1 -p1
+%patch2 -p1
%{__perl} -pi -e 's/-prefer-non-pic\b/-prefer-pic/' \
configure liba52/configure.incl
@@ -80,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT
#---------------------------------------------------------------------
%changelog
+* Sun Mar 10 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.7.4-18
+- Add silence patch as we don't built with DJBFFT enabled
+
* Sun Mar 03 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.7.4-17
- Mass rebuilt for Fedora 19 Features
diff --git a/liba52-silence.patch b/liba52-silence.patch
new file mode 100644
index 0000000..a739966
--- /dev/null
+++ b/liba52-silence.patch
@@ -0,0 +1,17 @@
+diff -ru a52dec.orig/liba52/imdct.c a52dec/liba52/imdct.c
+--- a52dec.orig/liba52/imdct.c 2012-02-06 19:40:21.000000000 +0200
++++ a52dec/liba52/imdct.c 2012-02-06 19:40:53.000000000 +0200
+@@ -419,13 +419,11 @@
+
+ #ifdef LIBA52_DJBFFT
+ if (mm_accel & MM_ACCEL_DJBFFT) {
+- fprintf (stderr, "Using djbfft for IMDCT transform\n");
+ ifft128 = (void (*) (complex_t *)) fftc4_un128;
+ ifft64 = (void (*) (complex_t *)) fftc4_un64;
+ } else
+ #endif
+ {
+- fprintf (stderr, "No accelerated IMDCT transform found\n");
+ ifft128 = ifft128_c;
+ ifft64 = ifft64_c;
+ }