summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-28 20:57:55 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-28 20:57:55 +0000
commit26e99827d33d5ab7f3e75e4e4e59023b31cecd31 (patch)
tree5a28a498f85af83ede5a2af1ce173054b30ca683 /net-misc/mdidentd/files
parentgive to net-irc since this is part of the ezbounce irc package (diff)
downloadhistorical-26e99827d33d5ab7f3e75e4e4e59023b31cecd31.tar.gz
historical-26e99827d33d5ab7f3e75e4e4e59023b31cecd31.tar.bz2
historical-26e99827d33d5ab7f3e75e4e4e59023b31cecd31.zip
Fix some broken C++ code #116999 by Markus Ullmann.
Package-Manager: portage-2.1_pre2
Diffstat (limited to 'net-misc/mdidentd/files')
-rw-r--r--net-misc/mdidentd/files/mdidentd-1.04a-c++.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/net-misc/mdidentd/files/mdidentd-1.04a-c++.patch b/net-misc/mdidentd/files/mdidentd-1.04a-c++.patch
new file mode 100644
index 000000000000..a40f078e0040
--- /dev/null
+++ b/net-misc/mdidentd/files/mdidentd-1.04a-c++.patch
@@ -0,0 +1,23 @@
+Fix some broken C++ code ... __list_iter doesn't implement get(), nor
+does __list_core implement insert() ...
+
+http://bugs.gentoo.org/116999
+
+--- ezbounce-1.04a/lib/linkedlist.h
++++ ezbounce-1.04a/lib/linkedlist.h
+@@ -89,7 +89,6 @@ public:
+ list_iterator(__list_core * x) : __list_iter(x) { }
+ T * next() { return (T *) __list_iter::next(); }
+ T * remove() { return (T *) __list_iter::remove(); }
+- T * get(void) { return (T *) __list_iter::get(); }
+ T * set(int x) { return (T *) __list_iter::set(x); }
+ };
+
+@@ -97,7 +96,6 @@ template <class T> class list : public _
+ {
+ public:
+ int add(T *x) { return __list_core::add((void *) x); }
+- int add(int w, T * x) { return __list_core::insert(w, (void *) x); }
+ T * get(int idx) { return (T *) __list_core::get(idx); }
+ T * remove(int idx) { return (T *) __list_core::remove(idx); }
+ bool remove(T * d) { return __list_core::remove(d); }