packages: Firebird/Firebird-gcc-icu.patch (NEW) - patch to fix gcc 4.4.0 a...
vip
vip at pld-linux.org
Sun Sep 27 20:34:18 CEST 2009
Author: vip Date: Sun Sep 27 18:34:18 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- patch to fix gcc 4.4.0 and icu 4.2 build error (from Fedora)
---- Files affected:
packages/Firebird:
Firebird-gcc-icu.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/Firebird/Firebird-gcc-icu.patch
diff -u /dev/null packages/Firebird/Firebird-gcc-icu.patch:1.1
--- /dev/null Sun Sep 27 20:34:18 2009
+++ packages/Firebird/Firebird-gcc-icu.patch Sun Sep 27 20:34:13 2009
@@ -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);
================================================================
More information about the pld-cvs-commit
mailing list