1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Unbreak this port

- Remove BROKEN, DEPRECATED and EXPIRATION_DATE
- Take maintainership

Feature safe:	yes
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-01-22 17:15:11 +00:00
parent 7d708e7b6b
commit 152fc1ae33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=268114
3 changed files with 12 additions and 16 deletions

View File

@ -7,17 +7,13 @@
CATEGORIES= chinese
MAINTAINER= ports@FreeBSD.org
MAINTAINER= sunpoet@FreeBSD.org
MASTERDIR= ${.CURDIR}/../../archivers/unrar
EXTRA_PATCHES= ${.CURDIR}/files/patch-arcread.cpp \
${.CURDIR}/files/patch-unicode.cpp
CONFLICTS= unrar-*
BROKEN= obsoleted
DEPRECATED= constantly behind master and no maintainer
EXPIRATION_DATE= 2011-02-20
CONFLICTS= unrar-[0-9]* unrar-iconv-[0-9]*
.include "${MASTERDIR}/Makefile"

View File

@ -1,6 +1,6 @@
--- arcread.cpp.orig Sun Aug 1 01:55:38 2004
+++ arcread.cpp Sun Aug 1 01:57:56 2004
@@ -540,6 +540,7 @@
--- 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 @@
void Archive::ConvertUnknownHeader()
{
@ -8,7 +8,7 @@
if (NewLhd.UnpVer<20 && (NewLhd.FileAttr & 0x10))
NewLhd.Flags|=LHD_DIRECTORY;
if (NewLhd.HostOS>=HOST_MAX)
@@ -551,6 +552,16 @@
@@ -640,6 +641,16 @@
}
for (char *s=NewLhd.FileName;*s!=0;s=charnext(s))
{

View File

@ -1,10 +1,10 @@
--- unicode.cpp.orig Thu Aug 4 00:34:30 2005
+++ unicode.cpp Wed Sep 7 22:01:58 2005
--- unicode.cpp.orig 2011-01-04 20:28:47.000000000 +0800
+++ unicode.cpp 2011-01-21 23:01:09.000000000 +0800
@@ -7,6 +7,7 @@
bool WideToChar(const wchar *Src,char *Dest,int DestSize)
bool WideToChar(const wchar *Src,char *Dest,size_t DestSize)
{
bool RetCode=true;
+ return(RetCode); /* patch for chinese filename */
#ifdef _WIN_32
if (WideCharToMultiByte(CP_ACP,0,Src,-1,Dest,DestSize,NULL,NULL)==0)
RetCode=false;
*Dest=0; // Set 'Dest' to zero just in case the conversion will fail.
#ifdef _WIN_ALL