- patch to fix gcc 4.4.0 and icu 4.2 build error (from Fedora)
authorvip <vip@pld-linux.org>
Sun, 27 Sep 2009 18:34:13 +0000 (18:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Firebird-gcc-icu.patch -> 1.1

Firebird-gcc-icu.patch [new file with mode: 0644]

diff --git a/Firebird-gcc-icu.patch b/Firebird-gcc-icu.patch
new file mode 100644 (file)
index 0000000..09327d8
--- /dev/null
@@ -0,0 +1,32 @@
+# Author: Adriano dos Santos Fernandes
+#Index: src/common/classes/alloc.h
+#===================================================================
+#RCS file: /cvsroot/firebird/firebird2/src/common/classes/alloc.h,v
+#retrieving revision 1.71
+diff -u -p -r1.71 alloc.h
+--- src/common/classes/alloc.h 26 Sep 2007 17:48:20 -0000      1.71
++++ src/common/classes/alloc.h 20 May 2009 02:20:08 -0000
+@@ -47,6 +47,7 @@
+ #include <stdlib.h> /* XPG: prototypes for malloc/free have to be in
+                                          stdlib.h (EKU) */
+ #endif
++#include <new>
+ #ifdef _MSC_VER
+ #define THROW_BAD_ALLOC
+@@ -448,15 +449,6 @@ inline void* operator new[](size_t s) TH
+       );
+ }
+-inline void* operator new(size_t, void* ptr) throw() 
+-{
+-      return ptr;
+-}
+-inline void* operator new[](size_t, void* ptr) throw() 
+-{
+-      return ptr;
+-}
+-
+ inline void operator delete(void* mem) throw()
+ {
+       Firebird::MemoryPool::globalFree(mem);
This page took 0.036236 seconds and 4 git commands to generate.