diff options
author | Marinus Schraal <foser@gentoo.org> | 2005-02-14 16:05:42 +0000 |
---|---|---|
committer | Marinus Schraal <foser@gentoo.org> | 2005-02-14 16:05:42 +0000 |
commit | ce3366e1b02359bc36bd304d18f19775c65d7658 (patch) | |
tree | c81381639d9d935ba281e044833d40f609fb7fd4 /net-ftp/gftp/files/gftp-2.0.18-fix_gtk1.patch | |
parent | Stable on sparc wrt #81350 (diff) | |
download | historical-ce3366e1b02359bc36bd304d18f19775c65d7658.tar.gz historical-ce3366e1b02359bc36bd304d18f19775c65d7658.tar.bz2 historical-ce3366e1b02359bc36bd304d18f19775c65d7658.zip |
add patch for buildtime issue
Diffstat (limited to 'net-ftp/gftp/files/gftp-2.0.18-fix_gtk1.patch')
-rw-r--r-- | net-ftp/gftp/files/gftp-2.0.18-fix_gtk1.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/net-ftp/gftp/files/gftp-2.0.18-fix_gtk1.patch b/net-ftp/gftp/files/gftp-2.0.18-fix_gtk1.patch new file mode 100644 index 000000000000..a7fd44ef3cbe --- /dev/null +++ b/net-ftp/gftp/files/gftp-2.0.18-fix_gtk1.patch @@ -0,0 +1,31 @@ +diff -uNr gftp-2.0.18/src/gtk/options_dialog.c gftp-2.0.18.patched/src/gtk/options_dialog.c +--- gftp-2.0.18/src/gtk/options_dialog.c 2005-01-04 14:32:20.000000000 +0100 ++++ gftp-2.0.18.patched/src/gtk/options_dialog.c 2005-02-14 16:44:10.064677160 +0100 +@@ -1002,7 +1002,7 @@ + gtk_widget_show (box); + + #if GTK_MAJOR_VERSION == 1 +- tempwid = gtk_label_new (_("Type:")) ++ tempwid = gtk_label_new (_("Type:")); + #else + tempwid = gtk_label_new_with_mnemonic (_("_Type:")); + #endif +diff -uNr gftp-2.0.18/src/text/gftp-text.c gftp-2.0.18.patched/src/text/gftp-text.c +--- gftp-2.0.18/src/text/gftp-text.c 2005-01-25 02:11:00.000000000 +0100 ++++ gftp-2.0.18.patched/src/text/gftp-text.c 2005-02-14 16:44:12.299337440 +0100 +@@ -185,6 +185,7 @@ + else + infd = stdin; + ++#if GLIB_MAJOR_VERSION > 1 + locale_question = g_locale_from_utf8 (question, -1, NULL, NULL, NULL); + if (locale_question != NULL) + { +@@ -193,6 +194,7 @@ + g_free (locale_question); + } + else ++#endif + printf ("%s%s%s ", GFTPUI_COMMON_COLOR_BLUE, question, + GFTPUI_COMMON_COLOR_DEFAULT); + |