rpms/dvbcut/F-17 dvbcut-gcc47.patch,NONE,1.1 dvbcut.spec,1.15,1.16

Nicolas Chauvet kwizart at rpmfusion.org
Wed May 23 21:57:02 CEST 2012


Author: kwizart

Update of /cvs/free/rpms/dvbcut/F-17
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv4878/F-17

Modified Files:
	dvbcut.spec 
Added Files:
	dvbcut-gcc47.patch 
Log Message:
Fix build


dvbcut-gcc47.patch:
 main.cpp |    1 +
 1 file changed, 1 insertion(+)

--- NEW FILE dvbcut-gcc47.patch ---
diff -up dvbcut-svn178/src/main.cpp.gcc47 dvbcut-svn178/src/main.cpp
--- dvbcut-svn178/src/main.cpp.gcc47	2011-09-05 12:13:54.000000000 +0200
+++ dvbcut-svn178/src/main.cpp	2012-05-23 21:53:17.593497328 +0200
@@ -25,6 +25,7 @@
 #include <clocale>
 #include <string>
 #include <list>
+#include <unistd.h>
 
 #ifdef HAVE_LIB_AO
 #include <ao/ao.h>


Index: dvbcut.spec
===================================================================
RCS file: /cvs/free/rpms/dvbcut/F-17/dvbcut.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- dvbcut.spec	28 Feb 2012 11:37:09 -0000	1.15
+++ dvbcut.spec	23 May 2012 19:57:02 -0000	1.16
@@ -7,7 +7,7 @@
 
 Name:    dvbcut
 Version: 0.6.1
-Release: 4.svn%{svnrev}%{?dist}
+Release: 5.svn%{svnrev}%{?dist}
 Summary: Clip and convert DVB transport streams to MPEG2 program streams
 
 Group:   Applications/Multimedia
@@ -29,6 +29,7 @@
 Patch2:  %{name}-svn176-fix-help-install-path.patch
 Patch3:  %{name}-svn176-desktop-additions.patch
 Patch4:  %{name}-ffmpeg-0.8.2.patch
+Patch5:  dvbcut-gcc47.patch
 
 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 BuildRequires: autoconf
@@ -64,6 +65,7 @@
 %patch2 -b .fix-help-install
 %patch3 -b .desktop-improvements
 %patch4 -b .ffmpeg
+%patch5 -b .gcc47
 
 # Fix QTDIR libs in configure
 sed -i 's,$QTDIR/$mr_libdirname,$QTDIR/lib,' configure.in
@@ -135,6 +137,9 @@
 
 
 %changelog
+* Wed May 23 2012 Nicolas Chauvet <kwizart at gmail.com> - 0.6.1-5.svn178
+- Fix FTBFS with gcc47
+
 * Tue Feb 28 2012 Nicolas Chauvet <kwizart at gmail.com> - 0.6.1-4.svn178
 - Rebuilt for x264/FFmpeg
 


More information about the rpmfusion-commits mailing list