packages/libs/boost/patches/010-sparc.patch
Carlos Miguel Ferreira 1953240085
boost: Bump to version 1.77.0
This commit updates boost to version 1.77.0
More info about Boost 1.77.0 can be found at the usual place [1].

There are two new libraries in this version:
* Describe [2]: A C++14 reflection library, from Peter Dimov. Provides
macros for describing enumerators and struct/class members, and
primitives for querying this information.
* Lambda2 [3]: A C++14, dependency-free, single header lambda library, from
Peter Dimov. Allows simple function objects to be constructed via
expressions such as:
_1 + 5, _1 % 2 == 0, _1 > _2, or _1 == ' ' || _1 == '\t'.

[1]: https://www.boost.org/users/history/version_1_77_0.html
[2]: https://www.boost.org/libs/describe/
[3]: https://www.boost.org/libs/lambda2/

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2021-09-02 02:12:19 +01:00

15 lines
728 B
Diff

--- a/boost/predef/architecture/sparc.h
+++ b/boost/predef/architecture/sparc.h
@@ -34,10 +34,10 @@ http://en.wikipedia.org/wiki/SPARC[SPARC
#if defined(__sparc__) || defined(__sparc)
# undef BOOST_ARCH_SPARC
-# if !defined(BOOST_ARCH_SPARC) && (defined(__sparcv9) || defined(__sparc_v9__)
+# if !defined(BOOST_ARCH_SPARC) && (defined(__sparcv9) || defined(__sparc_v9__))
# define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER(9,0,0)
# endif
-# if !defined(BOOST_ARCH_SPARC) && (defined(__sparcv8) || defined(__sparc_v8__)
+# if !defined(BOOST_ARCH_SPARC) && (defined(__sparcv8) || defined(__sparc_v8__))
# define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER(8,0,0)
# endif
# if !defined(BOOST_ARCH_SPARC)