1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Fix build on 4.x

Reported by:	pointyhat
Submitted by:	maintainer
This commit is contained in:
Tilman Keskinoz 2006-04-16 20:18:32 +00:00
parent ba0c314005
commit cf48b44e70
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159743

View File

@ -0,0 +1,19 @@
--- server/gtk/main.c.orig Sun Apr 16 17:32:07 2006
+++ server/gtk/main.c Sun Apr 16 17:33:14 2006
@@ -193,6 +193,7 @@
static void gui_set_server_state(gboolean running)
{
+ gchar *fullname;
gboolean ai_settings_enabled = TRUE;
is_running = running;
@@ -215,7 +216,7 @@
running ? _("Stop the server") :
_("Start the server"), NULL);
- gchar *fullname = g_find_program_in_path(PIONEERS_AI_PATH);
+ fullname = g_find_program_in_path(PIONEERS_AI_PATH);
if (fullname) {
g_free(fullname);
} else {