Date: Thu, 10 Jan 2008 12:41:26 -0500 From: James Cook <james.cook@utoronto.ca> To: ports@freebsd.org Cc: james.cook@utoronto.ca Subject: freebsd-games: hack needs -fwritable-strings Message-ID: <20080110174126.GA45584@glider>
next in thread | raw e-mail | index | archive | help
$ uname -a FreeBSD glider 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Tue Dec 11 13:40:40 PST 2007 james@angel:/usr/obj/usr/src/sys/GLIDER i386 The problem: - Install games/freebsd-games - run hack - Say "y" when it asks if you're experienced. - Type "T" for tourist. There will be a bus error. This seems to be caused by line 170 of hack.u_init.c, which attempts to modify a string constant. SOLUTION: Add -fwritable-strings to CFLAGS in hack's Makefile. (There's already a patch that changes that line of the Makefile, so this is easy to change.)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080110174126.GA45584>