diff options
author | tron <tron> | 2003-09-21 20:03:52 +0000 |
---|---|---|
committer | tron <tron> | 2003-09-21 20:03:52 +0000 |
commit | e596d0fbda2872778bc8f96e7d797dfb25942a35 (patch) | |
tree | 0119474aa4e08182fb43cd77d3193160bd81d6db /textproc/jade | |
parent | 636489faa4fce8db4853f65cd60af86fc65d90b4 (diff) | |
download | pkgsrc-e596d0fbda2872778bc8f96e7d797dfb25942a35.tar.gz |
Add patches from the FreeBSD ports collection to fix build problems
with GCC 3.3.1.
Diffstat (limited to 'textproc/jade')
-rw-r--r-- | textproc/jade/distinfo | 5 | ||||
-rw-r--r-- | textproc/jade/patches/patch-ao | 12 | ||||
-rw-r--r-- | textproc/jade/patches/patch-ap | 13 | ||||
-rw-r--r-- | textproc/jade/patches/patch-aq | 15 |
4 files changed, 44 insertions, 1 deletions
diff --git a/textproc/jade/distinfo b/textproc/jade/distinfo index 3d658f8c45b..7f1e695fd67 100644 --- a/textproc/jade/distinfo +++ b/textproc/jade/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2002/12/23 20:05:07 jschauma Exp $ +$NetBSD: distinfo,v 1.10 2003/09/21 20:03:52 tron Exp $ SHA1 (jade-1.2.1.tar.gz) = 4326e73b7f0b865515e1bb90c622a8b2aa6ecd06 Size (jade-1.2.1.tar.gz) = 1092062 bytes @@ -18,3 +18,6 @@ SHA1 (patch-ak) = f93643020d129c229d4a4fc1160decc31dd30264 SHA1 (patch-al) = 0a1f8a4be1bbd2215a0a08722f3ea2c6e2334c80 SHA1 (patch-am) = 6851ea44e1abdcaa887df3cf965593f5bb896e9b SHA1 (patch-an) = 514a3bf20ba6c2e1e6474c85e770e9e3b836df2d +SHA1 (patch-ao) = 16bc7c55cdc8c3d5dc5959807dd100d36985429c +SHA1 (patch-ap) = 156ac9a4947d7b74727b4d787e8abf0897e0a0bb +SHA1 (patch-aq) = fb6b6a441748831e70a5c9f84ccb2cdad912d06b diff --git a/textproc/jade/patches/patch-ao b/textproc/jade/patches/patch-ao new file mode 100644 index 00000000000..bd7a58edf5c --- /dev/null +++ b/textproc/jade/patches/patch-ao @@ -0,0 +1,12 @@ +$NetBSD: patch-ao,v 1.1 2003/09/21 20:03:53 tron Exp $ + +--- 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 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; + } diff --git a/textproc/jade/patches/patch-aq b/textproc/jade/patches/patch-aq new file mode 100644 index 00000000000..e9751ec2f0d --- /dev/null +++ b/textproc/jade/patches/patch-aq @@ -0,0 +1,15 @@ +$NetBSD: patch-aq,v 1.1 2003/09/21 20:03:54 tron Exp $ + +--- include/config.h.orig Fri Jun 14 12:58:51 2002 ++++ include/config.h Fri Jun 14 13:01:00 2002 +@@ -31,6 +31,10 @@ + #define SP_ANSI_LIB + #define SP_NO_STD_NAMESPACE + #undef SP_NEW_H_MISSING ++#if __GNUC__ > 2 ++#define SP_HAVE_TYPENAME ++#undef SP_NO_STD_NAMESPACE ++#endif + #endif + + #endif /* __GNUG__ */ |