openbsd-ports/audio/id3lib/patches/patch-src_utils_cpp

18 lines
472 B
Plaintext

$OpenBSD: patch-src_utils_cpp,v 1.1 2004/01/05 13:53:35 espie Exp $
--- src/utils.cpp.orig 2004-01-05 03:47:33.000000000 +0100
+++ src/utils.cpp 2004-01-05 03:47:47.000000000 +0100
@@ -380,6 +380,7 @@ String dami::toString(uint32 val)
return text;
}
+#if !(defined(__GNUC__) && __GNUC__ >= 3)
WString dami::toWString(const unicode_t buf[], size_t len)
{
WString str;
@@ -391,4 +392,5 @@ WString dami::toWString(const unicode_t
}
return str;
}
+#endif