summaryrefslogtreecommitdiff
path: root/net/gftp/patches
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2005-03-02 20:43:21 +0000
committertron <tron@pkgsrc.org>2005-03-02 20:43:21 +0000
commit1deadd88cc0d00d84701728068cd782d1814b6d2 (patch)
tree4f039d7ec7a53af9b742fb72b8b2b3f906900f79 /net/gftp/patches
parent28d048cc1b796e911b159848b07f81c01ebce38c (diff)
downloadpkgsrc-1deadd88cc0d00d84701728068cd782d1814b6d2.tar.gz
Fix build problems in "gftp-gtk1" package caused by update to
version 2.0.18.
Diffstat (limited to 'net/gftp/patches')
-rw-r--r--net/gftp/patches/patch-ac30
-rw-r--r--net/gftp/patches/patch-ad13
2 files changed, 43 insertions, 0 deletions
diff --git a/net/gftp/patches/patch-ac b/net/gftp/patches/patch-ac
new file mode 100644
index 00000000000..2088f263641
--- /dev/null
+++ b/net/gftp/patches/patch-ac
@@ -0,0 +1,30 @@
+$NetBSD: patch-ac,v 1.1 2005/03/02 20:43:21 tron Exp $
+
+--- src/text/gftp-text.c.orig 2005-01-25 01:11:00.000000000 +0000
++++ src/text/gftp-text.c 2005-03-02 20:32:41.000000000 +0000
+@@ -155,7 +155,9 @@
+ gftp_text_ask_question (const char *question, int echo, char *buf, size_t size)
+ {
+ struct termios term, oldterm;
++#if GLIB_MAJOR_VERSION > 1
+ gchar *locale_question;
++#endif
+ sigset_t sig, sigsave;
+ char *pos, *termname;
+ int singlechar;
+@@ -185,6 +187,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 +196,7 @@
+ g_free (locale_question);
+ }
+ else
++#endif
+ printf ("%s%s%s ", GFTPUI_COMMON_COLOR_BLUE, question,
+ GFTPUI_COMMON_COLOR_DEFAULT);
+
diff --git a/net/gftp/patches/patch-ad b/net/gftp/patches/patch-ad
new file mode 100644
index 00000000000..d2e7abcda53
--- /dev/null
+++ b/net/gftp/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2005/03/02 20:43:21 tron Exp $
+
+--- src/gtk/options_dialog.c.orig 2005-01-04 13:32:20.000000000 +0000
++++ src/gtk/options_dialog.c 2005-03-02 20:38:59.000000000 +0000
+@@ -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