diff options
author | joerg <joerg@pkgsrc.org> | 2013-04-29 21:31:09 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-04-29 21:31:09 +0000 |
commit | 6e046ee9d87a4b818e73943146107b522dc94508 (patch) | |
tree | b710080e6271cb564fc3ba34cc7bac3fab429e6d /games/xye | |
parent | 0a5f84a912074adb51a614e31607e7ab495cc90a (diff) | |
download | pkgsrc-6e046ee9d87a4b818e73943146107b522dc94508.tar.gz |
Add a number of includes hidden by libstdc++'s name space pollution.
Diffstat (limited to 'games/xye')
-rw-r--r-- | games/xye/distinfo | 3 | ||||
-rw-r--r-- | games/xye/patches/patch-src_gen.cpp | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/games/xye/distinfo b/games/xye/distinfo index 8f572b81ec3..4ca1ff0f646 100644 --- a/games/xye/distinfo +++ b/games/xye/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2009/09/15 11:43:02 drochner Exp $ +$NetBSD: distinfo,v 1.4 2013/04/29 21:31:11 joerg Exp $ SHA1 (xye-0.9.1.tar.gz) = f10386fb8553b3377ec3592652c96fcb7827b857 RMD160 (xye-0.9.1.tar.gz) = 5bc45c2595a9179c7bf77582d6d254f60e652dc0 Size (xye-0.9.1.tar.gz) = 1217636 bytes SHA1 (patch-aa) = 5992b8785b3db457785809a8e4dc684117461f28 +SHA1 (patch-src_gen.cpp) = 8cf75045e7931fe4ea12309311cbc73ba371861b diff --git a/games/xye/patches/patch-src_gen.cpp b/games/xye/patches/patch-src_gen.cpp new file mode 100644 index 00000000000..e5b9675321f --- /dev/null +++ b/games/xye/patches/patch-src_gen.cpp @@ -0,0 +1,12 @@ +$NetBSD: patch-src_gen.cpp,v 1.1 2013/04/29 21:31:11 joerg Exp $ + +--- src/gen.cpp.orig 2013-04-29 18:55:25.000000000 +0000 ++++ src/gen.cpp +@@ -19,6 +19,7 @@ Permission is granted to anyone to use t + #include "gen.h"
+ #include "vxsdl.h"
+ #include<cstdio>
++#include<ctime>
+
+ const float F_RAND_MAX = (float)(RAND_MAX);
+
|