diff options
author | Rosen Penev <rosenp@gmail.com> | 2021-07-14 15:36:22 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2021-07-14 19:08:47 -0700 |
commit | 8e35ba8860aaaa12bb2c58169382861e595dec6f (patch) | |
tree | 9760b71cfe96855d8fe3e3686fb250fbf94cee05 /libs/boost | |
parent | 69df02cabade31c19cec92252a564e354df44d75 (diff) |
boost: fix compilation error under SPARC
Missing braces.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'libs/boost')
-rw-r--r-- | libs/boost/patches/030-sparc.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libs/boost/patches/030-sparc.patch b/libs/boost/patches/030-sparc.patch new file mode 100644 index 000000000..da5a3a4c5 --- /dev/null +++ b/libs/boost/patches/030-sparc.patch @@ -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) |