From owner-freebsd-ports@FreeBSD.ORG Thu Jan 10 18:20:45 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E245516A41B for ; Thu, 10 Jan 2008 18:20:45 +0000 (UTC) (envelope-from james.cook@utoronto.ca) Received: from tomts49-srv.bellnexxia.net (tomts49.bellnexxia.net [209.226.175.193]) by mx1.freebsd.org (Postfix) with ESMTP id 6476813C448 for ; Thu, 10 Jan 2008 18:20:45 +0000 (UTC) (envelope-from james.cook@utoronto.ca) Received: from toip3.srvr.bell.ca ([209.226.175.86]) by tomts43-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20080110174146.DHQA26794.tomts43-srv.bellnexxia.net@toip3.srvr.bell.ca> for ; Thu, 10 Jan 2008 12:41:46 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAD7nhUdBX36a/2dsb2JhbACpfwM Received: from bas4-toronto63-1096777370.dsl.bell.ca (HELO glider) ([65.95.126.154]) by toip3.srvr.bell.ca with SMTP; 10 Jan 2008 12:38:33 -0500 Received: by glider (sSMTP sendmail emulation); Thu, 10 Jan 2008 12:41:26 -0500 Date: Thu, 10 Jan 2008 12:41:26 -0500 From: James Cook To: ports@freebsd.org Message-ID: <20080110174126.GA45584@glider> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: james.cook@utoronto.ca Subject: freebsd-games: hack needs -fwritable-strings X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jan 2008 18:20:46 -0000 $ 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.)