File surf-constchar.patch of Package surf
--- surf/surf/image-formats/ByExtension.cc
+++ surf/surf/image-formats/ByExtension.cc
@@ -88,7 +88,7 @@
}
// just look for "*.extension"
- char* ext = strrchr(filename, '.');
+ const char* ext = strrchr(filename, '.');
if (ext == 0) {
return 0;
}