freebsd-ports/devel/libc++/files/extra-libmissing
John Marino a458ada59d devel/libc++: Mainly fix DragonFly support.
This port was originally fixed in dports using alias:10 but this fix
was faulty.  The libc++ headers reference __FreeBSD__ so alias won't
work.  It needs to be patched to check __DragonFly__, including a file
that was the subject of EXTRA_PATCHES.

Moreover, the port was installing the .orig files left over from
patching.  I remove these in post-patch now.
2015-04-04 00:22:57 +00:00

10 lines
255 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