From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 306AE1581B9 for ; Fri, 03 Oct 2025 01:08:02 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 296B434102E for ; Fri, 03 Oct 2025 00:42:38 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 2C1051103E2; Fri, 03 Oct 2025 00:42:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 1CE6C1103E2 for ; Fri, 03 Oct 2025 00:42:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7E3C7340E7A for ; Fri, 03 Oct 2025 00:42:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 236CD3A8D for ; Fri, 03 Oct 2025 00:41:43 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1759451895.676c44ddd36d18c33ab97b6dcf8bb77777e6704e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/cavezofphear/files/, games-arcade/cavezofphear/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-arcade/cavezofphear/Manifest games-arcade/cavezofphear/cavezofphear-0.6.1.ebuild games-arcade/cavezofphear/files/cavezofphear-0.6.1-gcc15.patch games-arcade/cavezofphear/metadata.xml X-VCS-Directories: games-arcade/cavezofphear/ games-arcade/cavezofphear/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 676c44ddd36d18c33ab97b6dcf8bb77777e6704e X-VCS-Branch: master Date: Fri, 03 Oct 2025 00:41:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8db7a1dd-588c-4a05-bc77-7791a80e6552 X-Archives-Hash: 680c503fc31b62fd0fce7416e6653ba0 commit: 676c44ddd36d18c33ab97b6dcf8bb77777e6704e Author: Alexey Sokolov asokolov org> AuthorDate: Sun Sep 28 21:48:26 2025 +0000 Commit: Sam James gentoo org> CommitDate: Fri Oct 3 00:38:15 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=676c44dd games-arcade/cavezofphear: add 0.6.1 Closes: https://bugs.gentoo.org/943818 Signed-off-by: Alexey Sokolov asokolov.org> Part-of: https://github.com/gentoo/gentoo/pull/43979 Signed-off-by: Sam James gentoo.org> games-arcade/cavezofphear/Manifest | 1 + .../cavezofphear/cavezofphear-0.6.1.ebuild | 30 ++++++++++++++++++++ .../files/cavezofphear-0.6.1-gcc15.patch | 32 ++++++++++++++++++++++ games-arcade/cavezofphear/metadata.xml | 11 +++++--- 4 files changed, 70 insertions(+), 4 deletions(-) diff --git a/games-arcade/cavezofphear/Manifest b/games-arcade/cavezofphear/Manifest index b83142b399c9..e2a8edcfe1fb 100644 --- a/games-arcade/cavezofphear/Manifest +++ b/games-arcade/cavezofphear/Manifest @@ -1 +1,2 @@ +DIST cavezofphear-0.6.1.tar.gz 46968 BLAKE2B 7391c55fdbb90f6f4756b58281058b9adbf72730d002f89fe033d8440eb006f62f9a065efc71945e70c3ce1c0ab8f42c9873646f3b880ce5c5e0970d9bf86c65 SHA512 a97c37d8fc68b8028cc1cb5bbc0db0b98a042b375ac7ecc126cf87845e8423a07015b4b706ccec10de8e177b1cc6984c7c809b56507a1784c23a1a0fe135bc5e DIST phear-0.5.1.tar.bz2 25750 BLAKE2B 0b2c4a6f51fadd48a1e01dd5ac2072984368b3314fd3df01d4ad8adfdc0d031d443ac5f950651d4fff4ff5019b61868532eff0ed3d31bd6b2ba0f97893391d6a SHA512 23326a63acc06e77a1dd3505345940f8ef31b671282e00f623b181fe1cdbdf1b7e4b37a6e91ea430348a02239ed1450736dc075ea3af3eee0e8acb115aa89f3b diff --git a/games-arcade/cavezofphear/cavezofphear-0.6.1.ebuild b/games-arcade/cavezofphear/cavezofphear-0.6.1.ebuild new file mode 100644 index 000000000000..1958a4635008 --- /dev/null +++ b/games-arcade/cavezofphear/cavezofphear-0.6.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="A boulder dash / digger-like game for console using ncurses" +HOMEPAGE="https://github.com/AMDmi3/cavezofphear" +SRC_URI="https://github.com/AMDmi3/cavezofphear/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=">=sys-libs/ncurses-5:0=" +DEPEND="${RDEPEND}" +BDEPEND="sys-apps/help2man" + +PATCHES=( + "${FILESDIR}"/${P}-gcc15.patch +) + +src_configure() { + local mycmakeargs=( + -DSYSTEMWIDE=yes + ) + + cmake_src_configure +} diff --git a/games-arcade/cavezofphear/files/cavezofphear-0.6.1-gcc15.patch b/games-arcade/cavezofphear/files/cavezofphear-0.6.1-gcc15.patch new file mode 100644 index 000000000000..bd532e90c00d --- /dev/null +++ b/games-arcade/cavezofphear/files/cavezofphear-0.6.1-gcc15.patch @@ -0,0 +1,32 @@ +https://bugs.gentoo.org/943818 +https://github.com/AMDmi3/cavezofphear/pull/2 + +--- a/src/frame.c ++++ b/src/frame.c +@@ -60,12 +60,12 @@ void bail(const char* message) { + exit(EXIT_FAILURE); + } + +-void sigint_handler() { ++void sigint_handler(int arg) { + curses_stop(); + bail("got SIGINT, cleaning up"); + } + +-void sigwinch_handler() { ++void sigwinch_handler(int arg) { + /* + curses_stop(); + bail("got SIGWINCH, cleaning up"); +--- a/src/frame.h ++++ b/src/frame.h +@@ -21,7 +21,7 @@ + void curses_start(void); + void curses_stop(void); + void bail(const char* message); +-void sigint_handler(); +-void sigwinch_handler(); ++void sigint_handler(int arg); ++void sigwinch_handler(int arg); + + #endif diff --git a/games-arcade/cavezofphear/metadata.xml b/games-arcade/cavezofphear/metadata.xml index 1c3ba213c494..a4718709c871 100644 --- a/games-arcade/cavezofphear/metadata.xml +++ b/games-arcade/cavezofphear/metadata.xml @@ -1,8 +1,11 @@ - - games@gentoo.org - Gentoo Games Project - + + games@gentoo.org + Gentoo Games Project + + + AMDmi3/cavezofphear +