a458ada59d
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.
11 lines
388 B
Text
11 lines
388 B
Text
--- include/locale.orig 2014-02-07 21:14:29 UTC
|
|
+++ include/locale
|
|
@@ -209,7 +209,7 @@ template <class charT> class messages_by
|
|
|
|
_LIBCPP_BEGIN_NAMESPACE_STD
|
|
|
|
-#if defined(__APPLE__) || defined(__FreeBSD__)
|
|
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
|
# define _LIBCPP_GET_C_LOCALE 0
|
|
#elif defined(__NetBSD__)
|
|
# define _LIBCPP_GET_C_LOCALE LC_C_LOCALE
|