mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
textproc/goldendict: Fix iconv wchar_t initialization error.
From the original e-mail: Goldendict still uses internal libiconv and can't to load dictionaries that require use of iconv with WCHAR_T producing "Can't initialize iconv conversion: Invalid argument". The patch based on the example 6.17 of porter's handbook solves the problem. Submitted by: Art Kamog <ia.kamog@yandex.ru> (via e-mail)
This commit is contained in:
parent
54bec57171
commit
890ccaffc1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452552
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= goldendict
|
||||
PORTVERSION= 1.0.1
|
||||
PORTREVISION= 10
|
||||
PORTREVISION= 11
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:C|(.*)\.[0-9]*$|\1|}/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
||||
@ -17,11 +17,12 @@ LIB_DEPENDS= libhunspell-1.6.so:textproc/hunspell \
|
||||
libvorbis.so:audio/libvorbis
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
USES= dos2unix iconv pkgconfig qmake tar:bzip2
|
||||
USES= dos2unix iconv:wchar_t pkgconfig qmake tar:bzip2
|
||||
DOS2UNIX_FILES= processwrapper.cc
|
||||
USE_XORG= xtst
|
||||
USE_QT4= corelib gui webkit phonon \
|
||||
linguist_build moc_build rcc_build script_build uic_build
|
||||
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
|
||||
INSTALLS_ICONS= yes
|
||||
|
||||
post-patch:
|
||||
|
Loading…
Reference in New Issue
Block a user