Bug 32628 - xmame-0.76.1 needs ~amd64 (with small change to ebuild)
Bug#: 32628 Product:  Gentoo Linux Version: 1.4 Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: caleb@webninja.com
Component: Games
URL:  http://x.mame.net/changes-unix.html
Summary: xmame-0.76.1 needs ~amd64 (with small change to ebuild)
Keywords:  
Status Whiteboard: 
Opened: 2003-11-03 08:22 0000
Description:   Opened: 2003-11-03 08:22 0000
xmame-0.76.1 needs ~amd64 with a small change to the ebuild.  in the section
near the top of the ebuild that sets CPU a stanza needs to be added that is
identical to all the others but sets CPU=amd64.  

As the person who wrote the patch for xmame to support amd64, I can assure you
this works :)

PS: As a side note, the same thing can be done for ia64, though I don't have an
ia64 machine to test this on.

PPS: we may want to consider adding support for the new LOW_MEM option in the
makefile for people with less than 256MB RAM, since xmame takes a TON of memory
to compile without it, but it does make the compile take longer with it, so
maybe via a local USE flag?  I recommend "lowspec".  I would be surprised if
there weren't other ebuilds that would benefit from this flag since I know of
at least one other program that has options for building with limited resources
(gcc - though in this case it's for building with limited disk space, not RAM,
which is why I recommend lowspec and not lowmem).

------- Comment #1 From Mr. Bones. 2003-11-03 15:54:44 0000 -------
Fixed in CVS.  Give it a try and see how it goes for you.  I'm hoping that
the joystick support can work with the 64 bit archs.  If not, it'll need
to
be a separate case in the case statement.

------- Comment #2 From Mr. Bones. 2003-11-04 01:29:26 0000 -------
Moving to TESTing.

------- Comment #3 From Mr. Bones. 2003-11-07 00:26:14 0000 -------
Ok, enough testing.

------- Comment #4 From SpanKY 2003-12-27 01:05:00 0000 -------
stupid bugzilla

------- Comment #5 From SpanKY 2003-12-27 01:05:39 0000 -------
this is fixed

------- Comment #6 From Lars Hugentobler 2004-01-12 13:20:57 0000 -------
Created an attachment (id=23698) [details]
ebuild diff for amd64

xmame-0.77.1.ebuild currently configures amd64 to use nasm and therefore fails
to compile. i suppose the reporter requested adding a cpu section similar to
the other architectures setting MY_CPU=amd64 instead of the current
configuration which assumes amd64=i386=ia64.
i'll attach a diff to fix the amd64 problem.
it's possible that ia64 requires a similar fix since the makefile also contains
# MY_CPU=ia64, but i don't have access to an ia64 machine to verify this.

by the way, the makefile contains the following statement about joysticks: 
# If supported, you can use the standard joystick driver.  Note that this 
# can work on non-x86 platforms.  I just haven't come up with a good 
# replacement name for it.

have not been able to test that, i don't have a joystick.