| 1 | Fix the build of libetonyek / libreoffice:
|
| 2 |
|
| 3 | https://issues.guix.gnu.org/72040
|
| 4 |
|
| 5 | Patch copied from upstream source repository:
|
| 6 |
|
| 7 | https://github.com/boostorg/phoenix/commit/8913607a3788cb82d48ed461ea59c919b7bad3df
|
| 8 |
|
| 9 | From 8913607a3788cb82d48ed461ea59c919b7bad3df Mon Sep 17 00:00:00 2001
|
| 10 | From: djowel <[email protected]>
|
| 11 | Date: Tue, 29 Aug 2023 14:32:41 +0800
|
| 12 | Subject: [PATCH] Disabled this for now, due to ODR violations $$$ Fix Me $$$
|
| 13 |
|
| 14 | ---
|
| 15 | include/boost/phoenix/stl/tuple.hpp | 3 +++
|
| 16 | 1 file changed, 3 insertions(+)
|
| 17 |
|
| 18 | diff --git a/include/boost/phoenix/stl/tuple.hpp b/include/boost/phoenix/stl/tuple.hpp
|
| 19 | index fb9440d2..a2e42bec 100644
|
| 20 | |
| 21 | |
| 22 | @@ -106,6 +106,7 @@ namespace boost { namespace phoenix {
|
| 23 | tuple_detail::idx_wrap<N>(), t);
|
| 24 | }
|
| 25 |
|
| 26 | +#if 0 // Disabled this for now due to ODR viaolations $$$ Fix Me $$$
|
| 27 | // Make unpacked argument placeholders
|
| 28 | namespace placeholders {
|
| 29 | #define BOOST_PP_LOCAL_LIMITS (1, BOOST_PHOENIX_ARG_LIMIT)
|
| 30 | @@ -114,6 +115,8 @@ namespace boost { namespace phoenix {
|
| 31 | boost::phoenix::get_<(N)-1>(boost::phoenix::placeholders::arg1);
|
| 32 | #include BOOST_PP_LOCAL_ITERATE()
|
| 33 | }
|
| 34 | +#endif
|
| 35 | +
|
| 36 | }} // namespace boost::phoenix
|
| 37 |
|
| 38 | #endif // C++ 14
|