openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ard...@apache.org
Subject [openoffice] 02/02: change c++ include paths on gcc >= 7
Date Fri, 08 Jan 2021 18:09:47 GMT
This is an automated email from the ASF dual-hosted git repository.

ardovm pushed a commit to branch AOO419
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit db583c7a4493d28ab9766791cb060964295aa7a5
Author: Arrigo Marchiori <ardovm@yahoo.it>
AuthorDate: Sat Nov 21 14:35:47 2020 +0100

    change c++ include paths on gcc >= 7
---
 main/boost/boost_1_55_0.patch | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/main/boost/boost_1_55_0.patch b/main/boost/boost_1_55_0.patch
index df9b8ec..b2042a0 100644
--- a/main/boost/boost_1_55_0.patch
+++ b/main/boost/boost_1_55_0.patch
@@ -359,3 +359,17 @@ diff -ur misc/boost_1_55_0/boost/config/compiler/gcc.hpp misc/build/boost_1_55_0
  #    define BOOST_HAS_VARIADIC_TMPL
  #  else
  #    define BOOST_NO_CXX11_VARIADIC_TEMPLATES
+--- misc/boost_1_55_0/boost/tr1/detail/config_all.hpp	2020-11-21 14:07:48.895886290 +0100
++++ misc/build/boost_1_55_0/boost/tr1/detail/config_all.hpp	2020-11-21 14:10:16.895419939
+0100
+@@ -95,6 +95,11 @@
+          // compiler version:
+ #        define BOOST_TR1_STD_HEADER(name) <../4.0.0/name>
+          /*
++          *  After version 6 the include path consists of the major number only
++          */
++#      elif (__GNUC__ > 6)
++#        define BOOST_TR1_STD_HEADER(name) <../__GNUC__/name>
++         /*
+           *  Before version 3.4.0 the 0 patch level was not part of the include path:
+           */
+ #      elif defined (__GNUC_PATCHLEVEL__) && ((__GNUC_PATCHLEVEL__ > 0) || \


Mime
View raw message