diff --git a/textproc/lttoolbox/Makefile b/textproc/lttoolbox/Makefile index e98a9475e312..e024928e508a 100644 --- a/textproc/lttoolbox/Makefile +++ b/textproc/lttoolbox/Makefile @@ -1,25 +1,24 @@ PORTNAME= lttoolbox -DISTVERSION= 3.8.0 -PORTREVISION= 1 +DISTVERSION= 3.8.2 CATEGORIES= textproc MASTER_SITES= https://github.com/apertium/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= bofh@FreeBSD.org COMMENT= Tool for lexical, morphological analysis and generation of words WWW= https://wiki.apertium.org/wiki/Lttoolbox LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= utf8cpp>=4.0.3:devel/utf8cpp LIB_DEPENDS= libicuio.so:devel/icu USES= cmake compiler:c++14-lang gnome localbase pathfix pkgconfig \ tar:bz2 USE_GNOME= libxml2 USE_LDCONFIG= yes CFLAGS+= -I${LOCALBASE}/include/utf8cpp -D_XOPEN_SOURCE=600 LDFLAGS+= -lpthread .include diff --git a/textproc/lttoolbox/distinfo b/textproc/lttoolbox/distinfo index 6c210ce18999..2ef8a87cdda8 100644 --- a/textproc/lttoolbox/distinfo +++ b/textproc/lttoolbox/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1744531039 -SHA256 (lttoolbox-3.8.0.tar.bz2) = 0bbe13c9798b937acad902c2ff39e38c13c061ad2247ba44cde289ddc95e1534 -SIZE (lttoolbox-3.8.0.tar.bz2) = 157338 +TIMESTAMP = 1781544160 +SHA256 (lttoolbox-3.8.2.tar.bz2) = 7028dbbcda6c49467378d47784092ef8aba9a59d53e78102742d1edb7c5ff21b +SIZE (lttoolbox-3.8.2.tar.bz2) = 157342 diff --git a/textproc/lttoolbox/files/patch-lttoolbox_lt__comp.cc b/textproc/lttoolbox/files/patch-lttoolbox_lt__comp.cc index 11e2fa496cd2..d967bd62cbc3 100644 --- a/textproc/lttoolbox/files/patch-lttoolbox_lt__comp.cc +++ b/textproc/lttoolbox/files/patch-lttoolbox_lt__comp.cc @@ -1,23 +1,22 @@ ---- lttoolbox/lt_comp.cc.orig 2025-04-05 18:21:01 UTC +--- lttoolbox/lt_comp.cc.orig 2025-07-26 16:26:30 UTC +++ lttoolbox/lt_comp.cc @@ -19,6 +19,7 @@ #include #include #include +#include #include -@@ -119,7 +120,11 @@ int main(int argc, char *argv[]) - std::cerr << "Error: Cannot not open file '" << infile << "'." << std::endl << std::endl; - exit(EXIT_FAILURE); - } -- initGenericErrorDefaultFunc(NULL); +@@ -104,6 +105,11 @@ int main(int argc, char *argv[]) + reader = xmlReaderForFile(infile.c_str(), NULL, 0); + xmlGenericErrorFunc handler = (xmlGenericErrorFunc)errorFunc; + initGenericErrorDefaultFunc(&handler); +#if LIBXML_VERSION < 21200 -+ initGenericErrorDefaultFunc(NULL); ++ initGenericErrorDefaultFunc(NULL); +#else -+ xmlSetGenericErrorFunc(NULL, handler); // match new signature if needed ++ xmlSetGenericErrorFunc(NULL, handler); // match new signature if needed +#endif - - - if(opc == "lr") + if(reader != NULL) + { + int ret = xmlTextReaderRead(reader);