1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/chinese
Dimitry Andric 438b693be1 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
2024-08-16 17:36:07 +02:00
..
arphicttf
aterm
auto-cn-l10n
auto-tw-l10n chinese/auto-tw-l10n: Add WWW 2024-05-17 00:49:31 +08:00
autoconvert
big5width
bitchx
bsdconv-opencc
bug5
c2t
cconv
chiconv
chinese-calendar
CJKUnifonts
cless
cnprint Update cs.nctu.edu.tw in MASTER_SITES to the new name 2024-04-16 20:36:13 +08:00
CNS11643-font Update cs.nctu.edu.tw in MASTER_SITES to the new name 2024-04-16 20:36:13 +08:00
dictd-database
enscript
eterm
fandol
fcitx
fcitx5-chewing chinese/fcitx5-chewing: Update to 5.1.5 2024-07-04 04:28:40 +08:00
fcitx5-chinese-addons chinese/fcitx5-chinese-addons: Update to 5.1.6 2024-07-04 04:29:04 +08:00
fcitx5-mcbopomofo chinese/fcitx5-mcbopomofo: Declare dependency on devel/icu 2024-07-14 19:51:31 +03:00
fcitx5-rime chinese/fcitx5-rime: Update to 5.1.8 2024-07-04 04:29:34 +08:00
fcitx5-table-extra chinese/fcitx5-table-extra: Update to 5.1.6 2024-07-04 04:29:59 +08:00
fcitx5-table-other chinese/fcitx5-table-other: Update to 5.1.3 2024-07-04 04:30:21 +08:00
fcitx-chewing
fcitx-cloudpinyin
fcitx-configtool
fcitx-libpinyin
fcitx-rime chinese/fcitx-rime: Mark BROKEN 2024-07-14 19:51:31 +03:00
fcitx-table-extra
fcitx-ui-light
fireflyttf
font-std
fortunetw
FreeWnn-lib
FreeWnn-server
gb2jis
gb2ps
gcin
gcin-gtk3
gcin-qt5
gydict
hc
ibus-array
ibus-cangjie
ibus-chewing
ibus-libpinyin
ibus-pinyin
ibus-rime
ibus-table-chinese
jis2gb
kcfonts
libcangjie
libchewing chinese/libchewing: Adjust cmake option 2024-07-29 20:38:54 +08:00
libime chinese/libime: Update to 1.1.8 2024-07-04 04:30:54 +08:00
libime-jyutping chinese/libime-jyutping: Update to 1.0.12 2024-07-04 04:31:16 +08:00
libpinyin chinese/libpinyin: Switch DB backend and improve port 2024-05-19 12:56:01 +02:00
libreoffice-zh_CN editors/libreoffice: update to 24.2.5 release (+) 2024-07-16 14:13:20 +03:00
libreoffice-zh_TW editors/libreoffice: update to 24.2.5 release (+) 2024-07-16 14:13:20 +03:00
librime chinese/librime: Update to 1.11.2 2024-05-06 16:09:59 +08:00
libtabe
linux-wps-office-zh_CN
lunar
moettf
muni
opencc chinese/opencc: fix build with clang 19 2024-08-16 17:36:07 +02:00
opendesktop-fonts
oto
p5-Date-Chinese
p5-Encode-CNMap
p5-Encode-HanConvert
p5-Encode-HanExtra
p5-Lingua-Han-PinYin
p5-Lingua-Han-Utils
p5-Lingua-ZH-HanDetect
p5-Lingua-ZH-Keywords
p5-Lingua-ZH-Numbers
p5-Lingua-ZH-Romanize-Pinyin
p5-Lingua-ZH-Segment
p5-Lingua-ZH-Summarize
p5-Lingua-ZH-TaBE
p5-Lingua-ZH-Toke
p5-Lingua-ZH-WordSegmenter
p5-Lingua-ZH-Wrap
p5-Text-Greeking-zh_TW
pcmanx
php-opencc
phpbb3-tw
pycangjie
pyzy
qe
rime-array
rime-bopomofo
rime-cangjie
rime-cantonese
rime-combo-pinyin
rime-data-full
rime-double-pinyin
rime-emoji
rime-essay
rime-ipa
rime-jyutping
rime-luna-pinyin
rime-middle-chinese
rime-pinyin-simp
rime-prelude
rime-quick
rime-scj
rime-soutzoe
rime-stenotype
rime-stroke
rime-terra-pinyin
rime-wubi
rime-wugniu
scim-fcitx
scim-pinyin
scim-tables
sourcehansans-sc-otf
sourcehansans-tc-otf
sourcehanserif-sc-otf
sourcehanserif-tc-otf
taipeisanstc Update cs.nctu.edu.tw in MASTER_SITES to the new name 2024-04-16 20:36:13 +08:00
tintin++
ttf2pt1
ttfm
ve
wenju
wordpress-zh_CN */wordpress*: Update to 6.6.1 2024-08-07 09:41:36 +02:00
wordpress-zh_TW */wordpress*: Update to 6.6.1 2024-08-07 09:41:36 +02:00
Makefile chinese/tin: Remove port 2024-07-14 20:03:27 +02:00
Makefile.inc