From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 02ECC15802F for ; Sun, 5 Mar 2023 03:16:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ED865E088B; Sun, 5 Mar 2023 03:16:43 +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 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0BE4E088B for ; Sun, 5 Mar 2023 03:16:43 +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 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AC7AB34076D for ; Sun, 5 Mar 2023 03:16:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F01A08CE for ; Sun, 5 Mar 2023 03:16:40 +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: <1677985178.b355649c4c23392040d456a20f17d1b56a78312b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-simulation/senken/, games-simulation/senken/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-simulation/senken/files/senken-0.3.0-implicit-function-decl.patch games-simulation/senken/senken-0.3.0-r1.ebuild games-simulation/senken/senken-0.3.0-r2.ebuild X-VCS-Directories: games-simulation/senken/files/ games-simulation/senken/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b355649c4c23392040d456a20f17d1b56a78312b X-VCS-Branch: master Date: Sun, 5 Mar 2023 03:16:40 +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: 03afee91-121a-49e3-ad7d-4835d7ae4dd2 X-Archives-Hash: c5a929d768d5dbc6cba9b11cfbff53cf commit: b355649c4c23392040d456a20f17d1b56a78312b Author: Sam James gentoo org> AuthorDate: Sun Mar 5 02:59:25 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Mar 5 02:59:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b355649c games-simulation/senken: fix implicit func decls Closes: https://bugs.gentoo.org/899022 Signed-off-by: Sam James gentoo.org> .../senken-0.3.0-implicit-function-decl.patch | 29 ++++++++++++++++++++++ ...nken-0.3.0-r1.ebuild => senken-0.3.0-r2.ebuild} | 23 ++++++++++++----- 2 files changed, 46 insertions(+), 6 deletions(-) diff --git a/games-simulation/senken/files/senken-0.3.0-implicit-function-decl.patch b/games-simulation/senken/files/senken-0.3.0-implicit-function-decl.patch new file mode 100644 index 000000000000..f4792cfb0649 --- /dev/null +++ b/games-simulation/senken/files/senken-0.3.0-implicit-function-decl.patch @@ -0,0 +1,29 @@ +--- a/src/callbacks.c ++++ b/src/callbacks.c +@@ -47,6 +47,7 @@ + #include "client.h" + #include "landvalue.h" + #include "gtkhelp_reports.h" ++#include "support.h" + + #include "sdlwin.h" + #include "utils.h" +--- a/src/gtkhelp_reports.c ++++ b/src/gtkhelp_reports.c +@@ -5,6 +5,7 @@ + #include "player.h" + #include "client.h" + #include "gtkhelp_reports.h" ++#include "support.h" + + /**** HELPERS ****/ + +--- a/src/gtkhelp_reports.h ++++ b/src/gtkhelp_reports.h +@@ -17,4 +17,6 @@ extern void update_population_report(GtkWidget *window, client_t *client); + extern void setup_info_treeview(GtkWidget *window); + extern void update_info_report(GtkWidget *window, client_t *client, int mapx, int mapy); + ++extern void update_info_window(GtkWidget *window, client_t *client, int mapx, int mapy); ++ + #endif /* GTKHELP_REPORTS */ diff --git a/games-simulation/senken/senken-0.3.0-r1.ebuild b/games-simulation/senken/senken-0.3.0-r2.ebuild similarity index 73% rename from games-simulation/senken/senken-0.3.0-r1.ebuild rename to games-simulation/senken/senken-0.3.0-r2.ebuild index 206d6b75324d..a9c9fdf39deb 100644 --- a/games-simulation/senken/senken-0.3.0-r1.ebuild +++ b/games-simulation/senken/senken-0.3.0-r2.ebuild @@ -1,9 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -DESCRIPTION="city simulation game" +inherit autotools + +DESCRIPTION="City simulation game" HOMEPAGE="https://savannah.nongnu.org/projects/senken/" SRC_URI="mirror://gentoo/${P}.tar.gz" @@ -16,13 +18,17 @@ RDEPEND=" >=media-libs/libsdl-1.2.4 media-libs/sdl-image x11-libs/gtk+:2 - nls? ( virtual/libintl )" -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext )" + nls? ( virtual/libintl ) +" +DEPEND=" + ${RDEPEND} + nls? ( sys-devel/gettext ) +" PATCHES=( "${FILESDIR}"/${P}-as-needed.patch "${FILESDIR}"/${P}-warnings.patch + "${FILESDIR}"/${P}-implicit-function-decl.patch ) src_prepare() { @@ -31,7 +37,12 @@ src_prepare() { sed -i \ -e "s:/usr/local/share:/usr/share:" \ lib/utils.h || die + + # Clang 16, bug #899022 + sed -i -e "s:configure.in:configure.ac:" Makefile.in || die + eautoconf } + src_configure() { econf $(use_enable nls) }