diff options
author | Daniel Black <dragonheart@gentoo.org> | 2008-05-04 01:34:26 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2008-05-04 01:34:26 +0000 |
commit | 3d4eec27551fda8d2e32246cf13095204948680a (patch) | |
tree | 800272920d5e9f055fd7475119027d78c7a2c114 /net-nntp/nget/files | |
parent | This package was submitted by Nguyen Thai Ngoc Duy <pclouds@gentoo.org> in bu... (diff) | |
download | gentoo-2-3d4eec27551fda8d2e32246cf13095204948680a.tar.gz gentoo-2-3d4eec27551fda8d2e32246cf13095204948680a.tar.bz2 gentoo-2-3d4eec27551fda8d2e32246cf13095204948680a.zip |
gcc-4.3 fix as per bug #199587 thanks to upstream for the patch, Mark for pointing me to it and Diego for reporting the bug
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'net-nntp/nget/files')
-rw-r--r-- | net-nntp/nget/files/nget-0.27.1-gcc-4.3.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/net-nntp/nget/files/nget-0.27.1-gcc-4.3.patch b/net-nntp/nget/files/nget-0.27.1-gcc-4.3.patch new file mode 100644 index 000000000000..d990c6a139c5 --- /dev/null +++ b/net-nntp/nget/files/nget-0.27.1-gcc-4.3.patch @@ -0,0 +1,40 @@ +--- auto_map.h 2004/06/17 20:59:44 1.8 ++++ auto_map.h 2008/03/03 06:41:59 1.9 +@@ -23,10 +23,10 @@ + #include <assert.h> + #include <map> + +-template <class K, class T, template <class BK, class BT> class Base> +-class auto_map_base : public Base<K, restricted_ptr<T> > { ++template <class K, class T, class Base> ++class auto_map_base : public Base { + protected: +- typedef Base<K, restricted_ptr<T> > super; ++ typedef Base super; + public: + typedef typename super::iterator iterator; + +@@ -55,9 +55,9 @@ + + + template <class K, class T> +-class auto_map : public auto_map_base<K, T, std::map> { ++class auto_map : public auto_map_base<K, T, std::map<K, restricted_ptr<T> > > { + public: +- typedef typename auto_map_base<K, T, std::map>::super super; ++ typedef typename auto_map_base<K, T, std::map<K, restricted_ptr<T> > >::super super; + typedef typename super::iterator iterator; + typedef typename super::value_type value_type; + /*super::value_type value_type(const K &k, T*p) { +@@ -74,9 +74,9 @@ + }; + + template <class K, class T> +-class auto_multimap : public auto_map_base<K, T, std::multimap> { ++class auto_multimap : public auto_map_base<K, T, std::multimap<K, restricted_ptr<T> > > { + public: +- typedef typename auto_map_base<K, T, std::multimap>::super super; ++ typedef typename auto_map_base<K, T, std::multimap<K, restricted_ptr<T> > >::super super; + typedef typename super::iterator iterator; + typedef typename super::value_type value_type; + iterator insert_value(const K &k, T* p) { //we can't really use the normal insert funcs, but we don't want to just name it insert since it would be easy to confuse with all the normal map insert funcs |