mirror of
https://git.freebsd.org/ports.git
synced 2025-06-13 08:40:39 -04:00
Fix build on FreeBSD 8.4 by using devel/libmissing and new devel/xlocale Add devel/xlocale which is a striped down version of freebsd's xlocale with just the minimal requirements for libc++, initially maintained in libc++'s trunk for solaris support
22 lines
787 B
Text
22 lines
787 B
Text
--- ./include/cmath.orig 2014-01-06 19:12:50.000000000 +0100
|
|
+++ ./include/cmath 2014-05-06 14:14:44.388681947 +0200
|
|
@@ -299,6 +299,7 @@
|
|
|
|
#include <__config>
|
|
#include <math.h>
|
|
+#include <missing_math.h>
|
|
#include <type_traits>
|
|
|
|
#ifdef _LIBCPP_MSVCRT
|
|
--- include/__locale.orig 2014-05-06 15:33:07.907356770 +0200
|
|
+++ include/__locale 2014-05-06 15:32:20.702360182 +0200
|
|
@@ -24,6 +24,9 @@
|
|
#elif _AIX
|
|
# include <support/ibm/xlocale.h>
|
|
#elif (defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun__)) || defined(__EMSCRIPTEN__) || defined(__IBMCPP__)
|
|
+# define __LONG_LONG_SUPPORTED
|
|
+# include <stdlib.h>
|
|
+# include <limits.h>
|
|
# include <xlocale.h>
|
|
#endif // _WIN32 || __GLIBC__ || __APPLE__ || __FreeBSD__ || __sun__ || __EMSCRIPTEN__ || __IBMCPP__
|
|
|