mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
- update patch, fix build, and unbreak this port
This commit is contained in:
parent
fa84631d99
commit
7d082aa31f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142163
@ -9,8 +9,6 @@ CATEGORIES= chinese
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
BROKEN= "Patch fails"
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../../archivers/unrar
|
||||
|
||||
EXTRA_PATCHES= ${.CURDIR}/files/patch-arcread.cpp \
|
||||
|
@ -1,10 +1,10 @@
|
||||
--- unicode.cpp.orig Wed Sep 8 21:57:20 2004
|
||||
+++ unicode.cpp Tue Oct 26 01:49:46 2004
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
void WideToChar(const wchar *Src,char *Dest,int DestSize)
|
||||
--- unicode.cpp.orig Thu Aug 4 00:34:30 2005
|
||||
+++ unicode.cpp Wed Sep 7 22:01:58 2005
|
||||
@@ -7,6 +7,7 @@
|
||||
bool WideToChar(const wchar *Src,char *Dest,int DestSize)
|
||||
{
|
||||
+ return; /* patch for chinese filename */
|
||||
bool RetCode=true;
|
||||
+ return(RetCode); /* patch for chinese filename */
|
||||
#ifdef _WIN_32
|
||||
WideCharToMultiByte(CP_ACP,0,Src,-1,Dest,DestSize,NULL,NULL);
|
||||
#else
|
||||
if (WideCharToMultiByte(CP_ACP,0,Src,-1,Dest,DestSize,NULL,NULL)==0)
|
||||
RetCode=false;
|
||||
|
Loading…
Reference in New Issue
Block a user