<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>32628</bug_id>
          
          <creation_ts>2003-11-03 08:22 0000</creation_ts>
          <short_desc>xmame-0.76.1 needs ~amd64 (with small change to ebuild)</short_desc>
          <delta_ts>2004-01-12 13:21:26 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>1.4</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://x.mame.net/changes-unix.html</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>caleb@webninja.com</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          <cc>hugentob@cs.uni-frankfurt.de</cc>

      

      
          <long_desc isprivate="0">
            <who>caleb@webninja.com</who>
            <bug_when>2003-11-03 08:22:45 0000</bug_when>
            <thetext>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&apos;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 &quot;lowspec&quot;.  I would be surprised if there weren&apos;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&apos;s for building with limited disk space, not RAM, which is why I recommend lowspec and not lowmem).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2003-11-03 15:54:44 0000</bug_when>
            <thetext>Fixed in CVS.  Give it a try and see how it goes for you.  I&apos;m hoping that
the joystick support can work with the 64 bit archs.  If not, it&apos;ll need
to
be a separate case in the case statement.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2003-11-04 01:29:26 0000</bug_when>
            <thetext>Moving to TESTing.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2003-11-07 00:26:14 0000</bug_when>
            <thetext>Ok, enough testing.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-12-27 01:05:00 0000</bug_when>
            <thetext>stupid bugzilla</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-12-27 01:05:39 0000</bug_when>
            <thetext>this is fixed</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hugentob@cs.uni-frankfurt.de</who>
            <bug_when>2004-01-12 13:20:57 0000</bug_when>
            <thetext>Created an attachment (id=23698)
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&apos;ll attach a diff to fix the amd64 problem.
it&apos;s possible that ia64 requires a similar fix since the makefile also contains
# MY_CPU=ia64, but i don&apos;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&apos;t come up with a good 
# replacement name for it.

have not been able to test that, i don&apos;t have a joystick.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>23698</attachid>
            <date>2004-01-12 13:20 0000</date>
            <desc>ebuild diff for amd64</desc>
            <filename>0.77.1-amd64.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9nYW1lcy1lbXVsYXRpb24veG1hbWUveG1hbWUtMC43Ny4xLmVidWls
ZAkyMDA0LTAxLTAyIDAxOjE5OjA1LjAwMDAwMDAwMCArMDEwMAorKysgL3Vzci9sb2NhbC9wb3J0
YWdlL2dhbWVzLWVtdWxhdGlvbi94bWFtZS94bWFtZS0wLjc3LjEtcjEuZWJ1aWxkCTIwMDQtMDEt
MTIgMTg6MTI6NDYuNjg4NTUzMDk2ICswMTAwCkBAIC00MSw3ICs0MSw3IEBACiAKIAlsbiAtcyBt
YWtlZmlsZS51bml4IE1ha2VmaWxlCiAJY2FzZSAiJHtBUkNIfSIgaW4KLQl4ODZ8aWE2NHxhbWQ2
NCkKKwl4ODZ8aWE2NCkKIAkJc2VkIC1pIFwKIAkJCS1lICcvWDg2X0FTTV82ODAwMCA9L3M6Izo6
JyBcCiAJCQktZSAnL1g4Nl9NSVBTM19EUkMgPS9zOiM6OicgTWFrZWZpbGUgXApAQCAtNTIsNiAr
NTIsMTEgQEAKIAkJCQl8fCBkaWUgInNlZCBNYWtlZmlsZSAoam95c3RpY2spIGZhaWxlZCIKIAkJ
ZmkKIAkJOzsKKwlhbWQ2NCkKKwkJc2VkIC1pIFwKKwkJCS1lICcvXk1ZX0NQVS9zOmkzODY6YW1k
NjQ6JyBNYWtlZmlsZSBcCisJCQl8fCBkaWUgInNlZCBNYWtlZmlsZSAoYW1kNjQpIGZhaWxlZCIK
KwkJOzsKIAlwcGN8c3BhcmMpCiAJCXNlZCAtaSBcCiAJCQktZSAnL15NWV9DUFUvczppMzg2OnJp
c2M6JyBNYWtlZmlsZSBcCg==
</data>        

          </attachment>
    </bug>

</bugzilla>