diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-11-20 12:55:41 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-11-20 12:55:41 +0000 |
commit | 19977704ff2106ed1bc62f38e5cb6bbfb581273f (patch) | |
tree | 182dd2d25038a5fee8327c5cbb05bd0306f77998 /misc/kcd/files | |
parent | upgrade to 2.6.6 (diff) |
upgrade to 6.4.1
PR: 45441
Submitted by: Ports Fury
Diffstat (limited to 'misc/kcd/files')
-rw-r--r-- | misc/kcd/files/patch-cxxlib.cc | 18 | ||||
-rw-r--r-- | misc/kcd/files/patch-cxxlib.h | 17 |
2 files changed, 35 insertions, 0 deletions
diff --git a/misc/kcd/files/patch-cxxlib.cc b/misc/kcd/files/patch-cxxlib.cc new file mode 100644 index 000000000000..3388c062954a --- /dev/null +++ b/misc/kcd/files/patch-cxxlib.cc @@ -0,0 +1,18 @@ +--- cxxlib.cc.orig Sun Nov 3 23:49:03 2002 ++++ cxxlib.cc Wed Nov 6 09:42:38 2002 +@@ -48,6 +48,7 @@ + abort(); + } + ++#ifndef __FreeBSD__ + void *operator new (size_t size) CXX__NEW_THROW + { + #ifdef LARGE_MEMORY_THRES +@@ -101,6 +102,7 @@ + } + + #endif /* CXX__HAVE_ARRAY_NEW */ ++#endif + + #ifndef CXX__NEW_THROW_BAD_ALLOC + void kcd_new_handler() diff --git a/misc/kcd/files/patch-cxxlib.h b/misc/kcd/files/patch-cxxlib.h new file mode 100644 index 000000000000..66512291d73b --- /dev/null +++ b/misc/kcd/files/patch-cxxlib.h @@ -0,0 +1,17 @@ +--- cxxlib.h.orig Sun Nov 3 23:49:03 2002 ++++ cxxlib.h Wed Nov 6 09:41:36 2002 +@@ -33,12 +33,14 @@ + // new/delete operators + // + ++#ifndef __FreeBSD__ + void *operator new (size_t s) CXX__NEW_THROW; + void operator delete (void *p) CXX__DELETE_THROW; + #ifdef CXX__HAVE_ARRAY_NEW + void *operator new[] (size_t s) CXX__NEW_THROW; + void operator delete[] (void *p) CXX__DELETE_THROW; + #endif /* CXX__HAVE_ARRAY_NEW */ ++#endif + + // + // string I/O stream |