]> git.pld-linux.org Git - packages/libextractor.git/commitdiff
- fix build with ffmpeg2 auto/th/libextractor-1.1-1
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 29 Aug 2013 07:55:48 +0000 (09:55 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 29 Aug 2013 07:55:48 +0000 (09:55 +0200)
libextractor-ffmpeg2.patch [new file with mode: 0644]
libextractor.spec

diff --git a/libextractor-ffmpeg2.patch b/libextractor-ffmpeg2.patch
new file mode 100644 (file)
index 0000000..9a881b1
--- /dev/null
@@ -0,0 +1,20 @@
+--- src/plugins/thumbnailffmpeg_extractor.c.ffmpeg     2013-03-23 18:18:55.532362683 -0300
++++ src/plugins/thumbnailffmpeg_extractor.c    2013-03-23 18:23:16.420980021 -0300
+@@ -325,7 +325,7 @@ calculate_thumbnail_dimensions (int src_
+  * @param ec extraction context to use
+  */
+ static void
+-extract_image (enum CodecID image_codec_id,
++extract_image (enum AVCodecID image_codec_id,
+                struct EXTRACTOR_ExtractContext *ec)
+ {
+   AVDictionary *opts;
+@@ -618,7 +618,7 @@ struct MIMEToDecoderMapping
+   /**
+    * Corresponding ffmpeg decoder ID.
+    */
+-  enum CodecID codec_id;
++  enum AVCodecID codec_id;
+ };
index 9c9eea78aab8b69632c863e7ce1420871584f4c8..79ee912b4c99a2789c7db9a620d501845d3814fa 100644 (file)
@@ -18,6 +18,7 @@ Source0:      http://ftp.gnu.org/gnu/libextractor/%{name}-%{version}.tar.gz
 # Source0-md5: 4a1496af12bf545582c0e9444429220d
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-rpm5.patch
+Patch2:                %{name}-ffmpeg2.patch
 URL:           http://gnunet.org/libextractor/
 BuildRequires: autoconf >= 2.61
 BuildRequires: automake >= 1:1.11
@@ -159,6 +160,7 @@ Statyczna wersja bibliotek libextractor.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p0
 
 %{__rm} po/stamp-po
 %{__sed} -i -e 's,tidy/\(tidy\|buffio\)\.h,\1.h,' configure.ac src/plugins/html_extractor.c
This page took 0.03413 seconds and 4 git commands to generate.