Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5932 - app-games/crafty segfaults initializing opening book on ppc
Summary: app-games/crafty segfaults initializing opening book on ppc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: José Alberto Suárez López
URL: http://bugs.debian.org/cgi-bin/bugrep...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-02 16:41 UTC by Nicolas Kaiser
Modified: 2006-02-04 06:03 UTC (History)
0 users

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


Attachments
Mark Brown's patch (crafty_segfault_opening_book_powerpc.patch,634 bytes, patch)
2002-08-02 16:46 UTC, Nicolas Kaiser
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Kaiser 2002-08-02 16:41:14 UTC
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 Nicolas Kaiser 2002-08-02 16:46:08 UTC
Created attachment 2759 [details, diff]
Mark Brown's patch
Comment 2 Nicolas Kaiser 2002-08-03 03:18:15 UTC
Sorry, what I wanted to say was "This known bug was FIXED in Debian/ppc". 
Comment 3 Mark Guertin 2002-08-07 09:41:35 UTC
Patch added and tested ok, thanks Nicholas :)

Gerk