blob: ba47fc800b0574b18e8473dd6412c3bd5a38b582 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-src_FTFont_FTBufferFont.cpp,v 1.1 2019/09/08 20:41:10 nia Exp $
return wcsdup if OPSYS != DragonFly.
--- src/FTFont/FTBufferFont.cpp.orig 2008-06-12 09:52:03.000000000 +0000
+++ src/FTFont/FTBufferFont.cpp
@@ -206,7 +206,7 @@ inline wchar_t *StringCopy(wchar_t const
{
if(len < 0)
{
-#if defined HAVE_WCSDUP
+#if defined HAVE_WCSDUP && !defined(__DragonFly__)
return wcsdup(s);
#else
len = (int)wcslen(s);
|