diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-09-20 17:20:13 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-09-20 17:20:13 +0000 |
commit | e4bd2f66f1434856a1089ce9192778ab0d278a3b (patch) | |
tree | 448df4669628badc3c3551acb876e597f86e957a /x11-toolkits/jx | |
parent | c4750e96a1cef95e9778093b816cbb44db11468e (diff) | |
download | ports-e4bd2f66f1434856a1089ce9192778ab0d278a3b.tar.gz ports-e4bd2f66f1434856a1089ce9192778ab0d278a3b.zip |
Fix build in -STABLE and -CURRENT
Prompted by: bento
Notes
Notes:
svn path=/head/; revision=66864
Diffstat (limited to 'x11-toolkits/jx')
-rw-r--r-- | x11-toolkits/jx/files/patch-libjcore::code::jNew.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/x11-toolkits/jx/files/patch-libjcore::code::jNew.h b/x11-toolkits/jx/files/patch-libjcore::code::jNew.h new file mode 100644 index 000000000000..de3e1ac85681 --- /dev/null +++ b/x11-toolkits/jx/files/patch-libjcore::code::jNew.h @@ -0,0 +1,28 @@ +--- libjcore/code/jNew.h.orig Fri Sep 20 13:49:44 2002 ++++ libjcore/code/jNew.h Fri Sep 20 13:50:41 2002 +@@ -26,7 +26,7 @@ + #ifdef __KCC + void* operator new(size_t size) MSIPL_THROW_STR(std::bad_alloc); + #else +- void* operator new(size_t size); ++ // void* operator new(size_t size); + #endif + + void* operator new(size_t size, const JCharacter* file, const JUInt32 line); +@@ -34,13 +34,13 @@ + #ifdef __KCC + void* operator new[](size_t size) MSIPL_THROW_STR(std::bad_alloc); + #else +- void* operator new[](size_t size); ++ //void* operator new[](size_t size); + #endif + + void* operator new[](size_t size, const JCharacter* file, const JUInt32 line); + +- void operator delete(void* memory); +- void operator delete[](void* memory); ++ //void operator delete(void* memory); ++ //void operator delete[](void* memory); + + void LocateDelete(const JCharacter* file, const JUInt32 line); + |