File fam-gcc44.diff of Package fam
Index: fam-2.7.0/src/NFSFileSystem.c++
===================================================================
--- fam-2.7.0.orig/src/NFSFileSystem.c++
+++ fam-2.7.0/src/NFSFileSystem.c++
@@ -97,7 +97,7 @@ NFSFileSystem::NFSFileSystem(const mnten
attr_cache_timeout = ACREGMAX;
- char * p;
+ const char * p;
if (strstr(opt, "noac")) {
f_noac = true;
Index: fam-2.7.0/src/Interest.h
===================================================================
--- fam-2.7.0.orig/src/Interest.h
+++ fam-2.7.0/src/Interest.h
@@ -26,6 +26,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/time.h>
+#include <stdlib.h>
#include <netinet/in.h> // for in_addr
#include "Boolean.h"