pkgsrc/games/frotz/patches/patch-Makefile
nia 549b65deca frotz: update to 2.53
This is a minor release focusing on minor enhancements and bug fixes.

NEW FEATURES

- -E option to choose how emphasised text is rendered.

- X11 interface has been added as a compile target.

- Added new default TrueType font for sfrotz.

- Automatically select the appropriate interpreter number for V6 games.

- Limited mouse support for curses interface.

BUG FIXES

- Corrected potential trouble with garbage in filenames for SDL
  interface.

- Corrected a problem wherein @print_table would sometimes print garbage.

- Fixed a segfault problem when input buffers are abused.

- Double-clicks are now recognized in sfrotz and xfrotz.

- Fixed problem with spurious newline when a space triggers a word wrap.

- Fixed a problem with UTF-8 characters getting corrupted during line
  editing.

- Fixed some problems with V3 games scribbling on the status line in
  certain circumstances.

- Removed pre-C99 idioms and C++ comments in curses and core to benefit
  older compilers.  X11 is still pre-C99 clean.  SDL interface is not
  pre-C99-clean due to libSDL2 not being pre-C99-clean.

- Fixed a problem with the -x flag not properly expanding commands for
  some Infocom games.
2021-04-08 11:04:02 +00:00

31 lines
896 B
Text

$NetBSD: patch-Makefile,v 1.3 2021/04/08 11:04:02 nia Exp $
Don't force -O3, -g
--- Makefile.orig 2021-02-28 00:50:16.000000000 +0000
+++ Makefile
@@ -6,14 +6,13 @@
#CC ?= clang
# Enable compiler warnings. This is an absolute minimum.
-CFLAGS += -Wall -std=c99 -O3 #-Wextra
+CFLAGS += -Wall -std=c99 #-Wextra
# Define your optimization flags.
#
# These are good for regular use.
#CFLAGS += -O2 -fomit-frame-pointer -falign-functions=2 -falign-loops=2 -falign-jumps=2
# These are handy for debugging.
-CFLAGS += -g
# Define where you want Frotz installed
PREFIX ?= /usr/local
@@ -53,7 +52,7 @@ USE_UTF8 ?= yes
COLOR ?= yes
# Comment this out if your machine's version of curses doesn't support italic.
-ITALIC ?= yes
+#ITALIC ?= yes
# Select your chosen version of curses. Unless something old is going
# on, ncursesw should be used because that's how UTF8 is supported.