head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.8 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.6 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.4 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.2 pkgsrc-2011Q2-base:1.6 pkgsrc-2010Q4:1.5.0.14 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.12 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.10 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.8 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.6 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.4 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.2 pkgsrc-2009Q2-base:1.5 pkgsrc-2008Q4:1.4.0.10 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.8 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.6 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.4 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.2 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.3.0.16 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.14 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.12 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.10 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.8 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.6 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.4 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.2 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.2.0.16 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.14 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.12 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.10 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.8 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.6 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.4 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.1.1.1.0.10 pkgsrc-2003Q4-base:1.1.1.1 netbsd-1-6-1:1.1.1.1.0.6 netbsd-1-6-1-base:1.1.1.1 netbsd-1-6:1.1.1.1.0.8 netbsd-1-6-RELEASE-base:1.1.1.1 pkgviews:1.1.1.1.0.4 pkgviews-base:1.1.1.1 buildlink2:1.1.1.1.0.2 buildlink2-base:1.1.1.1 netbsd-1-5-PATCH003:1.1.1.1 netbsd-1-5-PATCH001:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.6 date 2011.02.23.08.37.42; author adam; state dead; branches; next 1.5; 1.5 date 2009.05.08.12.30.47; author hasso; state Exp; branches; next 1.4; 1.4 date 2008.01.24.07.17.34; author xtraeme; state dead; branches; next 1.3; 1.3 date 2006.01.05.20.43.20; author joerg; state Exp; branches; next 1.2; 1.2 date 2004.02.11.04.20.16; author minskim; state dead; branches; next 1.1; 1.1 date 2001.01.15.12.42.09; author skrll; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.01.15.12.42.09; author skrll; state Exp; branches; next ; desc @@ 1.6 log @Removed textproc/xalan-c @ text @$NetBSD: patch-ad,v 1.5 2009/05/08 12:30:47 hasso Exp $ --- Makefile.incl.in.orig 2009-05-08 14:46:22 +0300 +++ Makefile.incl.in 2009-05-08 14:46:58 +0300 @@@@ -263,6 +263,34 @@@@ ifeq ($(PLATFORM), FREEBSD) endif +#=============== DRAGONFLY SPECIFIC OPTIONS ====================== + +ifeq ($(PLATFORM), DRAGONFLY) + + SUPPORTED = TRUE + ALLLIBS = ${LIBS} -L/usr/local/lib + SHLIBSUFFIX=.so + PIC_OPTION = -fPIC + + PLATFORM_COMPILE_OPTIONS = -D${PLATFORM} ${PIC_OPTION} ${WCSTOMBS} + + # We need the ICU library if we are using the ICUBridge + ifdef XALAN_USE_ICU + LD_RPATH_PRE = -Wl,-rpath, + PLATFORM_LIB_LINK_OPTIONS = $(LD_RPATH_PRE)${ICUROOT}/lib + PLATFORM_LIB_LINK_OPTIONS += -licuuc -licudata -lgcc + ALLLIBS += -L${ICUROOT} + endif + + CC1 = $(CXX) $(CXXFLAGS) $(PLATFORM_COMPILE_OPTIONS) + CC4 = $(CC) $(CFLAGS) $(PLATFORM_COMPILE_OPTIONS) + MAKE_SHARED = $(CXX) $(CXXFLAGS) -D${PLATFORM} -shared ${PIC_OPTION} ${LDFLAGS} + LINK = $(CXX) -D${PLATFORM} ${PIC_OPTION} ${LDFLAGS} + + MAKE_SHARED_LOC=$(MAKE_SHARED) + +endif + #=============== NETBSD SPECIFIC OPTIONS ====================== ifeq ($(PLATFORM), NETBSD) @ 1.5 log @Make it build on DragonFly. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Update to 1.10. Major updates since version 1.9 include: * Support for XML 1.1 and Namespaces in XML 1.1. * Added support for IBM XLC 7.0 compiler on Linux. * Improved and stabilized C pluggable memory management functionality. * Various improvements in Xalan XML serializers for better performance and stability. * Upgrade from Xerces-C 2.6 to Xerces-C 2.7. Major updates since version 1.8 include: * Pluggable Memory Management. This feature allows applications to maintain precise control over memory allocations. This will allow users, with knowledge of their application's characteristics, to provide a more efficient allocation method than the general purpose procedures provided by the system. for more information on how to use this feature, please see the Pluggable Memory Management section of the Programming page. * Improved stability on the execution of large stylesheets and XML documents. Because the current implementation relies on function recursion, certain stylesheets/input documents may cause the program stack to overflow and cause the application to fail. It also may inhibit executing stylesheets that are heavily dependent on recursive functions. This feature will prevent these types of failure. * Provided a global option to pool all text node strings. This feature allows developers to set a flag to determine if a parsed source tree will pool the values of all of the text nodes in the XML document. By doing so, this can result in a significant reduction in memory usage, particularly if there are a lot of repeated values in text nodes. Please see the class descriptions for XalanSourceTreeDocument, XalanDefaultParsedSource, and XalanTransformer in the API Reference section for more information. ... and more, see: http://xml.apache.org/xalan-c/whatsnew.html @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.3 2006/01/05 20:43:20 joerg Exp $ d3 5 a7 4 --- PlatformSupport/XalanArrayAllocator.hpp.orig 2005-12-31 01:07:05.000000000 +0000 +++ PlatformSupport/XalanArrayAllocator.hpp @@@@ -211,7 +211,7 @@@@ private: ListEntryType& theNewEntry = m_list.back(); d9 29 a37 3 // Resize the vector to the appropriate size... - theNewEntry.second.resize(theBlockSize, VectorType::value_type(0)); + theNewEntry.second.resize(theBlockSize); d39 1 a39 2 // Set the number of free spaces accordingly... theNewEntry.first = theBlockSize - theCount; @ 1.3 log @Add DragonFly support. Fix a C++ issue by dropping the default value for the vector resize, it is not really needed. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update xalan-c to 1.6. Too many changes since 1.0. See http://xml.apache.org/xalan-c/readme.html#history for the entire history. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.1 2001/01/15 12:42:09 skrll Exp $ d3 4 a6 3 --- PlatformSupport/PlatformSupportDefinitions.hpp.orig Fri Oct 6 19:17:04 2000 +++ PlatformSupport/PlatformSupportDefinitions.hpp @@@@ -77,6 +77,40 @@@@ d8 3 a10 1 #endif d12 2 a13 37 +#ifdef NETBSD /* hacks to compile with NetBSD */ +#include +#include +#include + +inline int iswdigit (wchar_t); +inline int iswalnum (wchar_t); +inline wchar_t towlower (wchar_t); +inline wchar_t towupper (wchar_t); + +#ifndef XML_NETBSD_STRICMP_DEFINED /* See GCCDefs.hpp from xerces */ +#define XML_NETBSD_STRICMP_DEFINED +inline int stricmp (const char*, const char*); +inline int stricmp (const char* s1, const char* s2) {return strcasecmp(s1,s2);} +inline int strincmp (const char*, const char*, size_t l); +inline int strincmp (const char* s1, const char* s2, size_t l) {return strncasecmp(s1,s2,l);} +#endif /* XML_NETBSD_STRICMP_DEFINED */ + +inline int iswdigit (wchar_t c) { return (isascii(c) && isdigit(c)); } +inline int iswalnum (wchar_t c) { return (isascii(c) && isalnum(c)); } +inline wchar_t towlower (wchar_t c) { + if (isascii(c)) + return tolower(c); + else + return (c); +} +inline wchar_t towupper (wchar_t c) { + if (isascii(c)) + return toupper(c); + else + return (c); +} + +#endif #endif // PLATFORMSUPPORTDEFINITIONS_HEADER_GUARD_1357924680 @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Import of xalan-c 1.0. The Apache Project's XSLT implementation @ text @@