ports/56990: Report our platform as FreeBSD, not Linnex

Alexey Dokuchaev danfe at regency.nsu.ru
Fri Sep 19 02:50:21 UTC 2003


>Number:         56990
>Category:       ports
>Synopsis:       Report our platform as FreeBSD, not Linnex
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 18 19:50:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Dokuchaev
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
CNIT NSU
>Environment:
System: FreeBSD regency.nsu.ru 4.8-STABLE FreeBSD 4.8-STABLE #0: Fri Aug 8 20:27:14 NOVST 2003 root at regency.nsu.ru:/usr/obj/usr/src/sys/REGENCY i386
>Description:
It would be nice to redefine QW_PLATFORM to ``FreeBSD'' instead of ``Linux''
(which is default), so to make FuhQuake report real box type it's being
run onto.
>How-To-Repeat:
N/A
>Fix:
Just add that following patch-file to games/fuhquake/files/ directory
(as patch-version.h):

--- version.h.orig	Thu Sep 18 23:36:30 2003
+++ version.h	Thu Sep 18 23:36:50 2003
@@ -7,7 +7,7 @@
 #ifdef _WIN32
 #define QW_PLATFORM	"Win32"
 #else 
-#define QW_PLATFORM	"Linux"
+#define QW_PLATFORM	"FreeBSD"
 #endif
 
 #ifdef GLQUAKE

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list