packages: vitooki/vitooki.spec, vitooki/gcc.patch (NEW) - fix gcc includes

glen glen at pld-linux.org
Thu Aug 5 15:26:57 CEST 2010


Author: glen                         Date: Thu Aug  5 13:26:57 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix gcc includes

---- Files affected:
packages/vitooki:
   vitooki.spec (1.2 -> 1.3) , gcc.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/vitooki/vitooki.spec
diff -u packages/vitooki/vitooki.spec:1.2 packages/vitooki/vitooki.spec:1.3
--- packages/vitooki/vitooki.spec:1.2	Thu Aug  5 15:26:11 2010
+++ packages/vitooki/vitooki.spec	Thu Aug  5 15:26:51 2010
@@ -11,6 +11,7 @@
 License:	GPL v2
 Group:		Applications
 Source0:	%{name}-20100804.tar.bz2
+Patch0:	gcc.patch
 # Source0-md5:	-
 URL:		http://vitooki.sourceforge.net/
 BuildRequires:	SDL-devel
@@ -36,6 +37,7 @@
 
 %prep
 %setup -q -n %{name}
+%patch0 -p1
 
 sed -i -e '/all4itec:/s/ffmpeg//' Makefile # untouched
 sed -i -e '/all4itec:/s/lame//' Makefile # untouched
@@ -88,6 +90,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/08/05 13:26:51  glen
+- fix gcc includes
+
 Revision 1.2  2010/08/05 13:26:11  glen
 - build local sord (can't find origin)
 - disable system libs build from 3rd party

================================================================
Index: packages/vitooki/gcc.patch
diff -u /dev/null packages/vitooki/gcc.patch:1.1
--- /dev/null	Thu Aug  5 15:26:57 2010
+++ packages/vitooki/gcc.patch	Thu Aug  5 15:26:51 2010
@@ -0,0 +1,40 @@
+--- vitooki/src/ESInfo.hpp~	2006-05-15 13:41:39.000000000 +0300
++++ vitooki/src/ESInfo.hpp	2010-08-05 16:22:27.061490204 +0300
+@@ -57,6 +57,7 @@
+ #ifdef __cplusplus
+ extern "C" {
+ #include "avformat.h"
++#include <string.h>
+ }
+ #endif
+ #endif
+--- vitooki/src/IO.hpp~	2006-03-17 19:14:52.000000000 +0200
++++ vitooki/src/IO.hpp	2010-08-05 16:23:06.220993247 +0300
+@@ -46,6 +46,7 @@
+ 
+ #include "global.hpp"
+ #include <assert.h>
++#include <string.h>
+ #ifdef ISOMP4
+ #include "ISOMovies.h"
+ #endif
+--- vitooki/src/global.hpp~	2006-01-20 17:37:17.000000000 +0200
++++ vitooki/src/global.hpp	2010-08-05 16:23:43.827655498 +0300
+@@ -57,6 +57,7 @@
+ #include <list>
+ #include <map>
+ #include <string>
++#include <string.h>
+ #include "debug.hpp"
+ using namespace std;
+ 
+--- vitooki/src/VThread.hpp~	2005-08-10 10:04:12.000000000 +0300
++++ vitooki/src/VThread.hpp	2010-08-05 16:25:02.835355151 +0300
+@@ -50,6 +50,7 @@
+ 
+ #include "global.hpp"
+ #include <assert.h>
++#include <limits.h>
+ #ifndef WINCE
+ #include <pthread.h>
+ #endif //wince
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vitooki/vitooki.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list