summaryrefslogtreecommitdiff
path: root/textproc/jade/files/patch-Ptr.cxx
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2018-01-10 15:27:33 +0000
committerJan Beich <jbeich@FreeBSD.org>2018-01-10 15:27:33 +0000
commitc80e6a0631fb7dce42c5cf792c99118b25a0b880 (patch)
tree60a0fa1fe85f948119ce0a8f901160d8f2d6eaa1 /textproc/jade/files/patch-Ptr.cxx
parentDo not abuse INSTALL_MAN when installing documentation, examples, and (diff)
textproc/jade: back out r458645 to avoid churn
Reported by: danfe
Notes
Notes: svn path=/head/; revision=458647
Diffstat (limited to 'textproc/jade/files/patch-Ptr.cxx')
-rw-r--r--textproc/jade/files/patch-Ptr.cxx11
1 files changed, 11 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;
+ }