freebsd-ports/games/pioneer/files/patch-src_posix_OSPosix.cpp
Dmitry Marakasov 7560c00d68 Pioneer Space Simulator.
Pioneer is a space adventure game set in the Milky Way galaxy at the turn of
the 31st century.

The game is open-ended, and you are free to explore the millions of star
systems in the game. You can land on planets, slingshot past gas giants, and
burn yourself to a crisp flying between binary star systems. You can try your
hand at piracy, make your fortune trading between systems, or do missions for
the various factions fighting for power, freedom or self-determination.

WWW: http://pioneerspacesim.net
WWW: http://github.com/pioneerspacesim/pioneer

PR:		193213
Submitted by:	lightside@gmx.com
2014-10-29 04:40:29 +00:00

11 lines
469 B
C++

--- src/posix/OSPosix.cpp.orig 2014-08-28 18:02:26.000000000 +0400
+++ src/posix/OSPosix.cpp 2014-08-31 21:03:27.000000000 +0400
@@ -111,7 +111,7 @@
}
char infoString[2048];
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__FREEBSD__)
snprintf(infoString, 2048, "System Name: %s\nHost Name: %s\nRelease(Kernel) Version: %s\nKernel Build Timestamp: %s\nMachine Arch: %s\n",
uts.sysname, uts.nodename, uts.release, uts.version, uts.machine);
#else