freebsd-ports/games/gtkradiant/files/patch-radiant__mainframe.cpp
Alejandro Pulver 8862378f79 GtkRadiant is a level design program developed by id Software and Loki
Software. It is used to create maps for a number of computer games.

GtkRadiant originated as Q3Radiant, the Quake III Arena level design tool,
which was a Windows-only application. Two major things are different in
GtkRadiant: it is based on the GTK+ toolkit, so it also works in Linux and Mac
OS X, and it's also game engine-independent, with functionality for new games
added as game packs.

GtkRadiant is an Open Source application. Source code is publicly available
from id Software's Subversion repository and new additions to the code are
covered under open source licenses. The core Q3Radiant code, however, was
originally under id Software's proprietary license. The license for both the
editor and toolset (notably Q3Map2, the BSP compiler) was changed in February
2006, and publicly released under the GPL on February 17.

WWW: http://www.qeradiant.com/

PR:		ports/93668
Submitted by:	Alejandro Pulver <alejandro@varnet.biz>
Approved by:	garga (mentor)
2006-05-10 18:35:19 +00:00

21 lines
579 B
C++

--- ./radiant/mainframe.cpp.orig Thu Mar 16 16:09:46 2006
+++ ./radiant/mainframe.cpp Thu Mar 16 16:09:46 2006
@@ -510,7 +510,7 @@
const char* const c_library_extension =
#if defined(WIN32)
"dll"
-#elif defined(__linux__)
+#elif defined(__linux__) || defined(__FreeBSD__)
"so"
#elif defined (__APPLE__)
"dylib"
@@ -3479,7 +3479,7 @@
const char* ENGINEPATH_ATTRIBUTE =
#if defined(WIN32)
"enginepath_win32"
-#elif defined(__linux__)
+#elif defined(__linux__) || defined(__FreeBSD__)
"enginepath_linux"
#elif defined(__APPLE__)
"enginepath_macos"