diff options
author | joerg <joerg@pkgsrc.org> | 2012-07-03 18:42:31 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-07-03 18:42:31 +0000 |
commit | a87153b6ba1ba8af4047f0c093e6f7315c96e289 (patch) | |
tree | a131c4754fca40ebb198dd67df483f5917c9111a /games/exult | |
parent | 3491b61048bed93145316abb0932d6c35e4114ea (diff) | |
download | pkgsrc-a87153b6ba1ba8af4047f0c093e6f7315c96e289.tar.gz |
Add missing this references for template look ups
Diffstat (limited to 'games/exult')
-rw-r--r-- | games/exult/distinfo | 3 | ||||
-rw-r--r-- | games/exult/patches/patch-vec.h | 42 |
2 files changed, 44 insertions, 1 deletions
diff --git a/games/exult/distinfo b/games/exult/distinfo index 0d078a1b208..6ccefbb6fc1 100644 --- a/games/exult/distinfo +++ b/games/exult/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2011/12/21 16:58:15 dholland Exp $ +$NetBSD: distinfo,v 1.7 2012/07/03 18:42:31 joerg Exp $ SHA1 (exult-1.2.tar.gz) = 81f9d3d428c80990b8e970a4dee5c85a7236dace RMD160 (exult-1.2.tar.gz) = 339231edf84507f05115ab3189875cb15be9c04f @@ -42,3 +42,4 @@ SHA1 (patch-usecode_ucmachine.cc) = 01db5ff3f6d9c23271dfbd15c50e1c78d9af28a1 SHA1 (patch-usecode_ucxt_head2data.cc) = 1bb92845f2c7b2368ca6849031e0c9d35affc7e5 SHA1 (patch-usecode_ucxt_include_ops.h) = aca520d3b8d0d72ae918935f11f164ca0e633a81 SHA1 (patch-usecode_useval.h) = 101dfb391a00bd99bbdacd4f71f6b22b9c38a214 +SHA1 (patch-vec.h) = 368d369fada797f90ea22919c1410f5b726eae0c diff --git a/games/exult/patches/patch-vec.h b/games/exult/patches/patch-vec.h new file mode 100644 index 00000000000..a630762190d --- /dev/null +++ b/games/exult/patches/patch-vec.h @@ -0,0 +1,42 @@ +$NetBSD: patch-vec.h,v 1.1 2012/07/03 18:42:31 joerg Exp $ + +--- vec.h.orig 2012-07-03 12:50:54.000000000 +0000 ++++ vec.h +@@ -33,7 +33,7 @@ public: + Exult_vector<T>() : baseClass() + {} + Exult_vector<T>(size_type n) : baseClass() +- { reserve(n); } ++ { this->reserve(n); } + + #ifndef MACOS /* should be something like PROPER_STD_CPP_LIB or so */ + T& at(int i) { return (*this)[i]; } +@@ -42,8 +42,8 @@ public: + { + if (i >= (int)this->size()) + { +- insert(this->begin() + this->size(), i - this->size(), 0); +- push_back(v); ++ this->insert(this->begin() + this->size(), i - this->size(), 0); ++ this->push_back(v); + } + else + (*this)[i] = v; +@@ -69,7 +69,7 @@ public: + + size_type append( const T& obj ) + { +- push_back( obj ); ++ this->push_back( obj ); + return this->size() - 1; + } + +@@ -80,7 +80,7 @@ public: + { + if( *X == obj ) + { +- erase(X); ++ this->erase(X); + return; + } + } |