Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37856499
en ru br
ALT Linux repositórios
S:0.0.14.1-alt3
5.0: 0.0.14.1-alt1
4.1: 0.0.14.1-alt1

Outros repositórios
Upstream:0.0.14.1

Group :: Jogos/Outros
RPM: ggz-gtk-games

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: ggz-gtk-games-0.0.14.1-alt-gcc10.patch
Download


From e6f232dc38459cb79beedd565a9c218f73b75cdf Mon Sep 17 00:00:00 2001
From: Leontiy Volodin <lvol@altlinux.org>
Date: Fri, 29 Jan 2021 13:13:52 +0300
Subject: [PATCH] patch
---
 ggz-gtk-games/combat/callbacks.c | 2 +-
 ggz-gtk-games/combat/game.c      | 2 +-
 ggz-gtk-games/common/dlg_chat.c  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ggz-gtk-games/combat/callbacks.c b/ggz-gtk-games/combat/callbacks.c
index 59556b3..5c727c8 100644
--- a/ggz-gtk-games/combat/callbacks.c
+++ b/ggz-gtk-games/combat/callbacks.c
@@ -41,7 +41,7 @@
 #include "dlg_options.h"
 
 extern GdkPixmap *cbt_buf;
-struct game_info_t cbt_info;
+extern struct game_info_t cbt_info;
 extern GtkWidget *main_win;
 
 static void try_to_quit(void)
diff --git a/ggz-gtk-games/combat/game.c b/ggz-gtk-games/combat/game.c
index a644a14..2668ba2 100644
--- a/ggz-gtk-games/combat/game.c
+++ b/ggz-gtk-games/combat/game.c
@@ -58,7 +58,7 @@
 GtkWidget *main_win;
 GtkWidget **player_list = NULL;
 struct game_info_t cbt_info;
-combat_game cbt_game;
+extern combat_game cbt_game;
 
 #define PIXMAPS 12	// (May have more: Lakes, Unknown units, etc)
 
diff --git a/ggz-gtk-games/common/dlg_chat.c b/ggz-gtk-games/common/dlg_chat.c
index f282e77..ccad867 100644
--- a/ggz-gtk-games/common/dlg_chat.c
+++ b/ggz-gtk-games/common/dlg_chat.c
@@ -47,7 +47,7 @@ typedef struct chatwidgets {
 
 static ChatWidgets *chats;
 static GtkWidget *dlg_chat;
-GGZMod *ggz;
+extern GGZMod *ggz;
 
 static void handle_ggz_chat_event(GGZMod * ggzmod, GGZModEvent e,
 				  const void *data)
--
libgit2 1.1.0
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009