Author: laxathom
Update of /cvs/free/rpms/streamdvd/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv31280/F-9
Modified Files:
streamdvd.spec
Added Files:
streamdvd-gcc43.patch
Log Message:
Fix build against GCC-4.3
streamdvd-gcc43.patch:
--- NEW FILE streamdvd-gcc43.patch ---
diff -aur StreamDVD-0.4/mplex/inputstrm.cpp.old StreamDVD-0.4/mplex/inputstrm.cpp
--- StreamDVD-0.4/mplex/inputstrm.cpp.old 2004-03-08 23:10:53.000000000 +0100
+++ StreamDVD-0.4/mplex/inputstrm.cpp 2008-07-07 23:28:19.000000000 +0200
@@ -23,6 +23,7 @@
#include "config.h"
#include <assert.h>
+#include <climits>
#include "mjpeg_types.h"
#include "fastintfns.h"
diff -aur StreamDVD-0.4/mplex/multiplexor.cpp.old StreamDVD-0.4/mplex/multiplexor.cpp
--- StreamDVD-0.4/mplex/multiplexor.cpp.old 2004-03-08 23:10:53.000000000 +0100
+++ StreamDVD-0.4/mplex/multiplexor.cpp 2008-07-07 23:28:19.000000000 +0200
@@ -22,6 +22,7 @@
#include "config.h"
#include <math.h>
#include <stdlib.h>
+#include <cstring>
#include "mjpeg_types.h"
#include "mjpeg_logging.h"
diff -aur StreamDVD-0.4/mplex/padstrm.cpp.old StreamDVD-0.4/mplex/padstrm.cpp
--- StreamDVD-0.4/mplex/padstrm.cpp.old 2004-03-08 23:10:53.000000000 +0100
+++ StreamDVD-0.4/mplex/padstrm.cpp 2008-07-07 23:28:19.000000000 +0200
@@ -25,6 +25,7 @@
#endif
#include "padstrm.hpp"
+#include <cstring>
diff -aur StreamDVD-0.4/mplex/zalphastrm_in.cpp.old StreamDVD-0.4/mplex/zalphastrm_in.cpp
--- StreamDVD-0.4/mplex/zalphastrm_in.cpp.old 2004-03-08 23:10:53.000000000 +0100
+++ StreamDVD-0.4/mplex/zalphastrm_in.cpp 2008-07-07 23:28:19.000000000 +0200
@@ -23,6 +23,7 @@
#include "config.h"
#include <math.h>
#include <stdlib.h>
+#include <cstring>
#include "zalphastrm.hpp"
#include "interact.hpp"
Index: streamdvd.spec
===================================================================
RCS file: /cvs/free/rpms/streamdvd/F-9/streamdvd.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- streamdvd.spec 14 Sep 2008 21:35:53 -0000 1.1
+++ streamdvd.spec 7 Oct 2008 21:58:27 -0000 1.2
@@ -1,7 +1,7 @@
%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl}
-V:installvendorarch`"; echo $installvendorarch)}
Name: streamdvd
Version: 0.4
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: A fast tool to backup Video DVDs
Group: Applications/Multimedia
@@ -13,6 +13,7 @@
Patch2: streamdvd-lsdvd.patch
Patch3: streamdvd-gui.patch
Patch4: streamdvd-gcc41.patch
+Patch5: streamdvd-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libdvdread-devel >= 0.9.2
@@ -56,6 +57,7 @@
%patch2
%patch3
%patch4 -p1
+%patch5 -p1
%{__perl} -pi -e 's/(Tk::JPEG)::Lite/$1/' \
%{_builddir}/StreamDVD-%{version}/Gui/StreamDVD/Gui.pm
@@ -103,6 +105,9 @@
%{perl_vendorarch}/StreamDVD
%changelog
+* Tue Oct 07 2008 Xavier Lamien <lxtnow[at]gmail.com> - 0.4-8
+- Fix build against gcc-4.3.
+
* Sat Aug 09 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.4-7
- rebuild for RPM Fusion