summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-15 22:38:29 +0000
committerMike Frysinger <vapier@gentoo.org>2009-02-15 22:38:29 +0000
commit4adf0f4ccf9b5aa145113eb84e53cbc319b0f544 (patch)
tree374cd9e061449839222f0e67c1f54768763d4de7 /net-nntp/nget/files/nget-0.27.1-gcc-4.3.patch
parentAdding ~amd64 keyword (diff)
downloadgentoo-2-4adf0f4ccf9b5aa145113eb84e53cbc319b0f544.tar.gz
gentoo-2-4adf0f4ccf9b5aa145113eb84e53cbc319b0f544.tar.bz2
gentoo-2-4adf0f4ccf9b5aa145113eb84e53cbc319b0f544.zip
Fix building with newer toolchains by using Debian patches #251529 by Diego E. Flameeyes Pettenò.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'net-nntp/nget/files/nget-0.27.1-gcc-4.3.patch')
-rw-r--r--net-nntp/nget/files/nget-0.27.1-gcc-4.3.patch40
1 files changed, 0 insertions, 40 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
deleted file mode 100644
index d990c6a139c5..000000000000
--- a/net-nntp/nget/files/nget-0.27.1-gcc-4.3.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- 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