ports/163860: [PATCH] archivers/unrar-iconv: fix 'make patch'
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Jan 6 08:30:14 UTC 2012
>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 at 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:
More information about the freebsd-ports-bugs
mailing list