freebsd-games: hack needs -fwritable-strings

Robert Huff roberthuff at rcn.com
Thu Jan 10 13:14:07 PST 2008


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


More information about the freebsd-ports mailing list