mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
www/tdom: update to 0.9.5
* Added the asTypedList method to the domDoc and domNode commands. * Added the createFromTypedList method to the dom command. * Updated to expat 2.6.3. * Added the flag -keepTextStart to the expat command. * Text node commands created by createNodeCmd of the json type NULL, TRUE or FALSE may be called without argument. * Changed the error messages of the dom, domDoc and domNode commands to mostly confirm to ususal Tcl behaviour. * Added the asTclValue method to the domDoc and domNode commands.
This commit is contained in:
parent
39d8976d3b
commit
c3af229b02
@ -1,8 +1,8 @@
|
||||
PORTNAME= tDOM
|
||||
DISTVERSION= 0.9.4
|
||||
DISTVERSION= 0.9.5
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://tdom.org/downloads/
|
||||
DISTNAME= ${PORTNAME:tl}-${PORTVERSION}-src
|
||||
DISTNAME= ${PORTNAME:tl}-${DISTVERSION}-src
|
||||
|
||||
MAINTAINER= ports@virtual-estates.net
|
||||
COMMENT= High performance processing of XML and HTML data with Tcl
|
||||
@ -17,10 +17,10 @@ CONFIGURE_ARGS= --enable-threads --disable-tdomalloc
|
||||
EXTRACT_AFTER_ARGS= --exclude 'expat*/*.c' --exclude 'expat*/[a-mo-z]*.h' \
|
||||
--exclude 'domalloc*' --exclude win
|
||||
|
||||
MAKE_ARGS+= RANLIB_STUB=:
|
||||
MAKE_ARGS+= TESTFLAGS=
|
||||
TEST_TARGET= test
|
||||
|
||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||
PLIST_SUB= DISTVERSION=${DISTVERSION}
|
||||
|
||||
DOCS= CHANGES README.md
|
||||
|
||||
@ -48,7 +48,6 @@ post-patch-EBASE-on:
|
||||
${WRKSRC}/generic/tdom.h \
|
||||
${WRKSRC}/generic/tclexpat.h
|
||||
${REINPLACE_CMD} 's|-lexpat|-lbsdxml|' ${WRKSRC}/configure
|
||||
${REINPLACE_CMD} '553s|$$|knownBug} {|' ${WRKSRC}/tests/dom.test
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
|
||||
@ -56,6 +55,6 @@ post-install-DOCS-on:
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}/html/
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/tdom0.9.4/libtdom0.9.4.so
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${TCL_PKG:tl}/lib${TCL_PKG_LIB_PREFIX}${TCL_PKG:tl}.so
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1723737191
|
||||
SHA256 (tdom-0.9.4-src.tar.gz) = f947d38cbb7978ec1510e3cf894a672a4ad18cb823b8c9bb3604934ebe4c4546
|
||||
SIZE (tdom-0.9.4-src.tar.gz) = 1447298
|
||||
TIMESTAMP = 1729089057
|
||||
SHA256 (tdom-0.9.5-src.tar.gz) = ce22e3f42da9f89718688bf413b82fbf079b40252ba4dd7f2a0e752232bb67e8
|
||||
SIZE (tdom-0.9.5-src.tar.gz) = 1512934
|
||||
|
@ -1,9 +0,0 @@
|
||||
--- Makefile.in 2018-07-23 18:03:51.409385897 -0400
|
||||
+++ Makefile.in 2018-10-14 10:04:41.681243000 -0400
|
||||
@@ -114,5 +114,5 @@
|
||||
EXEEXT = @EXEEXT@
|
||||
LDFLAGS_DEFAULT = @LDFLAGS_DEFAULT@
|
||||
-MAKE_LIB = @MAKE_LIB@
|
||||
+MAKE_LIB = @MAKE_LIB@ ${LDFLAGS_DEFAULT}
|
||||
MAKE_SHARED_LIB = @MAKE_SHARED_LIB@
|
||||
MAKE_STATIC_LIB = @MAKE_STATIC_LIB@
|
@ -1,6 +1,6 @@
|
||||
--- generic/dom.h 2018-09-24 12:17:05.706742000 +0000
|
||||
+++ generic/dom.h 2024-08-15 12:03:29.000000000 -0400
|
||||
@@ -41,8 +41,7 @@
|
||||
--- generic/dom.h.orig 2024-10-22 09:14:54 UTC
|
||||
+++ generic/dom.h
|
||||
@@ -39,7 +39,6 @@ +-----------------------------------------------------
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <expat.h>
|
||||
@ -8,4 +8,3 @@
|
||||
#include <limits.h>
|
||||
|
||||
/*
|
||||
* tDOM provides it's own memory allocator which is optimized for
|
||||
|
@ -1,27 +0,0 @@
|
||||
Remove the set-but-unused variable (nHash). Pointed out by
|
||||
clang...
|
||||
|
||||
-mi
|
||||
|
||||
--- generic/domxslt.c 2024-07-25 20:20:32.000000000 -0400
|
||||
+++ generic/domxslt.c 2024-08-15 12:08:27.351920000 -0400
|
||||
@@ -1152,5 +1152,5 @@
|
||||
char wrongFormat[] = "Unable to interpret format pattern.";
|
||||
domLength l, zl, gLen;
|
||||
- int i, j, k, g, nHash, nZero, fHash, fZero, isNeg;
|
||||
+ int i, j, k, g, nZero, fHash, fZero, isNeg;
|
||||
int prefixMinux, percentMul = 0, perMilleMul = 0;
|
||||
Tcl_DString dStr, s;
|
||||
@@ -1219,5 +1219,5 @@
|
||||
}
|
||||
prefix1[i] = '\0';
|
||||
- nHash = nZero = fHash = fZero = 0;
|
||||
+ nZero = fHash = fZero = 0;
|
||||
gLen = -2222;
|
||||
while (*p) {
|
||||
@@ -1227,5 +1227,4 @@
|
||||
goto xsltFormatNumberError;
|
||||
}
|
||||
- nHash++;
|
||||
}
|
||||
else if (*p==df->zeroDigit) { nZero++; }
|
@ -1,8 +1,8 @@
|
||||
include/tdom.h
|
||||
lib/tdom%%PORTVERSION%%/libtdom%%PORTVERSION%%.so
|
||||
lib/tdom%%PORTVERSION%%/libtdomstub%%PORTVERSION%%.a
|
||||
lib/tdom%%PORTVERSION%%/pkgIndex.tcl
|
||||
lib/tdom%%PORTVERSION%%/tdom.tcl
|
||||
lib/tdom%%DISTVERSION%%/lib%%TCL_PKG_LIB_PREFIX%%tdom%%DISTVERSION%%.so
|
||||
lib/tdom%%DISTVERSION%%/libtdomstub%%TCL_PKG_STUB_POSTFIX%%.a
|
||||
lib/tdom%%DISTVERSION%%/pkgIndex.tcl
|
||||
lib/tdom%%DISTVERSION%%/tdom.tcl
|
||||
lib/tdomConfig.sh
|
||||
share/man/mann/dom.n.gz
|
||||
share/man/mann/domDoc.n.gz
|
||||
|
Loading…
Reference in New Issue
Block a user