Port details on branch 2024Q3 |
- opencc Open Chinese Convert library and utilities
- 1.1.6 chinese =0 1.1.6Version of this port present on the latest quarterly branch.
- Maintainer: lichray@gmail.com
- Port Added: 2024-08-16 15:45:26
- Last Update: 2024-08-16 15:44:23
- Commit Hash: 119f5eb
- Also Listed In: converters
- License: APACHE20
- WWW:
- https://github.com/BYVoid/OpenCC
- Description:
- Open Chinese Convert (OpenCC) is an open source Simplified-Traditional
Chinese conversion project, providing high quality thesaurus and libopencc,
as well as a conversion utility and a dictionary generator.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- zh-opencc>0:chinese/opencc
- To install the port:
- cd /usr/ports/chinese/opencc/ && make install clean
- To add the package, run one of these commands:
- pkg install chinese/opencc
- pkg install zh-opencc
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: zh-opencc
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1696659113
SHA256 (BYVoid-OpenCC-ver.1.1.6_GH0.tar.gz) = 169bff4071ffe814dc16df7d180ff6610db418f4816e9c0ce02cf874bdf058df
SIZE (BYVoid-OpenCC-ver.1.1.6_GH0.tar.gz) = 3325614
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for zh-opencc-1.1.6:
TESTS=off: Build the unit testing
===> Use 'make config' to modify these settings
- Options name:
- chinese_opencc
- USES:
- cmake compiler:c++11-lib python:build
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 1
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.1.6 16 Aug 2024 15:44:23 |
Dimitry Andric (dim) |
chinese/opencc: fix build with clang 19
Clang 19 now diagnoses incorrect member accesses, which causes
chinese/opencc to fail with an error similar to:
/wrkdirs/usr/ports/chinese/opencc/work/OpenCC-ver.1.1.6/src/../deps/rapidjson-1.1.0/rapidjson/document.h:319:82:
error: cannot assign to non-static data member 'length' with const-qualified
type 'const SizeType' (aka 'const unsigned int')
319 | GenericStringRef& operator=(const GenericStringRef& rhs) { s =
rhs.s; length = rhs.length; }
|
~~~~~~ ^
/wrkdirs/usr/ports/chinese/opencc/work/OpenCC-ver.1.1.6/src/../deps/rapidjson-1.1.0/rapidjson/document.h:325:20:
note: non-static data member 'length' declared const here
325 | const SizeType length; //!< length of the string (excluding the
trailing NULL terminator)
| ~~~~~~~~~~~~~~~^~~~~~
Upstream rapidjson fixed this by removing the operator= function in
https://github.com/Tencent/rapidjson/commit/3b2441b8, so pull this in as
a patch and apply it.
PR: 280796
Approved by: lichray@gmail.com (maintainer)
MFH: 2024Q3
(cherry picked from commit 438b693be17d522b4a9a6620b5848ae965937511) |
Number of commits found: 1
|