diff options
Diffstat (limited to 'textproc/jade/files/patch-include_Ptr.cxx')
| -rw-r--r-- | textproc/jade/files/patch-include_Ptr.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/jade/files/patch-include_Ptr.cxx b/textproc/jade/files/patch-include_Ptr.cxx new file mode 100644 index 000000000000..fa4881336546 --- /dev/null +++ b/textproc/jade/files/patch-include_Ptr.cxx @@ -0,0 +1,11 @@ +--- include/Ptr.cxx.orig 1998-10-07 05:15:50 UTC ++++ include/Ptr.cxx +@@ -19,7 +19,7 @@ template<class T> + Ptr<T>::~Ptr() + { + if (ptr_) { +- if (ptr_->unref()) ++ if (((Resource*)ptr_)->unref()) + delete ptr_; + ptr_ = 0; + } |
