rpms/ffmpegthumbnailer/devel ffmpegthumbnailer-2.0.8-memcpy.patch, NONE, 1.1 ffmpegthumbnailer.spec, 1.19, 1.20

Leigh Scott leigh123linux at rpmfusion.org
Wed Nov 27 12:35:48 CET 2013


Author: leigh123linux

Update of /cvs/free/rpms/ffmpegthumbnailer/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv12902

Modified Files:
	ffmpegthumbnailer.spec 
Added Files:
	ffmpegthumbnailer-2.0.8-memcpy.patch 
Log Message:
* Wed Nov 27 2013 Leigh Scott <leigh123linux at googlemail.com> - 2.0.8-7
- fix compile error


ffmpegthumbnailer-2.0.8-memcpy.patch:
 pngwriter.cpp |    1 +
 1 file changed, 1 insertion(+)

--- NEW FILE ffmpegthumbnailer-2.0.8-memcpy.patch ---
libffmpegthumbnailer/pngwriter.cpp: In function 'void ffmpegthumbnailer::writeDataCallback(png_structp, png_bytep, png_size_t)':
libffmpegthumbnailer/pngwriter.cpp:111:52: error: 'memcpy' was not declared in this scope

--- a/libffmpegthumbnailer/pngwriter.cpp
+++ b/libffmpegthumbnailer/pngwriter.cpp
@@ -17,6 +17,7 @@
 #include "pngwriter.h"
 #include <stdexcept>
 #include <cassert>
+#include <cstring>
 
 using namespace std;
 


Index: ffmpegthumbnailer.spec
===================================================================
RCS file: /cvs/free/rpms/ffmpegthumbnailer/devel/ffmpegthumbnailer.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- ffmpegthumbnailer.spec	2 Oct 2013 08:13:49 -0000	1.19
+++ ffmpegthumbnailer.spec	27 Nov 2013 11:35:47 -0000	1.20
@@ -1,6 +1,6 @@
 Name:           ffmpegthumbnailer
 Version:        2.0.8
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Lightweight video thumbnailer that can be used by file managers
 
 Group:          Applications/Multimedia
@@ -8,6 +8,7 @@
 URL:            http://code.google.com/p/ffmpegthumbnailer/
 Source0:        http://ffmpegthumbnailer.googlecode.com/files/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0:         ffmpegthumbnailer-2.0.8-memcpy.patch
 
 BuildRequires:  ffmpeg-devel, libpng-devel, libjpeg-devel
 BuildRequires:  chrpath, automake, autoconf
@@ -27,6 +28,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .ffmpegthumbnailer-2.0.8-memcpy
 chmod -x README INSTALL COPYING AUTHORS
 
 %build
@@ -69,6 +71,9 @@
 
 
 %changelog
+* Wed Nov 27 2013 Leigh Scott <leigh123linux at googlemail.com> - 2.0.8-7
+- fix compile error
+
 * Wed Oct 02 2013 Nicolas Chauvet <kwizart at gmail.com> - 2.0.8-6
 - Rebuilt
 


More information about the rpmfusion-commits mailing list