mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Remove chinese/unrar, use archivers/unrar instead.
This commit is contained in:
parent
693629c61a
commit
1377dcaf29
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=472281
5 changed files with 1 additions and 53 deletions
1
MOVED
1
MOVED
|
@ -10268,3 +10268,4 @@ science/orthanc-webviewer||2018-06-07|Removed, depends on expired science/orthan
|
||||||
graphics/libkface||2018-06-09|Has expired: No longer maintained upstream
|
graphics/libkface||2018-06-09|Has expired: No longer maintained upstream
|
||||||
math/scilab-toolbox-sivp||2018-06-09|Has expired: Cannot build with newer opencv
|
math/scilab-toolbox-sivp||2018-06-09|Has expired: Cannot build with newer opencv
|
||||||
math/clipper|graphics/polyclipping|2018-06-11|Duplicate port
|
math/clipper|graphics/polyclipping|2018-06-11|Duplicate port
|
||||||
|
chinese/unrar|archivers/unrar|2018-06-13|Has expired: Use archivers/unrar instead
|
||||||
|
|
|
@ -108,7 +108,6 @@
|
||||||
SUBDIR += tintin++
|
SUBDIR += tintin++
|
||||||
SUBDIR += ttf2pt1
|
SUBDIR += ttf2pt1
|
||||||
SUBDIR += ttfm
|
SUBDIR += ttfm
|
||||||
SUBDIR += unrar
|
|
||||||
SUBDIR += ve
|
SUBDIR += ve
|
||||||
SUBDIR += wenju
|
SUBDIR += wenju
|
||||||
SUBDIR += wordpress-zh_CN
|
SUBDIR += wordpress-zh_CN
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
# Created by: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
|
|
||||||
# $FreeBSD$
|
|
||||||
|
|
||||||
CATEGORIES= chinese
|
|
||||||
|
|
||||||
MAINTAINER= sunpoet@FreeBSD.org
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../archivers/unrar
|
|
||||||
|
|
||||||
EXTRA_PATCHES= ${.CURDIR}/files/patch-arcread.cpp \
|
|
||||||
${.CURDIR}/files/patch-unicode.cpp
|
|
||||||
|
|
||||||
CONFLICTS_INSTALL= unrar unrar-iconv
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,27 +0,0 @@
|
||||||
--- arcread.cpp.orig 2017-04-28 17:28:45 UTC
|
|
||||||
+++ arcread.cpp
|
|
||||||
@@ -1308,6 +1308,7 @@ void Archive::ConvertAttributes()
|
|
||||||
|
|
||||||
void Archive::ConvertFileHeader(FileHeader *hd)
|
|
||||||
{
|
|
||||||
+ int big5=0;
|
|
||||||
if (Format==RARFMT15 && hd->UnpVer<20 && (hd->FileAttr & 0x10))
|
|
||||||
hd->Dir=true;
|
|
||||||
if (hd->HSType==HSYS_UNKNOWN)
|
|
||||||
@@ -1323,6 +1324,16 @@ void Archive::ConvertFileHeader(FileHead
|
|
||||||
|
|
||||||
for (wchar *s=hd->FileName;*s!=0;s++)
|
|
||||||
{
|
|
||||||
+ if (big5==1) /* skip Big5 second byte */
|
|
||||||
+ {
|
|
||||||
+ big5=0;
|
|
||||||
+ continue;
|
|
||||||
+ }
|
|
||||||
+ if ((byte)*s>127) /* Big5 first byte */
|
|
||||||
+ {
|
|
||||||
+ big5=1;
|
|
||||||
+ continue;
|
|
||||||
+ }
|
|
||||||
#ifdef _UNIX
|
|
||||||
// Backslash is the invalid character for Windows file headers,
|
|
||||||
// but it can present in Unix file names extracted in Unix.
|
|
|
@ -1,10 +0,0 @@
|
||||||
--- unicode.cpp.orig 2017-04-28 17:28:47 UTC
|
|
||||||
+++ unicode.cpp
|
|
||||||
@@ -20,6 +20,7 @@ static const uint MappedStringMark=0xFFF
|
|
||||||
bool WideToChar(const wchar *Src,char *Dest,size_t DestSize)
|
|
||||||
{
|
|
||||||
bool RetCode=true;
|
|
||||||
+ return(RetCode); /* patch for chinese filename */
|
|
||||||
*Dest=0; // Set 'Dest' to zero just in case the conversion will fail.
|
|
||||||
|
|
||||||
#ifdef _WIN_ALL
|
|
Loading…
Add table
Reference in a new issue