From owner-svn-ports-head@FreeBSD.ORG Fri Feb 28 15:15:26 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 812B8CBD; Fri, 28 Feb 2014 15:15:26 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 53A0E1649; Fri, 28 Feb 2014 15:15:26 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1SFFQjd040479; Fri, 28 Feb 2014 15:15:26 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1SFFP2o040477; Fri, 28 Feb 2014 15:15:25 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201402281515.s1SFFP2o040477@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Fri, 28 Feb 2014 15:15:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346528 - in head/chinese/unrar: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Feb 2014 15:15:26 -0000 Author: sunpoet Date: Fri Feb 28 15:15:25 2014 New Revision: 346528 URL: http://svnweb.freebsd.org/changeset/ports/346528 QAT: https://qat.redports.org/buildarchive/r346528/ Log: - Update to 5.01 (5.0.14) - Use CONFLICTS_INSTALL instead off CONFLICTS Modified: head/chinese/unrar/Makefile head/chinese/unrar/files/patch-arcread.cpp Modified: head/chinese/unrar/Makefile ============================================================================== --- head/chinese/unrar/Makefile Fri Feb 28 15:15:19 2014 (r346527) +++ head/chinese/unrar/Makefile Fri Feb 28 15:15:25 2014 (r346528) @@ -10,6 +10,6 @@ MASTERDIR= ${.CURDIR}/../../archivers/un EXTRA_PATCHES= ${.CURDIR}/files/patch-arcread.cpp \ ${.CURDIR}/files/patch-unicode.cpp -CONFLICTS= unrar-[0-9]* unrar-iconv-[0-9]* +CONFLICTS_INSTALL= unrar-[0-9]* unrar-iconv-[0-9]* .include "${MASTERDIR}/Makefile" Modified: head/chinese/unrar/files/patch-arcread.cpp ============================================================================== --- head/chinese/unrar/files/patch-arcread.cpp Fri Feb 28 15:15:19 2014 (r346527) +++ head/chinese/unrar/files/patch-arcread.cpp Fri Feb 28 15:15:25 2014 (r346528) @@ -1,16 +1,16 @@ ---- arcread.cpp.orig 2011-01-04 20:28:47.000000000 +0800 -+++ arcread.cpp 2011-01-21 22:59:22.000000000 +0800 -@@ -629,6 +629,7 @@ +--- arcread.cpp.orig 2013-12-01 16:10:14.000000000 +0800 ++++ arcread.cpp 2014-02-04 09:23:21.669710373 +0800 +@@ -1272,6 +1272,7 @@ - void Archive::ConvertUnknownHeader() + void Archive::ConvertFileHeader(FileHeader *hd) { + int big5=0; - if (NewLhd.UnpVer<20 && (NewLhd.FileAttr & 0x10)) - NewLhd.Flags|=LHD_DIRECTORY; - if (NewLhd.HostOS>=HOST_MAX) -@@ -640,6 +641,16 @@ - } - for (char *s=NewLhd.FileName;*s!=0;s=charnext(s)) + if (Format==RARFMT15 && hd->UnpVer<20 && (hd->FileAttr & 0x10)) + hd->Dir=true; + if (hd->HSType==HSYS_UNKNOWN) +@@ -1282,6 +1283,16 @@ + + for (wchar *s=hd->FileName;*s!=0;s++) { + if (big5==1) /* skip Big5 second byte */ + { @@ -22,6 +22,6 @@ + big5=1; + continue; + } - if (*s=='/' || *s=='\\') - *s=CPATHDIVIDER; - #if defined(_APPLE) && !defined(UNICODE_SUPPORTED) + #ifdef _UNIX + // Backslash is the invalid character for Windows file headers, + // but it can present in Unix file names extracted in Unix.