Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32628 - xmame-0.76.1 needs ~amd64 (with small change to ebuild)
Summary: xmame-0.76.1 needs ~amd64 (with small change to ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Games
URL: http://x.mame.net/changes-unix.html
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-03 08:22 UTC by Caleb Shay
Modified: 2004-01-12 13:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild diff for amd64 (0.77.1-amd64.patch,643 bytes, patch)
2004-01-12 13:20 UTC, Lars Hugentobler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Caleb Shay 2003-11-03 08:22:45 UTC
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 Mr. Bones. (RETIRED) gentoo-dev 2003-11-03 15:54:44 UTC
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 Mr. Bones. (RETIRED) gentoo-dev 2003-11-04 01:29:26 UTC
Moving to TESTing.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2003-11-07 00:26:14 UTC
Ok, enough testing.
Comment 4 SpanKY gentoo-dev 2003-12-27 01:05:00 UTC
stupid bugzilla
Comment 5 SpanKY gentoo-dev 2003-12-27 01:05:39 UTC
this is fixed
Comment 6 Lars Hugentobler 2004-01-12 13:20:57 UTC
Created attachment 23698 [details, diff]
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.