1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Fix build on -current

PR:		46408
Submitted by:	kcwu@kcwu.dyndns.org
This commit is contained in:
Dirk Meyer 2002-12-22 09:47:17 +00:00
parent 0e9c05b83d
commit 18c6433f83
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71775
2 changed files with 44 additions and 0 deletions

View File

@ -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*/

View File

@ -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*/