freebsd-ports/games/mangband/files/patch-src_common_z-file.c
Adriaan de Groot 14a3d89c67 Update games/mangband to latest upstream release
Unmark BROKEN, generate patches for the bits (duplicate symbols) that
broke the build, (these have been submitted upstream), massage messages
and such. Changing version **DOES** mean that you can't connect to
older servers, so include UPDATING to try to avoid people losing
games (killed by pkg upgrade is so much more disheartening than
killed by a Greater basilisk).

Reported by:	linimon
2021-02-18 23:20:29 +00:00

15 lines
282 B
C

--- src/common/z-file.c.orig 2021-02-18 22:29:46 UTC
+++ src/common/z-file.c
@@ -84,8 +84,9 @@ unsigned _cdecl _dos_getfileattr(const char *, unsigne
/**
* Player info
*/
-int player_uid;
-int player_egid;
+int player_uid = 0;
+int player_euid = 0;
+int player_egid = 0;