rpms/yafray/devel yafray-0.0.9-gcc43.patch, NONE, 1.1 yafray.spec, 1.4, 1.5
Chauvet (kwizart)
fedora-extras-commits at redhat.com
Fri Jan 4 19:32:12 UTC 2008
- Previous message (by thread): rpms/python-ZSI/F-8 python-ZSI.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/NetworkManager-vpnc/devel NetworkManager-vpnc.spec, 1.31, 1.32 sources, 1.15, 1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: kwizart
Update of /cvs/pkgs/rpms/yafray/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27946
Modified Files:
yafray.spec
Added Files:
yafray-0.0.9-gcc43.patch
Log Message:
Fix gcc43
yafray-0.0.9-gcc43.patch:
--- NEW FILE yafray-0.0.9-gcc43.patch ---
--- src/loader/mlex.cc
+++ src/loader/mlex.cc
@@ -31,6 +31,8 @@
#define WARNING cerr<<"[Warning]: "
#define ERROR cerr<<"[Error]: "
+#include <cstring>
+
char sops[]={
'<',
'>',
--- src/shaders/basictex.cc
+++ src/shaders/basictex.cc
@@ -31,6 +31,8 @@
#include "EXR_io.h"
#endif
+#include <cstring>
+
using namespace std;
__BEGIN_YAFRAY
--- src/yafraycore/HDR_io.cc
+++ src/yafraycore/HDR_io.cc
@@ -9,6 +9,8 @@
#include<config.h>
#endif
+#include <cstring>
+
__BEGIN_YAFRAY
//---------------------------------------------------------------------------
--- src/yafraycore/buffer.h
+++ src/yafraycore/buffer.h
@@ -31,6 +31,8 @@
#include <iostream>
#include "color.h"
+#include <cstdlib>
+
__BEGIN_YAFRAY
template<typename T1, unsigned char T2>
--- src/yafraycore/ccthreads.cc
+++ src/yafraycore/ccthreads.cc
@@ -1,6 +1,8 @@
#include"ccthreads.h"
#include<iostream>
+#include <cstdlib>
+
using namespace std;
namespace yafthreads {
--- src/yafraycore/geometree.h
+++ src/yafraycore/geometree.h
@@ -1,6 +1,8 @@
#ifndef __GEOMETREE_H
#define __GEOMETREE_H
+#include <limits>
+
#include"bound.h"
__BEGIN_YAFRAY
--- src/yafraycore/renderblock.cc
+++ src/yafraycore/renderblock.cc
@@ -1,6 +1,8 @@
#include "renderblock.h"
+#include <cstdlib>
+
using namespace std;
__BEGIN_YAFRAY
--- src/yafraycore/kdtree.cc
+++ src/yafraycore/kdtree.cc
@@ -4,6 +4,7 @@
#include <math.h>
#include <limits>
#include <time.h>
+#include <cstring>
__BEGIN_YAFRAY
--- src/yafraycore/targaIO.cc
+++ src/yafraycore/targaIO.cc
@@ -3,6 +3,7 @@
//--------------------------------------------------------------------------------
#include "targaIO.h"
#include "vector3d.h"
+#include <cstring>
//--------------------------------------------------------------------------------
// Save uncompressed 24 bit targa
Index: yafray.spec
===================================================================
RCS file: /cvs/pkgs/rpms/yafray/devel/yafray.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- yafray.spec 24 Nov 2007 22:30:08 -0000 1.4
+++ yafray.spec 4 Jan 2008 19:31:36 -0000 1.5
@@ -1,12 +1,13 @@
Name: yafray
Version: 0.0.9
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Yet Another Free RAYtracer
Group: Applications/Multimedia
License: LGPLv2+
URL: http://www.yafray.org
Source: http://www.yafray.org/sec/2/downloads/yafray-%{version}.tar.gz
+Patch0: yafray-0.0.9-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: zlib-devel
BuildRequires: libjpeg-devel
@@ -24,6 +25,7 @@
%prep
%setup -q -n %{name}
+%patch0 -p0 -b .gcc43
#sed -i "s|/usr/local|%{_prefix}|" linux-settings.py
sed -i "s|flags='|flags='$RPM_OPT_FLAGS |" linux-settings.py
sed -i "s|/lib|/%{_lib}|" linux-settings.py
@@ -68,6 +70,9 @@
%changelog
+* Fri Jan 4 2008 kwizart < kwizart at gmail.com > - 0.0.9-6
+- Fix gcc43
+
* Mon Oct 15 2007 kwizart < kwizart at gmail.com > - 0.0.9-5
- Fix: yafray libs are dlopened
- Previous message (by thread): rpms/python-ZSI/F-8 python-ZSI.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/NetworkManager-vpnc/devel NetworkManager-vpnc.spec, 1.31, 1.32 sources, 1.15, 1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list