Index: head/ftp/gftp/Makefile =================================================================== --- head/ftp/gftp/Makefile (revision 374073) +++ head/ftp/gftp/Makefile (revision 374074) @@ -1,36 +1,26 @@ # Created by: Damjan Marion # $FreeBSD$ PORTNAME= gftp PORTVERSION= 2.0.19 PORTREVISION= 5 CATEGORIES= ftp MASTER_SITES= http://gftp.seul.org/ MAINTAINER= oliver@FreeBSD.org COMMENT= Free multithreaded GTK-based FTP and SFTP client LICENSE= GPLv2 USES= pathfix pkgconfig tar:bzip2 GNU_CONFIGURE= yes USE_GNOME= glib20 gtk20 USE_OPENSSL= yes OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls -.include - -post-patch: - @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ - s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ - s|"-lssl |& -lcrypto|' ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|size_t dest_len|size_t *dest_len|g ; \ - s|\(gftp_filename_from_utf8 (gftp_request \* request,\) int force_local,|\1|' \ - ${WRKSRC}/lib/charset-conv.c - .include Index: head/ftp/gftp/files/patch-lib_charset-conv.c =================================================================== --- head/ftp/gftp/files/patch-lib_charset-conv.c (nonexistent) +++ head/ftp/gftp/files/patch-lib_charset-conv.c (revision 374074) @@ -0,0 +1,38 @@ +--- lib/charset-conv.c.orig 2008-03-04 12:18:03 UTC ++++ lib/charset-conv.c +@@ -230,7 +230,7 @@ gftp_filename_from_utf8 (gftp_request * + #else + + char * +-gftp_string_to_utf8 (gftp_request * request, const char *str, size_t dest_len) ++gftp_string_to_utf8 (gftp_request * request, const char *str, size_t *dest_len) + { + return (NULL); + } +@@ -238,22 +238,22 @@ gftp_string_to_utf8 (gftp_request * requ + + char * + gftp_string_from_utf8 (gftp_request * request, int force_local, const char *str, +- size_t dest_len) ++ size_t *dest_len) + { + return (NULL); + } + + + char * +-gftp_filename_to_utf8 (gftp_request * request, const char *str, size_t dest_len) ++gftp_filename_to_utf8 (gftp_request * request, const char *str, size_t *dest_len) + { + return (NULL); + } + + + char * +-gftp_filename_from_utf8 (gftp_request * request, int force_local, +- const char *str, size_t dest_len) ++gftp_filename_from_utf8 (gftp_request * request, ++ const char *str, size_t *dest_len) + { + return (NULL); + } Property changes on: head/ftp/gftp/files/patch-lib_charset-conv.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property