[packages/ffmpegthumbnailer] - rel 5; build fixed

arekm arekm at pld-linux.org
Thu Nov 7 22:30:04 CET 2013


commit 45fb1878963041d59d4f4cd37fbf827422bf4526
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 7 22:30:02 2013 +0100

    - rel 5; build fixed

 ffmpegthumbnailer-build.patch | 10 ++++++++++
 ffmpegthumbnailer.spec        |  4 +++-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/ffmpegthumbnailer.spec b/ffmpegthumbnailer.spec
index 68a7881..0750a32 100644
--- a/ffmpegthumbnailer.spec
+++ b/ffmpegthumbnailer.spec
@@ -2,11 +2,12 @@ Summary:	Lightweight video thumbnailer
 Summary(pl.UTF-8):	Lekki program do wykonywania miniaturek dla filmów
 Name:		ffmpegthumbnailer
 Version:	2.0.8
-Release:	4
+Release:	5
 License:	GPL v2
 Group:		Applications/Graphics
 Source0:	http://ffmpegthumbnailer.googlecode.com/files/%{name}-%{version}.tar.gz
 # Source0-md5:	03e081f89778cd5e4fce30b29a4630e1
+Patch0:		%{name}-build.patch
 URL:		http://code.google.com/p/ffmpegthumbnailer/
 BuildRequires:	autoconf >= 2.62
 BuildRequires:	automake >= 1:1.11
@@ -61,6 +62,7 @@ Statyczna biblioteka libffmpegthumbnailer.
 
 %prep
 %setup -q
+%patch0 -p1
 
 # use runtime library paths for dlopen
 %{__sed} -i -e '
diff --git a/ffmpegthumbnailer-build.patch b/ffmpegthumbnailer-build.patch
new file mode 100644
index 0000000..91da56f
--- /dev/null
+++ b/ffmpegthumbnailer-build.patch
@@ -0,0 +1,10 @@
+--- ffmpegthumbnailer-2.0.8/libffmpegthumbnailer/pngwriter.cpp~	2012-08-25 14:07:44.000000000 +0200
++++ ffmpegthumbnailer-2.0.8/libffmpegthumbnailer/pngwriter.cpp	2013-11-07 22:28:14.557258535 +0100
+@@ -17,6 +17,7 @@
+ #include "pngwriter.h"
+ #include <stdexcept>
+ #include <cassert>
++#include <string.h>
+ 
+ using namespace std;
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ffmpegthumbnailer.git/commitdiff/45fb1878963041d59d4f4cd37fbf827422bf4526



More information about the pld-cvs-commit mailing list