[packages/libquicktime] - fix faad2 detection, FAAD2_VERSION is defined as "unknown" in recent versions of the library - rel
baggins
baggins at pld-linux.org
Tue May 1 14:05:42 CEST 2018
commit a6ef0c277358f4c54d029e2d9b9397c95cc4657c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue May 1 14:04:43 2018 +0200
- fix faad2 detection, FAAD2_VERSION is defined as "unknown" in recent versions of the library
- rel 2
faad2-detect.patch | 11 +++++++++++
libquicktime.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/libquicktime.spec b/libquicktime.spec
index 42df4b4..576f1da 100644
--- a/libquicktime.spec
+++ b/libquicktime.spec
@@ -11,7 +11,7 @@ Summary: Library for reading and writing quicktime files
Summary(pl.UTF-8): Biblioteka do odczytu i zapisu plików quicktime
Name: libquicktime
Version: 1.2.4
-Release: 8
+Release: 9
%if %{with gpl}
License: GPL v2+
%else
@@ -24,6 +24,7 @@ Patch0: %{name}-ffmpeg07.patch
Patch1: %{name}-ffmpeg2.patch
Patch2: ffmpeg3.patch
Patch3: ffmpeg4.patch
+Patch4: faad2-detect.patch
URL: http://libquicktime.sourceforge.net/
BuildRequires: OpenGL-GLU-devel
BuildRequires: OpenGL-GLX-devel
@@ -252,6 +253,7 @@ Wtyczka schroedinger dla libquicktime.
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%{__rm} m4/libtool.m4 m4/lt*.m4 m4/vorbis.m4
diff --git a/faad2-detect.patch b/faad2-detect.patch
new file mode 100644
index 0000000..d861dec
--- /dev/null
+++ b/faad2-detect.patch
@@ -0,0 +1,11 @@
+--- libquicktime-1.2.4/configure.ac~ 2012-03-29 21:44:28.000000000 +0200
++++ libquicktime-1.2.4/configure.ac 2018-05-01 14:02:56.483828440 +0200
+@@ -746,8 +746,6 @@
+ int faad_minor;
+ faacDecHandle dec;
+
+- if(sscanf(FAAD2_VERSION, "%d.%d", &faad_major, &faad_minor) < 2)
+- return -1;
+ dec = faacDecOpen();
+ if(!dec)
+ return -1;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libquicktime.git/commitdiff/a6ef0c277358f4c54d029e2d9b9397c95cc4657c
More information about the pld-cvs-commit
mailing list