From owner-freebsd-ports@FreeBSD.ORG Fri Jan 11 10:52:29 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 637D016A421 for ; Fri, 11 Jan 2008 10:52:29 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 1F59A13C45A for ; Fri, 11 Jan 2008 10:52:28 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-191-236.dclient.hispeed.ch ([80.218.191.236] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JDHUx-0000zI-EL; Fri, 11 Jan 2008 11:52:27 +0100 Message-ID: <478749FB.6010303@gahr.ch> Date: Fri, 11 Jan 2008 11:50:35 +0100 From: Pietro Cerutti User-Agent: Thunderbird 2.0.0.9 (X11/20071121) MIME-Version: 1.0 To: James Cook , freebsd ports References: <20080110174126.GA45584@glider> In-Reply-To: <20080110174126.GA45584@glider> X-Enigmail-Version: 0.95.5 OpenPGP: id=9571F78E; url=http://www.gahr.ch/pgp Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig63BCFBDDD3E2585F1B728755" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gahr.ch X-Source: X-Source-Args: X-Source-Dir: Cc: Subject: Re: 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: Fri, 11 Jan 2008 10:52:29 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig63BCFBDDD3E2585F1B728755 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable James Cook wrote: > $ 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 >=20 > 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. >=20 > This seems to be caused by line 170 of hack.u_init.c, which attempts to= > modify a string constant. >=20 > 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.) the -fwritable-strings option has been deprecated on GCC 3.x and has removed on GCC 4.x. A code modernization is likely to be needed. --=20 Pietro Cerutti PGP Public Key: http://gahr.ch/pgp --------------enig63BCFBDDD3E2585F1B728755 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHh0oBwMJqmJVx944RClKcAJ0X2VLPUbwP74oTfOZj/rbpyWQ9dgCffwdG s6u+quW6eqyv1mjV7NNGHOw= =S3zM -----END PGP SIGNATURE----- --------------enig63BCFBDDD3E2585F1B728755--