File yafray-0.0.9-const-char.patch of Package yafray

--- src/shaders/basictex.cc
+++ src/shaders/basictex.cc
@@ -261,7 +261,7 @@
 		intp_type = BICUBIC;
 	
 	// Load image, try to determine from extensions first
-	char *ext = strrchr(filename, '.');
+	const char *ext = strrchr(filename, '.');
 	bool jpg_tried = false;
 	bool tga_tried = false;
 	bool hdr_tried = false;