<?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>5932</bug_id>
          
          <creation_ts>2002-08-02 16:41 0000</creation_ts>
          <short_desc>app-games/crafty segfaults initializing opening book on ppc</short_desc>
          <delta_ts>2006-02-04 06:03:22 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>Applications</component>
          <version>unspecified</version>
          <rep_platform>PPC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=128335</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>nikai@nikai.net</reporter>
          <assigned_to>bass@supercable.es</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>nikai@nikai.net</who>
            <bug_when>2002-08-02 16:41:14 0000</bug_when>
            <thetext>This appears to be a known bug in Debian/ppc.  After applying Mark Brown&apos;s
patch, crafty will start up without segfaulting on my iBook. This is my proposal
for changing the ebuild. I&apos;ll attach the patch.

--- /usr/portage/app-games/crafty/crafty-18.15-r1.ebuild.orig   Fri Aug  2
23:24:55 2002
+++ /usr/portage/app-games/crafty/crafty-18.15-r1.ebuild        Fri Aug  2
23:24:20 2002
@@ -49,12 +49,12 @@

                else

+                       patch -p0
&lt;${FILESDIR}/crafty_segfault_opening_book_powerpc.patch
+
                        # fallback

                        # let everything as is, is wont be optimized, but
compile will hopefully work

-                       # not tested for ppc until now
-
                        makeopts=&quot;${makeopts}&quot;
                fi
        fi</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nikai@nikai.net</who>
            <bug_when>2002-08-02 16:46:08 0000</bug_when>
            <thetext>Created an attachment (id=2759)
Mark Brown&apos;s patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nikai@nikai.net</who>
            <bug_when>2002-08-03 03:18:15 0000</bug_when>
            <thetext>Sorry, what I wanted to say was &quot;This known bug was FIXED in Debian/ppc&quot;. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mguertin@macdiscussion.com</who>
            <bug_when>2002-08-07 09:41:35 0000</bug_when>
            <thetext>Patch added and tested ok, thanks Nicholas :)

Gerk</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>2759</attachid>
            <date>2002-08-02 16:46 0000</date>
            <desc>Mark Brown&apos;s patch</desc>
            <filename>crafty_segfault_opening_book_powerpc.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">Ci0tLSB1dGlsaXR5LmMub3JpZwlUaHUgTWF5IDIzIDE5OjAyOjI4IDIwMDIKKysrIHV0aWxpdHku
YwlGcmkgQXVnICAyIDIyOjI5OjQ5IDIwMDIKQEAgLTExNTksMTIgKzExNTksMTggQEAKIH0KIAog
dm9pZCBQcmludChpbnQgdmIsIGNoYXIgKmZtdCwgLi4uKSB7Ci0gIHZhX2xpc3QgYXA7CisgIHZh
X2xpc3QgYXAsIGFwMjsKICAgdmFfc3RhcnQoYXAsZm10KTsKKyAgI2lmZGVmIF9fdmFfY29weQor
ICBfX3ZhX2NvcHkoYXAyLCBhcCk7CisgICNlbHNlCisgIC8qIEZJWE1FOiBDOTkgaGFzIHZhX2Nv
cHkoKSAtIHRlc3QgZm9yIEM5OSBhbmQgdXNlIGl0IGlmIHByZXNlbnQgKi8gCisgIGFwMiA9IGFw
OworICAjZW5kaWYKICAgaWYgKHZiJmRpc3BsYXlfb3B0aW9ucykgdnByaW50ZihmbXQsIGFwKTsK
ICAgZmZsdXNoKHN0ZG91dCk7CiAgIGlmICh0aW1lX2xpbWl0Pjk5IHx8IHRjX3RpbWVfcmVtYWlu
aW5nPjYwMDAgfHwgdmI9PTQwOTUpIHsKLSAgICBpZiAobG9nX2ZpbGUpIHZmcHJpbnRmKGxvZ19m
aWxlLCBmbXQsIGFwKTsKKyAgICBpZiAobG9nX2ZpbGUpIHZmcHJpbnRmKGxvZ19maWxlLCBmbXQs
IGFwMik7CiAgICAgaWYgKGxvZ19maWxlKSBmZmx1c2gobG9nX2ZpbGUpOwogICB9CiAgIHZhX2Vu
ZChhcCk7Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>