[MacPorts] #12352: BUG: XaoS 3.1.2 doesn't compile on MBP
MacPorts
trac at macosforge.org
Sun Jan 13 12:59:43 PST 2008
#12352: BUG: XaoS 3.1.2 doesn't compile on MBP
-------------------------------+--------------------------------------------
Reporter: macforge at cohi.at | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: High | Milestone: Port Bugs
Component: ports | Version:
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Comment (by albatros at icemx.net):
OK, this time I really did get xaos to compile, and it even seems to
work... This required two changes to the source code:
1) Moved the contents of src/include/formulas.h to src/include/fractal.h
(in an intelligent way, the #defines to the beginning, the extern
declarations to the end, plus change one or to #includes to reference
fractal.h instead of formulas.h). This got rid of the errors about a
struct declared for an unknown type in formulas.h.
2) Changed a register from bx to cx in an assembler inline in
src/engine/i386.c because the assembler complained about "PIC register bx
clobbered" (which seems strange because I didn't see any PIC on the
command line of the compiler, but I didn't bother to investigate further).
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/12352#comment:5>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list