diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-11-30 20:09:12 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-11-30 20:09:12 +0000 |
commit | 9f86d5d19e0380a1a04a4fa4790e9a40cc9a621f (patch) | |
tree | 1bc911e9074bf04253839a083a6d48326cd3d9c6 | |
parent | a6c89e200832b13c699daddef1924989d3e89d85 (diff) | |
download | ports-9f86d5d19e0380a1a04a4fa4790e9a40cc9a621f.tar.gz ports-9f86d5d19e0380a1a04a4fa4790e9a40cc9a621f.zip |
MFH: r373682
- Fix build with clang 3.5
Submitted by: antoine
Approved by: ports-secteam (rea)
Notes
Notes:
svn path=/branches/2014Q4/; revision=373686
-rw-r--r-- | games/rtb/files/patch-team-framework__stdnamespace.h | 20 |
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 |