aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libpathan/files
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/libpathan/files')
-rw-r--r--textproc/libpathan/files/patch-Makefile.defs14
-rw-r--r--textproc/libpathan/files/patch-include-pathan-PathanImplementation.hpp11
-rw-r--r--textproc/libpathan/files/patch-include-pathan-XPath2Utils.hpp11
-rw-r--r--textproc/libpathan/files/patch-src-context-DynamicContextImpl.cpp25
-rw-r--r--textproc/libpathan/files/patch-src-context-XPath2ContextImpl.cpp33
-rw-r--r--textproc/libpathan/files/patch-src-sequence-Sequence.cpp11
6 files changed, 0 insertions, 105 deletions
diff --git a/textproc/libpathan/files/patch-Makefile.defs b/textproc/libpathan/files/patch-Makefile.defs
deleted file mode 100644
index d230e359e9bb..000000000000
--- a/textproc/libpathan/files/patch-Makefile.defs
+++ /dev/null
@@ -1,14 +0,0 @@
---- Makefile.defs.in.orig Mon Aug 9 20:19:33 2004
-+++ Makefile.defs.in Wed Nov 1 23:18:35 2006
-@@ -20,9 +20,9 @@
- DEFINES = -D@system_type@
- XERCESINCPATH = -I@xerces_src@
- INCPATH = ${XERCESINCPATH} -I$(srcdir)/src -I$(srcincdir)
--LIBPATH = -L@xerces_lib@
-+LIBPATH = -L@xerces_lib@ -L/usr/local/lib
- TESTFLAGS = -DTEST
--XERCESLIB = -l@xerces_library@
-+XERCESLIB = -lxerces-c -liconv
- LIBS = @LIBS@ -lm -lstdc++
-
- ###### Output directories
diff --git a/textproc/libpathan/files/patch-include-pathan-PathanImplementation.hpp b/textproc/libpathan/files/patch-include-pathan-PathanImplementation.hpp
deleted file mode 100644
index 4db9fd1d78b2..000000000000
--- a/textproc/libpathan/files/patch-include-pathan-PathanImplementation.hpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- include/pathan/PathanImplementation.hpp.orig Fri Dec 22 15:28:34 2006
-+++ include/pathan/PathanImplementation.hpp Fri Dec 22 15:29:08 2006
-@@ -184,7 +184,7 @@
- * the feature to see if it requires this method.
- * @since DOM Level 2
- */
-- virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMDocumentType *PathanImplementation::createDocumentType(const XMLCh *qualifiedName,const XMLCh * publicId, const XMLCh *systemId);
-+ virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMDocumentType *createDocumentType(const XMLCh *qualifiedName,const XMLCh * publicId, const XMLCh *systemId);
-
- /**
- * This method makes available a <code>DOMImplementation</code>'s
diff --git a/textproc/libpathan/files/patch-include-pathan-XPath2Utils.hpp b/textproc/libpathan/files/patch-include-pathan-XPath2Utils.hpp
deleted file mode 100644
index 3c2672a4f28e..000000000000
--- a/textproc/libpathan/files/patch-include-pathan-XPath2Utils.hpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- include/pathan/XPath2Utils.hpp.orig Fri Dec 22 15:25:39 2006
-+++ include/pathan/XPath2Utils.hpp Fri Dec 22 15:26:03 2006
-@@ -62,7 +62,7 @@
- static std::vector<const XMLCh*> getVal(const XMLCh* values, XPath2MemoryManager* memMgr);
-
- /* Determine whether or not an XMLCh* is contained within a vector of XMLCh's */
-- static bool XPath2Utils::containsString(std::vector<const XMLCh*> values, const XMLCh* val);
-+ static bool containsString(std::vector<const XMLCh*> values, const XMLCh* val);
-
- /** Obtain index of node with respect to it's siblings of same name */
- static int indexNode(const XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *node);
diff --git a/textproc/libpathan/files/patch-src-context-DynamicContextImpl.cpp b/textproc/libpathan/files/patch-src-context-DynamicContextImpl.cpp
deleted file mode 100644
index 1bf631be58b6..000000000000
--- a/textproc/libpathan/files/patch-src-context-DynamicContextImpl.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
---- src/context/DynamicContextImpl.cpp.orig Mon Aug 9 20:19:54 2004
-+++ src/context/DynamicContextImpl.cpp Fri Nov 3 11:52:11 2006
-@@ -39,6 +39,13 @@
-
- static CodepointCollation g_codepointCollation;
-
-+inline int gettimezone()
-+{
-+ time_t tt;
-+ time(&tt);
-+ struct tm *tm_p = gmtime(&tt);
-+ return (int)mktime(tm_p) - (int)tt;
-+}
- DynamicContextImpl::DynamicContextImpl(const StaticContext *staticContext, XPath2MemoryManager* memMgr)
- : _staticContext(staticContext),
- _nsResolver(staticContext->getNSResolver()),
-@@ -148,7 +155,7 @@
- tz = _timezone;
- #else /*WIN32*/
- tzset ();
-- tz = timezone;
-+ tz = gettimezone();
- #endif
- // validate tzone
- Timezone tzone(tz);
diff --git a/textproc/libpathan/files/patch-src-context-XPath2ContextImpl.cpp b/textproc/libpathan/files/patch-src-context-XPath2ContextImpl.cpp
deleted file mode 100644
index da4e6bd5e083..000000000000
--- a/textproc/libpathan/files/patch-src-context-XPath2ContextImpl.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
---- src/context/XPath2ContextImpl.cpp.orig Mon Aug 9 20:19:54 2004
-+++ src/context/XPath2ContextImpl.cpp Fri Nov 3 11:51:57 2006
-@@ -8,6 +8,7 @@
- #include <assert.h>
- #include <iostream>
- #include <memory>
-+#include <time.h>
- #include <pathan/VariableStore.hpp>
- #include <pathan/simpleVariables/VariableTypeStore.hpp>
- #include <pathan/XPath2NSUtils.hpp>
-@@ -41,6 +42,13 @@
-
- static CodepointCollation g_codepointCollation;
-
-+inline int gettimezone()
-+{
-+ time_t tt;
-+ time(&tt);
-+ struct tm *tm_p = gmtime(&tt);
-+ return (int)mktime(tm_p) - (int)tt;
-+}
- XPath2ContextImpl::XPath2ContextImpl(XPath2MemoryManager* memMgr,
- XERCES_CPP_NAMESPACE_QUALIFIER XMLGrammarPool* xmlgr,
- XERCES_CPP_NAMESPACE_QUALIFIER DOMNode* contextNode) :
-@@ -177,7 +185,7 @@
- tz = _timezone;
- #else /*WIN32*/
- tzset ();
-- tz = timezone;
-+ tz = gettimezone();
- #endif
- // validate tzone
- Timezone tzone(tz);
diff --git a/textproc/libpathan/files/patch-src-sequence-Sequence.cpp b/textproc/libpathan/files/patch-src-sequence-Sequence.cpp
deleted file mode 100644
index abd2b397570e..000000000000
--- a/textproc/libpathan/files/patch-src-sequence-Sequence.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/sequence/Sequence.cpp.orig Fri Nov 3 10:59:39 2006
-+++ src/sequence/Sequence.cpp Fri Nov 3 10:59:18 2006
-@@ -214,7 +214,7 @@
-
- Sequence result(context->getMemoryManager());
-
-- const_iterator end(end());
-+ Sequence::const_iterator end(Sequence::end());
- for(const_iterator i = begin(); i != end; ++i)
- {
- if((*i)->isNode())