summaryrefslogtreecommitdiff
path: root/security/sfs/patches/patch-af
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2006-10-21 11:53:13 +0000
committeragc <agc@pkgsrc.org>2006-10-21 11:53:13 +0000
commit94df3e688cac5144cf434b7934396ecf03cf7160 (patch)
tree8eb2eba29304cfef5372605e2a4748693d54c4a5 /security/sfs/patches/patch-af
parent2d3543e64fc48a08a0b41e60eb5ab49b3795c447 (diff)
downloadpkgsrc-94df3e688cac5144cf434b7934396ecf03cf7160.tar.gz
Update sfs to 0.7.2nb7
+ add support for gcc4
Diffstat (limited to 'security/sfs/patches/patch-af')
-rw-r--r--security/sfs/patches/patch-af28
1 files changed, 28 insertions, 0 deletions
diff --git a/security/sfs/patches/patch-af b/security/sfs/patches/patch-af
new file mode 100644
index 00000000000..c2f5bc4ae2b
--- /dev/null
+++ b/security/sfs/patches/patch-af
@@ -0,0 +1,28 @@
+$NetBSD: patch-af,v 1.1 2006/10/21 11:53:13 agc Exp $
+
+--- ./async/vec.h.orig 2002-05-28 11:29:16.000000000 +0100
++++ ./async/vec.h
+@@ -72,7 +72,14 @@ public:
+ };
+
+ template<class T, size_t N = 0> class vec : public vec_base<T, N> {
++
+ typedef typename vec_base<T, N>::elm_t elm_t;
++
++ vec_base<T, N>::basep;
++ vec_base<T, N>::firstp;
++ vec_base<T, N>::lastp;
++ vec_base<T, N>::limp;
++
+ void move (elm_t *dst) {
+ if (dst == firstp)
+ return;
+@@ -92,7 +99,7 @@ template<class T, size_t N = 0> class ve
+ { return *new (implicit_cast<void *> (&e)) elm_t (v); }
+ static void destroy (elm_t &e) { e.~elm_t (); }
+
+- void init () { lastp = firstp = basep = def_basep (); limp = def_limp (); }
++ void init () { lastp = firstp = basep = this->def_basep (); limp = this->def_limp (); }
+ void del () { while (firstp < lastp) firstp++->~elm_t (); bfree (basep); }
+
+ #define append(v) \