boost: fix compilation error under SPARC
authorRosen Penev <redacted>
Wed, 14 Jul 2021 22:36:22 +0000 (15:36 -0700)
committerRosen Penev <redacted>
Thu, 15 Jul 2021 02:08:47 +0000 (19:08 -0700)
Missing braces.

Signed-off-by: Rosen Penev <redacted>
libs/boost/patches/030-sparc.patch [new file with mode: 0644]

diff --git a/libs/boost/patches/030-sparc.patch b/libs/boost/patches/030-sparc.patch
new file mode 100644 (file)
index 0000000..da5a3a4
--- /dev/null
@@ -0,0 +1,15 @@
+--- 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)
git clone https://git.99rst.org/PROJECT