From owner-freebsd-ports@FreeBSD.ORG Thu Jan 10 21:14:07 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 B585B16A417 for ; Thu, 10 Jan 2008 21:14:07 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 3DA6013C455 for ; Thu, 10 Jan 2008 21:14:06 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 10 Jan 2008 16:14:05 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.8.6-GA) with ESMTP id OGO34335; Thu, 10 Jan 2008 16:14:01 -0500 (EST) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 10 Jan 2008 16:12:58 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18310.35480.307764.676937@jerusalem.litteratus.org> Date: Thu, 10 Jan 2008 16:14:00 -0500 To: James Cook In-Reply-To: <20080110174126.GA45584@glider> References: <20080110174126.GA45584@glider> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Cc: ports@freebsd.org 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 21:14:07 -0000 James Cook writes: > 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.) Has something changed in the definition of correctly written code while I was away at the funny farm? Why is the solution not "Don't modify a costant."? Robert Huff