diff options
author | Markus Brueffer <markus@FreeBSD.org> | 2004-12-01 22:33:51 +0000 |
---|---|---|
committer | Markus Brueffer <markus@FreeBSD.org> | 2004-12-01 22:33:51 +0000 |
commit | 4545505b269024142b59601575e982e27102f0c6 (patch) | |
tree | 1ce201803e09b9cb30f79e46a9dae236682a1da4 /net/dclib | |
parent | f13ef5853486a1440035b16e3d95967bc88b9afd (diff) | |
download | ports-4545505b269024142b59601575e982e27102f0c6.tar.gz ports-4545505b269024142b59601575e982e27102f0c6.zip |
Notes
Diffstat (limited to 'net/dclib')
-rw-r--r-- | net/dclib/Makefile | 1 | ||||
-rw-r--r-- | net/dclib/files/patch-dclib-core-cxml.cpp | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/net/dclib/Makefile b/net/dclib/Makefile index 53c5fb4aefc3..7fc49e34d397 100644 --- a/net/dclib/Makefile +++ b/net/dclib/Makefile @@ -8,6 +8,7 @@ PORTNAME= dclib PORTVERSION= 0.3.3 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://download.berlios.de/dcgui/ diff --git a/net/dclib/files/patch-dclib-core-cxml.cpp b/net/dclib/files/patch-dclib-core-cxml.cpp new file mode 100644 index 000000000000..d185d95f5b20 --- /dev/null +++ b/net/dclib/files/patch-dclib-core-cxml.cpp @@ -0,0 +1,23 @@ +--- dclib/core/cxml.cpp.orig Thu Aug 12 10:32:06 2004 ++++ dclib/core/cxml.cpp Wed Dec 1 23:14:00 2004 +@@ -149,10 +149,8 @@ + printf("UTF8Toisolat1 transcoding fail: '%s'\n",s); + else if ( res == -1 ) + printf("UTF8Toisolat1 fail: '%s'\n",s); +- else if ( res == 0 ) +- r = (char*)b; + else +- printf("CXml::xml_UTF8Toisolat1 error %d\n",res); ++ r = (char*)b; + + free(b); + +@@ -180,7 +178,7 @@ + + if ( res == -1 ) + printf("isolat1ToUTF8 fail: '%s'\n",s); +- else if ( res == 0 ) ++ else + r = (char*)b; + + free(b); |