aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/jx
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-09-20 17:20:13 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-09-20 17:20:13 +0000
commite4bd2f66f1434856a1089ce9192778ab0d278a3b (patch)
tree448df4669628badc3c3551acb876e597f86e957a /x11-toolkits/jx
parentc4750e96a1cef95e9778093b816cbb44db11468e (diff)
downloadports-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.h28
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);
+