diff options
Diffstat (limited to 'abs/extra-testing/fam/fam-2.7.0-gcc43.patch')
-rw-r--r-- | abs/extra-testing/fam/fam-2.7.0-gcc43.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/abs/extra-testing/fam/fam-2.7.0-gcc43.patch b/abs/extra-testing/fam/fam-2.7.0-gcc43.patch new file mode 100644 index 0000000..a5ba7f0 --- /dev/null +++ b/abs/extra-testing/fam/fam-2.7.0-gcc43.patch @@ -0,0 +1,46 @@ +diff -Naur fam-2.7.0-old/include/BTree.h fam-2.7.0/include/BTree.h +--- fam-2.7.0-old/include/BTree.h 2003-01-20 14:22:30.000000000 +1000 ++++ fam-2.7.0/include/BTree.h 2008-10-18 10:43:11.000000000 +1000 +@@ -23,6 +23,8 @@ + #ifndef BTree_included + #define BTree_included + ++#include <cstdlib> ++ + #include "Boolean.h" + + // This is an in-core B-Tree implementation. +diff -Naur fam-2.7.0-old/src/DNotify.c++ fam-2.7.0/src/DNotify.c++ +--- fam-2.7.0-old/src/DNotify.c++ 2008-10-18 10:33:13.000000000 +1000 ++++ fam-2.7.0/src/DNotify.c++ 2008-10-18 10:41:22.000000000 +1000 +@@ -31,6 +31,7 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <libgen.h> ++#include <cstdlib> + + #include "DNotify.h" + +diff -Naur fam-2.7.0-old/src/IMon.c++ fam-2.7.0/src/IMon.c++ +--- fam-2.7.0-old/src/IMon.c++ 2003-01-19 00:18:12.000000000 +1000 ++++ fam-2.7.0/src/IMon.c++ 2008-10-18 10:40:21.000000000 +1000 +@@ -40,7 +40,7 @@ + #include "Interest.h" + #include "Log.h" + #include "Scheduler.h" +-#include "alloc.h" ++#include <memory> + + int IMon::imonfd = -2; + IMon::EventHandler IMon::ehandler = NULL; +diff -Naur fam-2.7.0-old/src/Interest.h fam-2.7.0/src/Interest.h +--- fam-2.7.0-old/src/Interest.h 2008-10-18 10:33:13.000000000 +1000 ++++ fam-2.7.0/src/Interest.h 2008-10-18 10:40:44.000000000 +1000 +@@ -23,6 +23,7 @@ + #ifndef Interest_included + #define Interest_included + ++#include <cstdlib> + #include <sys/stat.h> + #include <sys/types.h> + #include <sys/time.h> |