summaryrefslogtreecommitdiff
path: root/textproc/xerces-c/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/xerces-c/patches/patch-ac')
-rw-r--r--textproc/xerces-c/patches/patch-ac45
1 files changed, 13 insertions, 32 deletions
diff --git a/textproc/xerces-c/patches/patch-ac b/textproc/xerces-c/patches/patch-ac
index 0e29fcfba04..45ae87abb59 100644
--- a/textproc/xerces-c/patches/patch-ac
+++ b/textproc/xerces-c/patches/patch-ac
@@ -1,33 +1,14 @@
-$NetBSD: patch-ac,v 1.3 2004/02/11 04:06:05 minskim Exp $
+$NetBSD: patch-ac,v 1.4 2006/08/10 13:44:22 abs Exp $
---- framework/StdOutFormatTarget.cpp.orig 2003-05-27 10:04:45.000000000 -0500
-+++ framework/StdOutFormatTarget.cpp
-@@ -80,7 +80,7 @@
- */
-
- #include <xercesc/framework/StdOutFormatTarget.hpp>
--#include <iostream.h>
-+#include <iostream>
-
- XERCES_CPP_NAMESPACE_BEGIN
-
-@@ -92,7 +92,7 @@ StdOutFormatTarget::~StdOutFormatTarget(
-
- void StdOutFormatTarget::flush()
- {
-- cout.flush();
-+ std::cout.flush();
- }
-
- void StdOutFormatTarget::writeChars(const XMLByte* const toWrite
-@@ -104,8 +104,8 @@ void StdOutFormatTarget::writeChars(cons
- // Without the cast, it was printing the pointer value in hex.
- // Quite annoying, considering every other platform printed
- // the string with the explicit cast to char* below.
-- cout.write((char *) toWrite, (int) count);
-- cout.flush();
-+ std::cout.write((char *) toWrite, (int) count);
-+ std::cout.flush();
-
- }
-
+--- ../../samples/runConfigure.orig 2005-09-07 16:56:50.000000000 +0100
++++ ../../samples/runConfigure
+@@ -266,6 +266,9 @@ else
+ elif test $platform = "freebsd"; then
+ threadingLibs="-pthread -lc_r"
+ threadingDefines="-D_THREAD_SAFE -DXML_USE_PTHREADS"
++ elif test $platform = "dragonfly"; then
++ threadingLibs="-pthread -lc_r"
++ threadingDefines="-D_THREAD_SAFE -DXML_USE_PTHREADS"
+ elif test $platform = "netbsd"; then
+ threadingLibs="-pthread"
+ threadingDefines="-D_THREAD_SAFE -DXML_USE_PTHREADS"