1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

games/hs-scroll: Fix build with recent ncurses.

Reported by:	pkg-fallout
This commit is contained in:
Gleb Popov 2021-04-24 14:30:05 +03:00
parent 865be5c1f3
commit 6ec4d59381

View File

@ -0,0 +1,19 @@
--- ncurses-0.2.16/lib/UI/NCurses/Enums.chs.orig 2016-08-29 01:09:37 UTC
+++ ncurses-0.2.16/lib/UI/NCurses/Enums.chs
@@ -41,7 +41,7 @@ class Enum a where
pred, succ :: a -> a
pred = error "ncurses Enum: pred"
succ = error "ncurses Enum: succ"
-
+
enumFrom :: a -> [a]
enumFrom = error "ncurses Enum: enumFrom"
enumFromThen :: a -> a -> [a]
@@ -195,7 +195,6 @@ enum hsncurses_Key
, hsncurses_KEY_UNDO = KEY_UNDO
, hsncurses_KEY_MOUSE = KEY_MOUSE
, hsncurses_KEY_RESIZE = KEY_RESIZE
-, hsncurses_KEY_EVENT = KEY_EVENT
};
#endc