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 | dcd31e5a81ce246bc8460d1ecce005154b0c6bde (patch) | |
tree | a17b47cd8b640b296c00cb42d8a9298478136113 /net-ftp/gftp/files | |
parent | Stable on sparc wrt #81350 (diff) | |
download | gentoo-2-dcd31e5a81ce246bc8460d1ecce005154b0c6bde.tar.gz gentoo-2-dcd31e5a81ce246bc8460d1ecce005154b0c6bde.tar.bz2 gentoo-2-dcd31e5a81ce246bc8460d1ecce005154b0c6bde.zip |
add patch for buildtime issue
Diffstat (limited to 'net-ftp/gftp/files')
-rw-r--r-- | net-ftp/gftp/files/digest-gftp-2.0.18-r1 (renamed from net-ftp/gftp/files/digest-gftp-2.0.18) | 0 | ||||
-rw-r--r-- | net-ftp/gftp/files/gftp-2.0.18-fix_gtk1.patch | 31 |
2 files changed, 31 insertions, 0 deletions
diff --git a/net-ftp/gftp/files/digest-gftp-2.0.18 b/net-ftp/gftp/files/digest-gftp-2.0.18-r1 index c99f186437a4..c99f186437a4 100644 --- a/net-ftp/gftp/files/digest-gftp-2.0.18 +++ b/net-ftp/gftp/files/digest-gftp-2.0.18-r1 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); + |