rpms/mlt/devel mlt-gcc47_1.patch,NONE,1.1 mlt.spec,1.18,1.19

Ryan Rix rrix at rpmfusion.org
Fri Jan 27 22:23:48 CET 2012


Author: rrix

Update of /cvs/free/rpms/mlt/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv13054

Modified Files:
	mlt.spec 
Added Files:
	mlt-gcc47_1.patch 
Log Message:
* Fri Jan 27 2012 Ryan Rix <ry at n.rix.si> 0.7.6-5
- Include patch to fix building on gcc47 (upstreaming)


mlt-gcc47_1.patch:
 qimage_wrapper.cpp |    1 +
 1 file changed, 1 insertion(+)

--- NEW FILE mlt-gcc47_1.patch ---
diff --git a/src/modules/qimage/qimage_wrapper.cpp b/src/modules/qimage/qimage_wrapper.cpp
index abcef45..d7b2903 100644
--- a/src/modules/qimage/qimage_wrapper.cpp
+++ b/src/modules/qimage/qimage_wrapper.cpp
@@ -48,6 +48,7 @@
 #endif
 
 #include <cmath>
+#include <unistd.h>
 
 extern "C" {
 


Index: mlt.spec
===================================================================
RCS file: /cvs/free/rpms/mlt/devel/mlt.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- mlt.spec	25 Jan 2012 14:52:08 -0000	1.18
+++ mlt.spec	27 Jan 2012 21:23:48 -0000	1.19
@@ -9,12 +9,13 @@
 Summary:        Toolkit for broadcasters, video editors, media players, transcoders
 Name:           mlt
 Version:        0.7.6
-Release:        4%{?dist}
+Release:        5%{?dist}
 
 License:        GPLv2+ and LGPLv2+
 URL:            http://www.mltframework.org/twiki/bin/view/MLT/
 Group:          System Environment/Libraries
 Source:         http://downloads.sourceforge.net/mlt/%{name}-%{version}.tar.gz
+Patch0:         mlt-gcc47_1.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  frei0r-devel
@@ -85,6 +86,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 find ./ -name configure -exec chmod 755 {} \;
 chmod 755 src/modules/lumas/create_lumas
 chmod 644 src/modules/qimage/kdenlivetitle_wrapper.cpp
@@ -183,6 +185,9 @@
 
 
 %changelog
+* Fri Jan 27 2012 Ryan Rix <ry at n.rix.si> 0.7.6-5
+- Include patch to fix building on gcc47 (upstreaming)
+
 * Wed Jan 25 2012 Nicolas Chauvet <kwizart at gmail.com> - 0.7.6-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 



More information about the rpmfusion-commits mailing list