mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Remove IGNORE line as now textproc/libexttextcat and textproc/libtextcat
happily co-exist. Feature safe: yes
This commit is contained in:
parent
c215586e9f
commit
00922f1f41
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307112
@ -120,18 +120,8 @@ LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo \
|
||||
apr-1.4:${PORTSDIR}/devel/apr1 \
|
||||
CoinMP.7:${PORTSDIR}/math/coinmp \
|
||||
serf-1.0:${PORTSDIR}/www/serf \
|
||||
freetype.9:${PORTSDIR}/print/freetype2
|
||||
|
||||
.if exists(${LOCALBASE}/include/libexttextcat/textcat.h)
|
||||
.if exists(${LOCALBASE}/include/textcat.h)
|
||||
LIB_DEPENDS+= exttextcat-1.0.0:${PORTSDIR}/textproc/libexttextcat
|
||||
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libexttextcat-lingucomponent
|
||||
.else
|
||||
IGNORE= textproc/libexttextcat needs COMPAT_TEXTCAT enabled
|
||||
.endif
|
||||
.else
|
||||
LIB_DEPENDS+= textcat.0:${PORTSDIR}/textproc/libtextcat
|
||||
.endif
|
||||
freetype.9:${PORTSDIR}/print/freetype2 \
|
||||
textcat.0:${PORTSDIR}/textproc/libtextcat
|
||||
|
||||
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
|
||||
${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip \
|
||||
|
@ -1,13 +0,0 @@
|
||||
$FreeBSD$
|
||||
|
||||
--- lingucomponent/source/languageguessing/simpleguesser.cxx.orig 2012-01-10 19:42:30.000000000 +0900
|
||||
+++ lingucomponent/source/languageguessing/simpleguesser.cxx 2012-08-07 11:14:45.000000000 +0900
|
||||
@@ -114,7 +114,7 @@
|
||||
if(!h){return guesses;}
|
||||
|
||||
//calculate le number of unicode charcters (symbols)
|
||||
- int len = utfstrlen(text);
|
||||
+ int len = strlen(text);
|
||||
|
||||
if( len > MAX_STRING_LENGTH_TO_ANALYSE ){len = MAX_STRING_LENGTH_TO_ANALYSE ;}
|
||||
|
Loading…
Reference in New Issue
Block a user