aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-12-22 17:47:17 +0800
committerdinoex <dinoex@FreeBSD.org>2002-12-22 17:47:17 +0800
commit1f1570cec9df0f00e652708d8b31828b31791afc (patch)
treeb28a218ad23d70e740d9a4270de3a95b5e6f783a /net-p2p
parentc86ea7d3724a96d1cf46c260da07872223a90773 (diff)
downloadfreebsd-ports-gnome-1f1570cec9df0f00e652708d8b31828b31791afc.tar.gz
freebsd-ports-gnome-1f1570cec9df0f00e652708d8b31828b31791afc.tar.zst
freebsd-ports-gnome-1f1570cec9df0f00e652708d8b31828b31791afc.zip
Fix build on -current
PR: 46408 Submitted by: kcwu@kcwu.dyndns.org
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*/