aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-12-22 09:47:17 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-12-22 09:47:17 +0000
commit18c6433f836514b08b08f36c7de42f421d8d22b9 (patch)
tree1008e69e7c49d8535c0e61d2499ccc0ec1650b28 /net-p2p
parent0e9c05b83de0618a9cfc0ca0c5417e8870a49be9 (diff)
downloadports-18c6433f836514b08b08f36c7de42f421d8d22b9.tar.gz
ports-18c6433f836514b08b08f36c7de42f421d8d22b9.zip
Fix build on -current
PR: 46408 Submitted by: kcwu@kcwu.dyndns.org
Notes
Notes: svn path=/head/; revision=71775
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/mutella/files/patch-mutella::mutella.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/net-p2p/mutella/files/patch-mutella::mutella.h b/net-p2p/mutella/files/patch-mutella::mutella.h
new file mode 100644
index 000000000000..1c4a03f6f1f7
--- /dev/null
+++ b/net-p2p/mutella/files/patch-mutella::mutella.h
@@ -0,0 +1,22 @@
+--- mutella/mutella.h.orig Sat Dec 21 04:06:30 2002
++++ mutella/mutella.h Sat Dec 21 04:09:31 2002
+@@ -70,6 +70,7 @@
+ // declare namespaces
+ using std::min;
+ using std::max;
++using std::find;
+ using std::swap;
+ //using std::queue;
+ //using std::deque;
+@@ -80,7 +81,11 @@
+ #ifdef NAVE_NO_SLIST
+ # define slist list
+ #else
++#ifdef HAVE_EXT_SLIST
++ using __gnu_cxx::slist;
++#else
+ using std::slist;
++#endif
+ #endif
+
+ #endif /*__cplusplus*/