diff options
author | minskim <minskim> | 2004-02-12 02:41:18 +0000 |
---|---|---|
committer | minskim <minskim> | 2004-02-12 02:41:18 +0000 |
commit | a9d24a97ac58317e72d40dd93be06ae350dee847 (patch) | |
tree | 62259042251cd59690d2646bd261a80aa9489e24 /textproc/libpathan/patches | |
parent | 904fb99528f41da42271c33b5e2c2fb70a5898a8 (diff) | |
download | pkgsrc-a9d24a97ac58317e72d40dd93be06ae350dee847.tar.gz |
Import libpathan-1.2.2 from pkgsrc-wip.
The Pathan project grew out of DecisionSoft's work on XMLScript, an
XML transformation language.
XPath was adopted as a node selection language by XMLScript when the
XPath specification was ratified by the W3C. DecisionSoft's XMLScript
processor is based on Xerces-C, a Document Object Model compliant XML
parser. Pathan therefore was designed from the base up to be fully
compatible with the Xerces parser.
Pathan 1 represents the open sourcing of the XPath component of
DecisionSoft's XMLScript processor. Pathan 1 features a full
implementation of the XPath 1.0 Specification. Pathan 1 implements
the W3C DOM Level 3 XPath Specification (Working Draft February 08
2002) providing a powerful and coherent interface between XPath and
DOM and hence a standardised interface with Xerces.
Diffstat (limited to 'textproc/libpathan/patches')
-rw-r--r-- | textproc/libpathan/patches/patch-aa | 13 | ||||
-rw-r--r-- | textproc/libpathan/patches/patch-ab | 33 |
2 files changed, 46 insertions, 0 deletions
diff --git a/textproc/libpathan/patches/patch-aa b/textproc/libpathan/patches/patch-aa new file mode 100644 index 00000000000..70d657b6176 --- /dev/null +++ b/textproc/libpathan/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/02/12 02:41:18 minskim Exp $ + +--- configure.orig 2003-08-28 08:11:54.000000000 -0500 ++++ configure +@@ -1506,7 +1506,7 @@ echo "$as_me: error: Please set \$XERCES + fi + + xerces_include=${XERCESCROOT}/include +-xerces_src=${XERCESCROOT}/src ++xerces_src=${XERCESCROOT}/include + xerces_lib=${XERCESCROOT}/lib + + diff --git a/textproc/libpathan/patches/patch-ab b/textproc/libpathan/patches/patch-ab new file mode 100644 index 00000000000..31e706e1b5d --- /dev/null +++ b/textproc/libpathan/patches/patch-ab @@ -0,0 +1,33 @@ +$NetBSD: patch-ab,v 1.1.1.1 2004/02/12 02:41:18 minskim Exp $ + +--- src/defs/NumUtils.cpp.orig 2003-08-12 04:38:55.000000000 -0500 ++++ src/defs/NumUtils.cpp +@@ -3,7 +3,7 @@ + * Please see LICENSE.TXT for more information. + */ + #include "NumUtils.hpp" +-#include <strstream> ++#include <sstream> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +@@ -100,16 +100,16 @@ XMLCh *NumUtils::doubleAsString(XSFloat + } else if(NumUtils::isInfinite(d) && NumUtils::isNegative(d)) { + result = XERCES_CPP_NAMESPACE_QUALIFIER XMLString::transcode("-Infinity"); + } else { +- strstream number; ++ stringstream number; + + /* "precision" sets the fractional part to the maximum possible. */ + number.precision(15); //XXX: This might be 16.. + + number << d << ends; + +- result = XERCES_CPP_NAMESPACE_QUALIFIER XMLString::transcode(number.str()); ++ result = XERCES_CPP_NAMESPACE_QUALIFIER XMLString::transcode(number.str().c_str()); + +- number.freeze(0); ++ //number.freeze(0); + + // If "-0" then "0" + if(result[0]==XERCES_CPP_NAMESPACE_QUALIFIER chDash && result[1]==XERCES_CPP_NAMESPACE_QUALIFIER chDigit_0 && result[2]==XERCES_CPP_NAMESPACE_QUALIFIER chNull ) { |