Summary: | gnubg-0.14.3 patches to make it work in amd64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | playmiac <eap> |
Component: | [OLD] Games | Assignee: | AMD64 Project <amd64> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | games |
Priority: | High | Keywords: | TESTED |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | http://lists.gnu.org/archive/html/bug-gnubg/2006-03/msg00029.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ebuild diff
gnubg_0.14.3_amd64_gnubg.patch gnubg_0.14.3_amd64_renderprefs.patch gnubg_0.14.3_amd64_misc3d.patch gnubg_0.14.3_amd64_neuralnet_atlas_include.patch New ebuild for amd64 |
Description
playmiac
2006-03-25 11:19:07 UTC
Created attachment 83100 [details, diff]
ebuild diff
Created attachment 83101 [details, diff]
gnubg_0.14.3_amd64_gnubg.patch
Created attachment 83102 [details, diff]
gnubg_0.14.3_amd64_renderprefs.patch
Created attachment 83103 [details, diff]
gnubg_0.14.3_amd64_misc3d.patch
Created attachment 83104 [details, diff]
gnubg_0.14.3_amd64_neuralnet_atlas_include.patch
Have these patches been sent upstream? By me no, but they are from the gnubg mailing-list archive. Can we add these patches in portage so that gnubg will be buildable on amd64? Raphael Created attachment 97444 [details]
New ebuild for amd64
The gnubg diff posted above doesn't work anymore. Here is the new patched gnubg ebuild that works currently. Copy all the patches above into files and gnubg compiles ok.
Raphael
emerges without problems with the patches (the patches uses "_" instead of the default "-" as seperators) played a few games without any problems. emerge --info Portage 2.1.2_pre1 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64) ================================================================= System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Gentoo Base System version 1.12.5 Last Sync: Mon, 18 Sep 2006 16:30:01 +0000 ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.6-r1, 2.0.28-r1 dev-lang/python: 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo " MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X alsa amd apm avi berkdb bitmap-fonts cli crypt cups dlloader dri dvdr dvdread eds elibc_glibc emboss encode foomaticdb fortran gif gpm gstreamer gtk gtk2 imlib input_devices_keyboard input_devices_mouse isdnlog jpeg kde kernel_linux logrotate lzw lzw-tiff mikmod mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl sse3 ssl tcpd tiff truetype-fonts type1-fonts usb userland_GNU video_cards_nv video_cards_nvidia xorg xpm xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS Patches applied, for both amd64 and blas. Thank for report and patch. Patches are not needed to the gnubg developer, as their CVS code is already 64 bit friendly. Just they do not release major update :/ A note about blas: seems there is no way to disable blas support if blas is found on the system, so an eventual USE="-blas" is not good. Maybe we should patch the configure file |