Updating link to change in openSUSE:Factory/dirac revision 8.0
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/dirac?expand=0&rev=b75b927ea64d2c8fdb88e1ef8e0c2d9f
This commit is contained in:
parent
f432ae20ab
commit
bfdc88f0d2
22
dirac-1.0.2-gcc45.patch
Normal file
22
dirac-1.0.2-gcc45.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
Index: dirac-1.0.2/libdirac_encoder/quant_chooser.cpp
|
||||||
|
===================================================================
|
||||||
|
--- dirac-1.0.2.orig/libdirac_encoder/quant_chooser.cpp
|
||||||
|
+++ dirac-1.0.2/libdirac_encoder/quant_chooser.cpp
|
||||||
|
@@ -340,7 +340,7 @@ void QuantChooser::SetSkip( CodeBlock& c
|
||||||
|
{
|
||||||
|
for (int i=cblock.Xstart(); i<cblock.Xend(); ++i )
|
||||||
|
{
|
||||||
|
- if ( (std::abs(m_coeff_data[j][i])<<2) >= u_threshold )
|
||||||
|
+ if ( (static_cast<int>(std::abs(m_coeff_data[j][i]))<<2) >= u_threshold )
|
||||||
|
can_skip = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -355,7 +355,7 @@ CoeffType QuantChooser::BlockAbsMax( con
|
||||||
|
{
|
||||||
|
for (int i=node.Xp() ; i<node.Xp()+node.Xl(); ++i)
|
||||||
|
{
|
||||||
|
- val = std::max( val , std::abs(m_coeff_data[j][i]) );
|
||||||
|
+ val = std::max( val , static_cast<int>(std::abs(m_coeff_data[j][i])) );
|
||||||
|
}// i
|
||||||
|
}// j
|
||||||
|
|
@ -3,6 +3,11 @@ Tue May 11 09:00:33 UTC 2010 - davejplater@gmail.com
|
|||||||
|
|
||||||
- Added Conflicts: for conflicting packman packages
|
- Added Conflicts: for conflicting packman packages
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 9 08:49:10 UTC 2010 - davejplater@gmail.com
|
||||||
|
|
||||||
|
- Fixed factory build with patch from git dirac-1.0.2-gcc45.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 18 22:46:01 CET 2009 - jengelh@medozas.de
|
Fri Dec 18 22:46:01 CET 2009 - jengelh@medozas.de
|
||||||
|
|
||||||
|
10
dirac.spec
10
dirac.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dirac (Version 1.0.2)
|
# spec file for package dirac (Version 1.0.2)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,16 +20,17 @@
|
|||||||
|
|
||||||
Name: dirac
|
Name: dirac
|
||||||
Version: 1.0.2
|
Version: 1.0.2
|
||||||
Release: 3
|
Release: 4
|
||||||
Url: http://diracvideo.org/
|
Url: http://diracvideo.org/
|
||||||
Group: Productivity/Multimedia/Video/Editors and Convertors
|
Group: Productivity/Multimedia/Video/Editors and Convertors
|
||||||
License: MPL ..
|
License: MPL ..
|
||||||
Summary: Dirac Video Codec
|
Summary: The dirac Video Codec
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
|
Patch0: %{name}-%{version}-gcc45.patch
|
||||||
BuildRequires: gcc-c++ libstdc++-devel
|
BuildRequires: gcc-c++ libstdc++-devel
|
||||||
BuildRequires: libcppunit-devel
|
BuildRequires: libcppunit-devel
|
||||||
%ifnarch ia64 s390 s390x %sparc
|
%ifnarch ia64 s390 s390x %sparc
|
||||||
BuildRequires: valgrind-devel
|
BuildRequires: pkg-config valgrind-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: doxygen fdupes graphviz-gd texlive-latex
|
BuildRequires: doxygen fdupes graphviz-gd texlive-latex
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -211,6 +212,7 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
# Code is not mature enough for -Werror (unused results)
|
# Code is not mature enough for -Werror (unused results)
|
||||||
sed -i 's/-Werror//' configure.ac
|
sed -i 's/-Werror//' configure.ac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user