summaryrefslogtreecommitdiff
path: root/textproc/jade/files
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/jade/files')
-rw-r--r--textproc/jade/files/patch-Ptr.cxx11
-rw-r--r--textproc/jade/files/patch-Ptr.h10
2 files changed, 21 insertions, 0 deletions
diff --git a/textproc/jade/files/patch-Ptr.cxx b/textproc/jade/files/patch-Ptr.cxx
new file mode 100644
index 000000000000..edf79eeaf217
--- /dev/null
+++ b/textproc/jade/files/patch-Ptr.cxx
@@ -0,0 +1,11 @@
+--- include/Ptr.cxx.orig Tue Jul 22 09:20:15 2003
++++ include/Ptr.cxx Tue Jul 22 09:20:42 2003
+@@ -19,7 +19,7 @@
+ Ptr<T>::~Ptr()
+ {
+ if (ptr_) {
+- if (ptr_->unref())
++ if (((Resource*)ptr_)->unref())
+ delete ptr_;
+ ptr_ = 0;
+ }
diff --git a/textproc/jade/files/patch-Ptr.h b/textproc/jade/files/patch-Ptr.h
new file mode 100644
index 000000000000..c726cfed4aa6
--- /dev/null
+++ b/textproc/jade/files/patch-Ptr.h
@@ -0,0 +1,10 @@
+--- include/Ptr.h.orig Wed Oct 7 14:15:50 1998
++++ include/Ptr.h Tue Jul 22 09:19:49 2003
+@@ -5,6 +5,7 @@
+ #define Ptr_INCLUDED 1
+
+ #include "Boolean.h"
++#include "Resource.h"
+
+ // T must have Resource as a public base class
+ // T may be an incomplete type