mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-02 08:10:28 +08:00
boost: fix compilation error under SPARC
Missing braces. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
76a804c6db
commit
ffd21691ca
15
libs/boost/patches/030-sparc.patch
Normal file
15
libs/boost/patches/030-sparc.patch
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user