From 18c6433f836514b08b08f36c7de42f421d8d22b9 Mon Sep 17 00:00:00 2001 From: Dirk Meyer <dinoex@FreeBSD.org> Date: Sun, 22 Dec 2002 09:47:17 +0000 Subject: Fix build on -current PR: 46408 Submitted by: kcwu@kcwu.dyndns.org --- net-p2p/mutella/files/patch-mutella::mutella.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 net-p2p/mutella/files/patch-mutella::mutella.h (limited to 'net-p2p/mutella/files/patch-mutella::mutella.h') 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*/ -- cgit v1.2.3