forked from Lainports/freebsd-ports
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
423 B
C++
11 lines
423 B
C++
--- src/locale.cpp.orig 2014-01-04 17:43:00 UTC
|
|
+++ src/locale.cpp
|
|
@@ -1021,7 +1021,7 @@ extern "C" const int ** __ctype_toupper_
|
|
const ctype<char>::mask*
|
|
ctype<char>::classic_table() _NOEXCEPT
|
|
{
|
|
-#if defined(__APPLE__) || defined(__FreeBSD__)
|
|
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
|
return _DefaultRuneLocale.__runetype;
|
|
#elif defined(__NetBSD__)
|
|
return _C_ctype_tab_ + 1;
|