<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39652 >
On Sat, 1 Sep 2007 Marko Lindqvist wrote: > Great! > > Forwarding message to RT for handling patch. > > ---------- Forwarded message ---------- > From: Peter Speybrouck > Date: 01-Sep-2007 21:01 > Subject: [Freeciv-Dev] freeciv ported to skyos > To: [email protected] > > > Hi, just wanted to inform you guys that the latest beta (2.1.0-beta6) > compiles and runs fine on SkyOS with only a very minor patch (below). Wonderful! > I could send you the binary package if you want, but since skyos is > still evolving, it might need to be recompiled in the future so we > will host it ourself for now. Please, make an entry with download url if possible at http://www.freeciv.org/More_distributions > Some screenshots here: > http://www.skyos.org/?q=node/621 > > > ------------begin patch --------- > > --- utility/shared.c.orig 2007-09-01 19:11:56 +0000 > +++ utility/shared.c 2007-09-01 18:10:36 +0000 > @@ -1337,7 +1337,7 @@ > ***************************************************************************/ > void dont_run_as_root(const char *argv0, const char *fallback) > { > -#if (defined(ALWAYS_ROOT) || defined(__EMX__) || defined(__BEOS__)) > +#if (defined(ALWAYS_ROOT) || defined(__EMX__) || defined(__BEOS__) || > defined(__SKYOS__)) > return; > #else > if (getuid()==0 || geteuid()==0) { > > --------------- end patch ----------- Vasco (and, probably, others) said, that we shouldn't use such defined() macro, due to possible problems with cross-compiling. Not that I know, how to make it right... (But maybe win32-specific code suggests?) -- Thanks, evyscr _______________________________________________ Freeciv-dev mailing list [email protected] https://mail.gna.org/listinfo/freeciv-dev
