/[gentoo-x86]/media-gfx/yafray/files/yafray-0.0.9-gcc44.patch
Gentoo

Contents of /media-gfx/yafray/files/yafray-0.0.9-gcc44.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jan 9 16:35:31 2010 UTC (4 years, 7 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Fix building with GCC 4.4+ wrt #278216.
(Portage version: 2.2_rc61/cvs/Linux x86_64)

1 diff -ur yafray.orig/src/shaders/basictex.cc yafray/src/shaders/basictex.cc
2 --- yafray.orig/src/shaders/basictex.cc 2006-06-10 03:41:26.000000000 +0300
3 +++ yafray/src/shaders/basictex.cc 2010-01-09 18:36:28.000000000 +0200
4 @@ -259,7 +259,7 @@
5 intp_type = BICUBIC;
6
7 // Load image, try to determine from extensions first
8 - char *ext = strrchr(filename, '.');
9 + const char *ext = strrchr(filename, '.');
10 bool jpg_tried = false;
11 bool tga_tried = false;
12 bool hdr_tried = false;

  ViewVC Help
Powered by ViewVC 1.1.20