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.
Created attachment 76212 [details, diff] compile patch
mind to give an exact version number + path + emerge info please?
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
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.
fixed in next version of upstream.