- Add patch to chase latest API-change in libxml2
- Bump PORTREVISION
This commit is contained in:
parent
f13ef58534
commit
4545505b26
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122943
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= dclib
|
||||
PORTVERSION= 0.3.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://download.berlios.de/dcgui/
|
||||
|
||||
|
23
net-p2p/dclib/files/patch-dclib-core-cxml.cpp
Normal file
23
net-p2p/dclib/files/patch-dclib-core-cxml.cpp
Normal file
@ -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);
|
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= dclib
|
||||
PORTVERSION= 0.3.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://download.berlios.de/dcgui/
|
||||
|
||||
|
23
net/dclib/files/patch-dclib-core-cxml.cpp
Normal file
23
net/dclib/files/patch-dclib-core-cxml.cpp
Normal file
@ -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);
|
Loading…
Reference in New Issue
Block a user