diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-01-02 20:12:37 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-01-02 20:12:37 +0000 |
commit | f6e0b913154ad0a900e62b94883dee4f507dbd43 (patch) | |
tree | 57c09f78eebcd9abcff0ea51595fda12c728264c /textproc/xerces-c2-devel | |
parent | 0dc09927f73ed35e04ffd997c14bee7607ffd500 (diff) | |
download | ports-f6e0b913154ad0a900e62b94883dee4f507dbd43.tar.gz ports-f6e0b913154ad0a900e62b94883dee4f507dbd43.zip |
Notes
Diffstat (limited to 'textproc/xerces-c2-devel')
-rw-r--r-- | textproc/xerces-c2-devel/Makefile | 1 | ||||
-rw-r--r-- | textproc/xerces-c2-devel/files/patch-src-xercesc-util-Platforms-FreeBSD-FreeBSDPlatformUtils.cpp | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/textproc/xerces-c2-devel/Makefile b/textproc/xerces-c2-devel/Makefile index 51264bbe808a..9966df9232dc 100644 --- a/textproc/xerces-c2-devel/Makefile +++ b/textproc/xerces-c2-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= xerces-c2 PORTVERSION= 2.3.0 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_APACHE_XML} MASTER_SITE_SUBDIR= xerces-c/source diff --git a/textproc/xerces-c2-devel/files/patch-src-xercesc-util-Platforms-FreeBSD-FreeBSDPlatformUtils.cpp b/textproc/xerces-c2-devel/files/patch-src-xercesc-util-Platforms-FreeBSD-FreeBSDPlatformUtils.cpp new file mode 100644 index 000000000000..9b0f6629c8af --- /dev/null +++ b/textproc/xerces-c2-devel/files/patch-src-xercesc-util-Platforms-FreeBSD-FreeBSDPlatformUtils.cpp @@ -0,0 +1,20 @@ +--- src/xercesc/util/Platforms/FreeBSD/FreeBSDPlatformUtils.cpp Wed Nov 12 20:32:33 2003 ++++ src/xercesc/util/Platforms/FreeBSD/FreeBSDPlatformUtils.cpp Wed Nov 12 20:31:16 2003 +@@ -298,7 +298,7 @@ + XMLExcepts::CPtr_PointerIsZero); + const char* tmpFileName = XMLString::transcode(fileName, fgMemoryManager); + ArrayJanitor<char> janText((char*)tmpFileName, fgMemoryManager); +- FileHandle retVal = (FileHandle)fopen( tmpFileName , "r+" ); ++ FileHandle retVal = (FileHandle)fopen( tmpFileName , "r" ); + return retVal; + } + +@@ -307,7 +307,7 @@ + if (fileName == NULL) + ThrowXML(XMLPlatformUtilsException, + XMLExcepts::CPtr_PointerIsZero); +- FileHandle retVal = (FileHandle)fopen( fileName , "r+" ); ++ FileHandle retVal = (FileHandle)fopen( fileName , "r" ); + return retVal; + } + |