|
Boost : |
From: John Klos (john_at_[hidden])
Date: 2021-09-27 17:00:34
Hello, boost people,
This is a small, simple patch to make boost compile properly on
NetBSD/sparc64, at very least, and on SPARC and UltraSPARC in general.
Here's a failure example:
https://ftp.ziaspace.com/pub/pkgsrc/reports/9.0_2021Q2/sparc64/boost-libs-1.76.0/build.log
Thanks very much,
John Klos
--- libs/predef/include/boost/predef/architecture/sparc.h.orig 2021-09-27 16:03:19.965761565 +0000
+++ libs/predef/include/boost/predef/architecture/sparc.h 2021-09-27 16:11:18.084758689 +0000
@@ -34,10 +34,10 @@
#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)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk