(at least on tier-1 architectures) - Update to version 0.13.1beta which includes many C++ related fixes (unfortunately, a number of issues still remain to be patched) - Let the compiler handle template instantiation of ``TPoolFile'' [1] - Use native atomics instead of pulling Boost header - Convert few remaining sed(1) in-place editing to patch files - Bump FOX toolkit version being used (1.4 -> 1.6) - Get rid of absolute port origins when specifying dependencies - Unbreak NLS option (and enable it back by default) [1] http://bugs.gentoo.org/334797
11 lines
575 B
C
11 lines
575 B
C
--- src/misc/CAtomicCounter.h.orig 2013-02-10 06:35:02 UTC
|
|
+++ src/misc/CAtomicCounter.h
|
|
@@ -28,7 +28,7 @@
|
|
#define LINUX_ATOMIX
|
|
#include <asm/atomic.h>
|
|
|
|
-#elif defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 405 && defined(__GXX_EXPERIMENTAL_CXX0X__)/*for now detect --std=c++0x.. will be removed later*/
|
|
+#elif defined(__clang__) || defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 405 && defined(__GXX_EXPERIMENTAL_CXX0X__)/*for now detect --std=c++0x.. will be removed later*/
|
|
|
|
// gcc-4.5 uses the atomic header (c++v0)
|
|
#define STL_ATOMIX
|