git: 6ec4d59381f7 - main - games/hs-scroll: Fix build with recent ncurses.
Gleb Popov
arrowd at FreeBSD.org
Sat Apr 24 11:31:59 UTC 2021
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6ec4d59381f725e43d90000ae06f18757454f895
commit 6ec4d59381f725e43d90000ae06f18757454f895
Author: Gleb Popov <arrowd at FreeBSD.org>
AuthorDate: 2021-04-24 11:30:05 +0000
Commit: Gleb Popov <arrowd at FreeBSD.org>
CommitDate: 2021-04-24 11:31:19 +0000
games/hs-scroll: Fix build with recent ncurses.
Reported by: pkg-fallout
---
.../patch-ncurses-0.2.16_lib_UI_NCurses_Enums.chs | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/games/hs-scroll/files/patch-ncurses-0.2.16_lib_UI_NCurses_Enums.chs b/games/hs-scroll/files/patch-ncurses-0.2.16_lib_UI_NCurses_Enums.chs
new file mode 100644
index 000000000000..b7c40c960a47
--- /dev/null
+++ b/games/hs-scroll/files/patch-ncurses-0.2.16_lib_UI_NCurses_Enums.chs
@@ -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
+
More information about the dev-commits-ports-all
mailing list