Bug 5932 - app-games/crafty segfaults initializing opening book on ppc
Bug#: 5932 Product:  Gentoo Linux Version: unspecified Platform: PPC
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: bass@supercable.es Reported By: nikai@nikai.net
Component: Applications
URL:  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=128335
Summary: app-games/crafty segfaults initializing opening book on ppc
Keywords:  
Status Whiteboard: 
Opened: 2002-08-02 16:41 0000
Description:   Opened: 2002-08-02 16:41 0000
This appears to be a known bug in Debian/ppc.  After applying Mark Brown's
patch, crafty will start up without segfaulting on my iBook. This is my proposal
for changing the ebuild. I'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
<${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="${makeopts}"
                fi
        fi

------- Comment #1 From Nicolas Kaiser 2002-08-02 16:46:08 0000 -------
Created an attachment (id=2759) [details]
Mark Brown's patch

------- Comment #2 From Nicolas Kaiser 2002-08-03 03:18:15 0000 -------
Sorry, what I wanted to say was "This known bug was FIXED in Debian/ppc". 

------- Comment #3 From Mark Guertin 2002-08-07 09:41:35 0000 -------
Patch added and tested ok, thanks Nicholas :)

Gerk