dev-db/firebird: Bump and add icu and gcc 4.4 patch
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1451 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
27
dev-db/firebird/files/firebird-gcc-icu-declare-new.patch
Normal file
27
dev-db/firebird/files/firebird-gcc-icu-declare-new.patch
Normal file
@@ -0,0 +1,27 @@
|
||||
--- src/common/classes/alloc.h.old 2009-07-09 13:04:14.000000000 +0200
|
||||
+++ src/common/classes/alloc.h 2009-07-09 13:05:37.000000000 +0200
|
||||
@@ -48,6 +48,8 @@
|
||||
stdlib.h (EKU) */
|
||||
#endif
|
||||
|
||||
+#include <new>
|
||||
+
|
||||
#ifdef _MSC_VER
|
||||
#define THROW_BAD_ALLOC
|
||||
#else
|
||||
@@ -448,15 +450,6 @@
|
||||
);
|
||||
}
|
||||
|
||||
-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);
|
||||
Reference in New Issue
Block a user