diff options
author | dholland <dholland@pkgsrc.org> | 2012-12-24 06:22:14 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2012-12-24 06:22:14 +0000 |
commit | 8c9cec3439b39858763b3aece701be62a9b80867 (patch) | |
tree | 2e00f0462b24cc15bf8a4bd0a2b8f338cfb13814 /games/lincity-ng | |
parent | 7c4a5139fd5e8183e3d84e9766c7ac4029e2e604 (diff) | |
download | pkgsrc-8c9cec3439b39858763b3aece701be62a9b80867.tar.gz |
Remove any getchar macro before defining a getchar member function.
Should fix (or advance) dfly build.
Diffstat (limited to 'games/lincity-ng')
-rw-r--r-- | games/lincity-ng/distinfo | 3 | ||||
-rw-r--r-- | games/lincity-ng/patches/patch-src_tinygettext_TinyGetText.cpp | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/games/lincity-ng/distinfo b/games/lincity-ng/distinfo index 0d516d436c8..521cd36915e 100644 --- a/games/lincity-ng/distinfo +++ b/games/lincity-ng/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2011/09/16 11:13:31 ryoon Exp $ +$NetBSD: distinfo,v 1.2 2012/12/24 06:22:14 dholland Exp $ SHA1 (lincity-ng-2.0.tar.bz2) = 2961a3f60f7481b33858d7d5ef7cf9c788d01077 RMD160 (lincity-ng-2.0.tar.bz2) = 0466d56687f18813f9c0454468c092d1f181123e Size (lincity-ng-2.0.tar.bz2) = 39475719 bytes +SHA1 (patch-src_tinygettext_TinyGetText.cpp) = 01b0360382be268834e7893f9d46efe60924d77b diff --git a/games/lincity-ng/patches/patch-src_tinygettext_TinyGetText.cpp b/games/lincity-ng/patches/patch-src_tinygettext_TinyGetText.cpp new file mode 100644 index 00000000000..ccb75d9c9a1 --- /dev/null +++ b/games/lincity-ng/patches/patch-src_tinygettext_TinyGetText.cpp @@ -0,0 +1,15 @@ +$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(); |