Date: Fri, 6 Jan 2012 16:29:19 +0800 (CST) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: yarodin@gmail.com Subject: ports/163860: [PATCH] archivers/unrar-iconv: fix 'make patch' Message-ID: <20120106082919.CD4AE4D3C@sunpoet.net> Resent-Message-ID: <201201060830.q068UEnr004010@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 163860 >Category: ports >Synopsis: [PATCH] archivers/unrar-iconv: fix 'make patch' >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jan 06 08:30:13 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Sunpoet Po-Chuan Hsieh >Release: FreeBSD 9.0-PRERELEASE amd64 >Organization: The FreeBSD Project >Environment: System: FreeBSD bonjour.sunpoet.net 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #0: Sat Dec 24 06:18:22 CST 2011 >Description: - Update files/patch-iconv to match new unrar version (4.10 Beta 3) To maintainer: For future unrar updates, I would like to ask for your approval to commit trivial modifications (no functional change). Thanks. Port maintainer (yarodin@gmail.com) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- unrar-iconv-4.10,5.patch begins here --- Index: files/patch-iconv =================================================================== RCS file: /home/ncvs/ports/archivers/unrar-iconv/files/patch-iconv,v retrieving revision 1.6 diff -u -u -r1.6 patch-iconv --- files/patch-iconv 21 Jan 2011 16:52:50 -0000 1.6 +++ files/patch-iconv 6 Jan 2012 08:28:31 -0000 @@ -173,7 +173,7 @@ + } + if (ret == (size_t)(-1)) strcpy(Dest, Src); +#else /* !WITH_ICONV */ - #if defined(_WIN_ALL) + #ifdef _WIN_ALL CharToOemA(Src,Dest); #else if (Dest!=Src) @@ -197,7 +197,7 @@ + } + if (ret == (size_t)(-1)) strcpy(Dest,Src); +#else /* !WITH_ICONV */ - #if defined(_WIN_ALL) + #ifdef _WIN_ALL OemToCharA(Src,Dest); #else if (Dest!=Src) --- unrar-iconv-4.10,5.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120106082919.CD4AE4D3C>