9765d1d25c
Heroes is similar to the "Tron" and "Nibbles" games of yore, but includes many graphical improvements and new game features. In it, you must maneuver a small vehicle around a world and collect powerups while avoiding obstacles. Flavors: sdl - build with the Simple DirectMedia Layer library and SDL_mixer for the sound interface ggi - build with the Generic Graphics Library no sound support
22 lines
659 B
Plaintext
22 lines
659 B
Plaintext
$OpenBSD: patch-src_persona_c,v 1.1.1.1 2001/08/10 17:00:16 pvalchev Exp $
|
|
--- src/persona.c.orig Thu Aug 9 12:22:25 2001
|
|
+++ src/persona.c Thu Aug 9 12:22:27 2001
|
|
@@ -58,7 +58,7 @@ void
|
|
user_persona (void)
|
|
{
|
|
dmsg (D_SYSTEM, "switching to the user persona");
|
|
-#if _POSIX_SAVED_IDS && HAVE_SETEGID
|
|
+#if defined(_POSIX_SAVED_IDS) && defined(HAVE_SETEGID)
|
|
seteuid (user_uid);
|
|
setegid (user_gid);
|
|
#else
|
|
@@ -81,7 +81,7 @@ void
|
|
sys_persona (void)
|
|
{
|
|
dmsg (D_SYSTEM, "switching to the system persona");
|
|
-#if _POSIX_SAVED_IDS && HAVE_SETEGID
|
|
+#if defined(_POSIX_SAVED_IDS) && defined(HAVE_SETEGID)
|
|
seteuid (sys_uid);
|
|
setegid (sys_gid);
|
|
#else
|