summaryrefslogtreecommitdiff
path: root/textproc/jade/files/patch-Ptr.cxx
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2003-07-22 01:49:54 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2003-07-22 01:49:54 +0000
commitf84cbb1d39fbc132419805e5f142f5b1f23ccfbe (patch)
tree7000cb1578ea59c1bf057696e4013a66088be9e3 /textproc/jade/files/patch-Ptr.cxx
parentMove me to my new home. (diff)
o Add WWW:.
o Update Debian's patch to -35. o Unbreak on gcc-3.3 (same method as openjade/opensp).
Notes
Notes: svn path=/head/; revision=85327
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;
+ }