Remove useless patch.

This commit is contained in:
ajacoutot 2012-04-27 10:06:36 +00:00
parent c509f1f1fc
commit db8773661a
2 changed files with 2 additions and 17 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.32 2012/03/08 12:13:01 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.33 2012/04/27 10:06:36 ajacoutot Exp $
# XXX IPv6 support is broken, see
# http://bugzilla.gnome.org/show_bug.cgi?id=350813
@ -6,7 +6,7 @@
COMMENT= multithreaded gtk2 file transfer client
DISTNAME= gftp-2.0.19
REVISION= 9
REVISION= 10
CATEGORIES= net
HOMEPAGE= http://gftp.seul.org/

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-lib_protocols_c,v 1.1 2008/12/01 16:09:01 ajacoutot Exp $
--- lib/protocols.c.orig Tue Mar 4 13:28:42 2008
+++ lib/protocols.c Mon Dec 1 14:54:31 2008
@@ -459,9 +459,11 @@ gftp_get_next_file (gftp_request * request, const char
if (ret >= 0 && fle->file != NULL)
{
+#if GLIB_MAJOR_VERSION > 1
if (g_utf8_validate (fle->file, -1, NULL))
fle->filename_utf8_encoded = 1;
else
+#endif
{
utf8 = gftp_filename_to_utf8 (request, fle->file, &destlen);
if (utf8 != NULL)