Bug 183959 - [maintainer-update] games/ioquake3 games/ioquake3-server
Summary: [maintainer-update] games/ioquake3 games/ioquake3-server
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-14 17:50 UTC by kamikaze
Modified: 2014-06-10 12:26 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (837 bytes, patch)
2013-11-14 17:50 UTC, kamikaze
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kamikaze 2013-11-14 17:50:00 UTC
games/ioquake3 and games/ioquake3-server do not build on i386 due to clang variable scope issues in combination with inline assembler.

Fix: The proposed fix simply renders the offending static variable global. This is bad style, but can be done safely, because there are no extern declarations referring to it.

Patch attached with submission follows:
How-To-Repeat: # cd /usr/ports/games/ioquake3
# make ARCH=i386
Comment 1 John Marino freebsd_committer 2014-06-10 12:11:01 UTC
I believe this was fixed here:
http://svnweb.freebsd.org/ports?view=revision&revision=356137
Comment 2 kamikaze 2014-06-10 12:26:37 UTC
True, I forgot I had filed that one when I filed a new PR 4 months later.