[quake3-bugzilla] [Bug 4271] New: make ioquake3 1.36 compile and run on FreeBSD and add hooks for the FreeBSD-ports package building system

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Sun Aug 30 18:29:56 EDT 2009


http://bugzilla.icculus.org/show_bug.cgi?id=4271

           Summary: make ioquake3 1.36 compile and run on FreeBSD and add
                    hooks for the FreeBSD-ports package building system
           Product: ioquake3
           Version: 1.36
          Platform: All
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Platform
        AssignedTo: zakk at icculus.org
        ReportedBy: kamikaze at bsdforen.de
         QAContact: quake3-bugzilla at icculus.org


Created an attachment (id=2107)
 --> (http://bugzilla.icculus.org/attachment.cgi?id=2107)
Bug fixes and enhancements for FreeBSD.

ioquake3 1.36 does not compile on FreeBSD

This is a collection of patches I have created for the FreeBSD-ports package
building system and I'd like them to hit SVN. I'm willing to maintain the
FreeBSD section of the Makefile and test SVN snapshots regularly.

All the changes are enclosed in #ifdef __FreeBSD__ or equivalents. I actually
see no reason to limit the changes to FreeBSD, but I wanted to leave this up to
the developers (you).

The following things are done:

== Makefile ==
- FreeBSD-amd64 breakage in the Makefile has been fixed.
- Default CFLAGS are obeyed (important for -march).
- HOMEPATH support to avoid conflicts with other quake3 engines and allow
different home paths for the release and SVN versions in the FreeBSD-ports
tree, e.g. "/.ioquake3" and "/.ioquake3-devel".
- DEFAULT_LIBDIR support to allow sharing game data with other engines, without
putting the libraries into different locations.

== README ==
- Document DEFAULT_LIBDIR and HOMEPATH.

== code/qcommon/q_platform.h ==
- Fix amd64 breakage.

== code/qcommon/vm_x86_64.c ==
- Fix typo that causes compile failure.

== code/qcommon/files.c code/qcommon/qcommon.h code/sys/sys_main.c ==
- Add fs_libpath cvar.
- Add Sys_SetDefaultLibPath() and Sys_DefaultLibPath() functions.
- Default libpath to DEFAULT_LIBPATH (see Makefile).

== code/sys/sys_unix.c ==
- Add HOMEPATH support (see Makefile).

-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list