Blame SOURCES/coolkey-gcc43.patch

78b7b2
diff -up ./src/coolkey/slot.cpp.coolkey-gcc43 ./src/coolkey/slot.cpp
78b7b2
--- ./src/coolkey/slot.cpp.coolkey-gcc43	2008-02-13 18:01:45.000000000 -0800
78b7b2
+++ ./src/coolkey/slot.cpp	2008-02-13 18:03:05.000000000 -0800
78b7b2
@@ -25,7 +25,6 @@
78b7b2
 #include "PKCS11Exception.h"
78b7b2
 #include <winscard.h>
78b7b2
 #include "slot.h"
78b7b2
-#include <memory.h>
78b7b2
 #include "zlib.h"
78b7b2
 #include "params.h"
78b7b2
 
78b7b2
@@ -33,7 +32,6 @@
78b7b2
 
78b7b2
 #define MIN(x, y) ((x) < (y) ? (x) : (y))
78b7b2
 
78b7b2
-using std::auto_ptr;
78b7b2
 
78b7b2
 
78b7b2
 #ifdef DEBUG
78b7b2
diff -up ./src/coolkey/machdep.cpp.coolkey-gcc43 ./src/coolkey/machdep.cpp
78b7b2
--- ./src/coolkey/machdep.cpp.coolkey-gcc43	2008-02-13 18:02:06.000000000 -0800
78b7b2
+++ ./src/coolkey/machdep.cpp	2008-02-13 18:04:04.000000000 -0800
78b7b2
@@ -33,6 +33,8 @@
78b7b2
 #include <sys/stat.h>
78b7b2
 #include <sys/mman.h>
78b7b2
 #include <pthread.h>
78b7b2
+#include <string.h>
78b7b2
+#include <stdlib.h>
78b7b2
 #endif
78b7b2
 
78b7b2
 #ifdef _WIN32
78b7b2
diff -up ./src/coolkey/log.cpp.coolkey-gcc43 ./src/coolkey/log.cpp
78b7b2
--- ./src/coolkey/log.cpp.coolkey-gcc43	2008-02-13 18:01:55.000000000 -0800
78b7b2
+++ ./src/coolkey/log.cpp	2008-02-13 18:03:37.000000000 -0800
78b7b2
@@ -18,6 +18,8 @@
78b7b2
  * ***** END COPYRIGHT BLOCK *****/
78b7b2
 
78b7b2
 #include <string>
78b7b2
+#include <string.h>
78b7b2
+#include <stdlib.h>
78b7b2
 #include "mypkcs11.h"
78b7b2
 #include <assert.h>
78b7b2
 #include <stdio.h>
78b7b2
diff -up ./src/coolkey/object.cpp.coolkey-gcc43 ./src/coolkey/object.cpp
78b7b2
--- ./src/coolkey/object.cpp.coolkey-gcc43	2008-02-13 18:02:20.000000000 -0800
78b7b2
+++ ./src/coolkey/object.cpp	2008-02-13 18:04:22.000000000 -0800
78b7b2
@@ -21,6 +21,7 @@
78b7b2
 #include "PKCS11Exception.h"
78b7b2
 #include "object.h"
78b7b2
 #include <algorithm>
78b7b2
+#include <string.h>
78b7b2
 
78b7b2
 using std::find_if;
78b7b2