pinkbyte    15/07/27 13:06:41

  Added:                boost-1.55.0-variadic-templates.patch
  Log:
  Fix building with USE=context and GCC 5.1 and higher, wrt bugs #546882 and 
#555580
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
0x60C0742D1F357D42)

Revision  Changes    Path
1.1                  dev-libs/boost/files/boost-1.55.0-variadic-templates.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/boost/files/boost-1.55.0-variadic-templates.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/boost/files/boost-1.55.0-variadic-templates.patch?rev=1.1&content-type=text/plain

Index: boost-1.55.0-variadic-templates.patch
===================================================================
>From eec808554936ae068b23df07ab54d4dc6302a695 Mon Sep 17 00:00:00 2001
From: jzmaddock <jzmadd...@gmail.com>
Date: Sat, 23 Aug 2014 09:38:02 +0100
Subject: [PATCH] Fix BOOST_NO_CXX11_VARIADIC_TEMPLATES definition - the
 feature was introduced in GCC 4.4.

---
 boost/config/compiler/gcc.hpp | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/boost/config/compiler/gcc.hpp b/boost/config/compiler/gcc.hpp
index f37159d..97d8a18 100644
--- a/boost/config/compiler/gcc.hpp
+++ b/boost/config/compiler/gcc.hpp
@@ -154,14 +154,6 @@
 #  define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
 #  define BOOST_NO_CXX11_RVALUE_REFERENCES
 #  define BOOST_NO_CXX11_STATIC_ASSERT
-
-// Variadic templates compiler:
-//   http://www.generic-programming.org/~dgregor/cpp/variadic-templates.html
-#  if defined(__VARIADIC_TEMPLATES) || (__GNUC__ > 4) || ((__GNUC__ == 4) && 
(__GNUC_MINOR__ >= 4) && defined(__GXX_EXPERIMENTAL_CXX0X__))
-#    define BOOST_HAS_VARIADIC_TMPL
-#  else
-#    define BOOST_NO_CXX11_VARIADIC_TEMPLATES
-#  endif
 #endif
 
 // C++0x features in 4.4.n and later
@@ -176,6 +168,7 @@
 #  define BOOST_NO_CXX11_DELETED_FUNCTIONS
 #  define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
 #  define BOOST_NO_CXX11_INLINE_NAMESPACES
+#  define BOOST_NO_CXX11_VARIADIC_TEMPLATES
 #endif
 
 #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)




Reply via email to