diff options
| author | Chris Piazza <cpiazza@FreeBSD.org> | 1999-07-03 06:36:37 +0000 |
|---|---|---|
| committer | Chris Piazza <cpiazza@FreeBSD.org> | 1999-07-03 06:36:37 +0000 |
| commit | a12cebc97103a513a28193a4f964c8643cfb41ba (patch) | |
| tree | a8b3c146d1df4f0d4f67987489c0b0212951a612 /games/fgfs-base/files/patch-ab | |
| parent | Update to 1.3. (diff) | |
FlightGear, a free, multi-platform civil aviation flight simulator.
A 3d accelerator card supported by Mesa is highly recommended (3dfx
voodoo/voodo2 / nvidia riva tnt are known to work.)
PR: 12483
Submitted by: Brian Buchanan <brian@CSUA.Berkeley.EDU>
Diffstat (limited to 'games/fgfs-base/files/patch-ab')
| -rw-r--r-- | games/fgfs-base/files/patch-ab | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/games/fgfs-base/files/patch-ab b/games/fgfs-base/files/patch-ab new file mode 100644 index 000000000000..81840b3e61a7 --- /dev/null +++ b/games/fgfs-base/files/patch-ab @@ -0,0 +1,32 @@ +--- Tools/Construct/Parallel/client.cxx.orig Fri May 21 13:18:06 1999 ++++ Tools/Construct/Parallel/client.cxx Sat Jun 26 22:32:01 1999 +@@ -20,6 +20,11 @@ + + #include <Bucket/newbucket.hxx> + ++/* the next lines are to define BSD */ ++/* see http://www.freebsd.org/handbook/porting.html for why we do this */ ++#if (defined(__unix__) || defined(unix)) && !defined(USG) ++#include <sys/param.h> ++#endif + + #define MAXBUF 1024 + #define BUSY_WAIT_TIME 30 +@@ -45,6 +50,9 @@ + + // check if the host system is free of interactive users + int system_free() { ++ ++#ifndef BSD ++ + struct utmp *uptr; + + setutent(); +@@ -61,6 +69,7 @@ + } + + endutent(); ++#endif + return 1; + } + |
