From owner-dev-commits-ports-all@freebsd.org Sat Apr 24 11:31:59 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 27A1F5FBF51; Sat, 24 Apr 2021 11:31:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FS8Bl0gfwz4qDP; Sat, 24 Apr 2021 11:31:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0A1E320015; Sat, 24 Apr 2021 11:31:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13OBVwc8054078; Sat, 24 Apr 2021 11:31:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13OBVwUn054077; Sat, 24 Apr 2021 11:31:58 GMT (envelope-from git) Date: Sat, 24 Apr 2021 11:31:58 GMT Message-Id: <202104241131.13OBVwUn054077@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: 6ec4d59381f7 - main - games/hs-scroll: Fix build with recent ncurses. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6ec4d59381f725e43d90000ae06f18757454f895 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2021 11:31:59 -0000 The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=6ec4d59381f725e43d90000ae06f18757454f895 commit 6ec4d59381f725e43d90000ae06f18757454f895 Author: Gleb Popov AuthorDate: 2021-04-24 11:30:05 +0000 Commit: Gleb Popov 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 +