summaryrefslogtreecommitdiff
path: root/textproc/jade/patches/patch-ap
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/jade/patches/patch-ap')
-rw-r--r--textproc/jade/patches/patch-ap13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/jade/patches/patch-ap b/textproc/jade/patches/patch-ap
new file mode 100644
index 00000000000..bdcccf58e1c
--- /dev/null
+++ b/textproc/jade/patches/patch-ap
@@ -0,0 +1,13 @@
+$NetBSD: patch-ap,v 1.1 2003/09/21 20:03:53 tron Exp $
+
+--- 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;
+ }