File squid-beta-3.0-strchr.patch of Package squid-beta
--- src/logfile.cc
+++ src/logfile.cc
@@ -100,7 +100,7 @@
if (path[6] != '\0') {
path += 7;
- char* delim = strchr(path, '|');
+ char* delim = (char*)strchr(path, '|');
if (delim != NULL)
*delim = '\0';