Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 2021 11:31:58 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6ec4d59381f7 - main - games/hs-scroll: Fix build with recent ncurses.
Message-ID:  <202104241131.13OBVwUn054077@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6ec4d59381f725e43d90000ae06f18757454f895

commit 6ec4d59381f725e43d90000ae06f18757454f895
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2021-04-24 11:30:05 +0000
Commit:     Gleb Popov <arrowd@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
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104241131.13OBVwUn054077>