Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117829 - lincity-ng works in ppc-macos
Summary: lincity-ng works in ppc-macos
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: All OS X
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-04 20:37 UTC by Aaron
Modified: 2006-04-12 10:54 UTC (History)
1 user (show)

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


Attachments
compile patch (lincity-ng-1.0.2-gcc4.patch,1.00 KB, patch)
2006-01-04 20:37 UTC, Aaron
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron 2006-01-04 20:37:29 UTC
lincity-ng works after
1. the patch in bug #117827 is applied
and
2. after the attached patch is applied.

it compiles/runs fine. graphics/sound work.
Comment 1 Aaron 2006-01-04 20:37:56 UTC
Created attachment 76212 [details, diff]
compile patch
Comment 2 Fabian Groffen gentoo-dev 2006-01-05 02:39:44 UTC
mind to give an exact version number + path + emerge info please?
Comment 3 Aaron 2006-01-05 08:08:58 UTC
games-simulation/lincity-ng-1.0.2
!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.1_pre3-r1 (default-darwin/macos/10.4, gcc-4.0.1, libsystem-7.1-r0, 8.3.1 i386)
=================================================================
System uname: 8.3.1 i386 i386
macos-20041118
distcc 2.18.3-Apple powerpc-apple-darwin8.0 (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CBUILD="x86-apple-darwin8"
CFLAGS="-O2 -pipe"
CHOST="x86-apple-darwin8"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc audiofile emboss gif ogg opengl png ppc-macos sdl tiff vorbis zlib elibc_Darwin kernel_Darwin userland_Darwin"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 4 Matze Braun 2006-01-09 08:05:37 UTC
Would be nice if you could also send reports about such compile problems upstream... Anyway the patch here is wrong, replacing "unsigned int" with "unsigned long" will make it work on ppc but probably break lots of others. The correct fix would be to replace "unsigned int" with "GLuint".
I did this in the development version of lincity-ng and it'll be in the next release.
Comment 5 Fabian Groffen gentoo-dev 2006-01-09 09:57:46 UTC
fixed in next version of upstream.