diff options
author | dholland <dholland@pkgsrc.org> | 2011-12-15 04:18:16 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2011-12-15 04:18:16 +0000 |
commit | b30373248291c35b16007b30256df8eebdaa241d (patch) | |
tree | fb8d9b54253efacdd95da784ad2e5dfc62cd8c4e /games/xblockout/patches | |
parent | f101241a3ae2b775d548e9703067cd86a9b32c4a (diff) | |
download | pkgsrc-b30373248291c35b16007b30256df8eebdaa241d.tar.gz |
Don't compile in the games group. PKGREVISION++
Diffstat (limited to 'games/xblockout/patches')
-rw-r--r-- | games/xblockout/patches/patch-score_c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/games/xblockout/patches/patch-score_c b/games/xblockout/patches/patch-score_c new file mode 100644 index 00000000000..1ca51da55ed --- /dev/null +++ b/games/xblockout/patches/patch-score_c @@ -0,0 +1,18 @@ +$NetBSD: patch-score_c,v 1.1 2011/12/15 04:18:16 dholland Exp $ + +Don't compile in the games gid. + +XXX: this game runs all the time with elevated privs; it should be +XXX: taught toggle setgid only when needed. + +--- score.c~ 2003-08-30 21:23:11.000000000 +0000 ++++ score.c +@@ -306,7 +306,7 @@ int addscore(int x, int y, int z, int p, + fd = creat(buf,(mode_t)0644) ; + else + fd = creat(buf,(mode_t)0664) ; +- chown( buf,0,GROUP_GID ) ; ++ chown( buf,0, getegid() ) ; + } + #else + { |