Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 278216

Summary: media-gfx/yafray-0.9.0-r1: compilation error due to wrong use of strrchr (patch included)
Product: Gentoo Linux Reporter: Some stupid real name <math228a>
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 249226, 270353    
Attachments: patch solving the issue

Description Some stupid real name 2009-07-18 00:17:35 UTC
The developers used char* ext = strrchr(filename, '.') rather than CONST char* ext. Fixed. Please switch to Yafaray instead of Yafray in the portage tree (bug 273738).

Reproducible: Always

Steps to Reproduce:
1. Emerge yafray with GCC 4.4.

Actual Results:  
Compile error.

Expected Results:  
Clean compilation.

GCC 4.4.0-r1, rest unimportant.
Comment 1 Some stupid real name 2009-07-18 00:18:45 UTC
Created attachment 198367 [details, diff]
patch solving the issue
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-01-09 16:35:48 UTC
Yep, that does the trick.

+  09 Jan 2010; Samuli Suominen <ssuominen@gentoo.org>
+  yafray-0.0.9-r1.ebuild, +files/yafray-0.0.9-gcc44.patch:
+  Fix building with GCC 4.4+ wrt #278216.

Since you didn't use realname in bugzilla, I left the credits out...