File squid-beta-3.0.pre4-gcc41_wur.patch of Package squid-beta

--- squid-3.0.PRE4/src/StoreIOBuffer.h.orig	2005-11-22 00:14:22.000000000 +0100
+++ squid-3.0.PRE4/src/StoreIOBuffer.h	2006-06-21 14:36:08.000000000 +0200
@@ -68,8 +68,9 @@
 
     void dump() const
     {
-        fwrite(data, length, 1, stderr);
-        fwrite("\n", 1, 1, stderr);
+	int t;
+        t=fwrite(data, length, 1, stderr);
+        t=fwrite("\n", 1, 1, stderr);
     }
 
     struct
--- squid-3.0.PRE4/lib/util.c.orig	2005-07-03 17:25:07.000000000 +0200
+++ squid-3.0.PRE4/lib/util.c	2006-06-21 14:36:08.000000000 +0200
@@ -770,8 +770,9 @@
 void
 default_failure_notify(const char *message)
 {
-    write(2, message, strlen(message));
-    write(2, "\n", 1);
+    int t;
+    t=write(2, message, strlen(message));
+    t=write(2, "\n", 1);
     abort();
 }
 
--- squid-3.0.PRE4/src/comm.cc.orig	2006-05-30 23:15:58.000000000 +0200
+++ squid-3.0.PRE4/src/comm.cc	2006-06-21 14:36:16.000000000 +0200
@@ -2344,7 +2344,8 @@
 void CommIO::Initialise() {
     /* Initialize done pipe signal */
     int DonePipe[2];
-    pipe(DonePipe);
+    int t;
+    t=pipe(DonePipe);
     DoneFD = DonePipe[1];
     DoneReadFD = DonePipe[0];
     fd_open(DoneReadFD, FD_PIPE, "async-io completetion event: main");
--- squid-3.0.PRE4/src/tools.cc.orig	2006-05-09 01:38:33.000000000 +0200
+++ squid-3.0.PRE4/src/tools.cc	2006-06-21 14:36:16.000000000 +0200
@@ -140,7 +140,8 @@
 
     snprintf(command, 256, "%s %s < %s", Config.EmailProgram, Config.adminEmail, filename);
 
-    system(command);		/* XXX should avoid system(3) */
+    int t;
+    t = system(command);		/* XXX should avoid system(3) */
 
     unlink(filename);
 }