pkgsrc-ng/games/lincity-ng/patches/patch-src_tinygettext_TinyGetText.cpp
2013-09-26 17:14:40 +02:00

16 lines
432 B
C++

$NetBSD: patch-src_tinygettext_TinyGetText.cpp,v 1.1 2012/12/24 06:22:14 dholland Exp $
Remove any getchar macro before declaring a getchar member function.
Required for building on DragonFly.
--- src/tinygettext/TinyGetText.cpp~ 2009-01-25 20:20:41.000000000 +0000
+++ src/tinygettext/TinyGetText.cpp
@@ -680,6 +680,7 @@ public:
}
}
+#undef getchar
inline int getchar(std::istream& in)
{
int c = in.get();