aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-12-01 03:25:58 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-12-01 03:25:58 +0800
commit0e87abbcb01e8f382ff8f7da91e55a7df18e9b68 (patch)
treef73ac7bd38c45e37715eb5553cd440cb8f7d9832 /games
parent4a005d4c2a937bcfd0271754be91aed267739036 (diff)
downloadfreebsd-ports-gnome-0e87abbcb01e8f382ff8f7da91e55a7df18e9b68.tar.gz
freebsd-ports-gnome-0e87abbcb01e8f382ff8f7da91e55a7df18e9b68.tar.zst
freebsd-ports-gnome-0e87abbcb01e8f382ff8f7da91e55a7df18e9b68.zip
- Fix build with clang 3.5
Submitted by: antoine MFH: 2014Q4
Diffstat (limited to 'games')
-rw-r--r--games/rtb/files/patch-team-framework__stdnamespace.h20
1 files changed, 8 insertions, 12 deletions
diff --git a/games/rtb/files/patch-team-framework__stdnamespace.h b/games/rtb/files/patch-team-framework__stdnamespace.h
index e50764b9532b..58908d55034f 100644
--- a/games/rtb/files/patch-team-framework__stdnamespace.h
+++ b/games/rtb/files/patch-team-framework__stdnamespace.h
@@ -1,16 +1,12 @@
---- team-framework/stdnamespace.h.orig
-+++ team-framework/stdnamespace.h
-@@ -25,9 +25,13 @@
-
+--- team-framework/stdnamespace.h.orig 2005-01-06 20:59:18.000000000 +0300
++++ team-framework/stdnamespace.h 2014-11-30 22:10:41.000000000 +0300
+@@ -26,8 +26,4 @@
**************************************************************************/
-+#if !defined(_LIBCPP_VERSION)
#include <iosfwd> // This file contains the forward declaration in particular of std::string
-
- namespace std
- {
- template <class _Tp> class auto_ptr; // Origin: The header file <memory>
- }
-+#else
+-
+-namespace std
+-{
+- template <class _Tp> class auto_ptr; // Origin: The header file <memory>
+-}
+#include <memory>
-+#endif