diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2016-06-04 15:17:36 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-06-08 07:55:54 +0200 |
commit | a7bc7b5564db3f95fc9f2ac626941059660af9e3 (patch) | |
tree | 5c778aa86754b779a12608249ef2be800d6413e6 /package/boost/0003-fenv.patch | |
parent | 945ef10e4a9e71d811cee913d32aacdcf381a555 (diff) | |
download | buildroot-a7bc7b5564db3f95fc9f2ac626941059660af9e3.tar.gz buildroot-a7bc7b5564db3f95fc9f2ac626941059660af9e3.zip |
package/boost: bump version to 1.61.0
removed patches applied upstream, renumbered remaining patches.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/boost/0003-fenv.patch')
-rw-r--r-- | package/boost/0003-fenv.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/package/boost/0003-fenv.patch b/package/boost/0003-fenv.patch new file mode 100644 index 0000000000..95c769aea2 --- /dev/null +++ b/package/boost/0003-fenv.patch @@ -0,0 +1,37 @@ +Disable fenv.h in certain configurations + +The boost build system does not properly test whether fenv.h is +available, and if it is, if it supports all the features used by +Boost. This causes build failures with uClibc (reported upstream at +https://svn.boost.org/trac/boost/ticket/11756) but also with glibc on +specific architectures that don't have a full fenv implementation, +such as NIOSII or Microblaze. + +To address this, we forcefully disable the use of fenv support in the +affected configurations. + +Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> +[Thomas: add Microblaze/NIOSII exclusions.] +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> + +Index: b/boost/config/platform/linux.hpp +=================================================================== +--- a/boost/config/platform/linux.hpp ++++ b/boost/config/platform/linux.hpp +@@ -47,6 +47,16 @@ + #endif + + // ++// uClibc has no support for fenv.h, and also a few architectures ++// don't have fenv.h support at all (or incomplete support) even with ++// glibc. ++ ++// ++#if defined(__UCLIBC__) || defined(__nios2__) || defined(__microblaze__) ++# define BOOST_NO_FENV_H ++#endif ++ ++// + // If glibc is past version 2 then we definitely have + // gettimeofday, earlier versions may or may not have it: + // |