1 |
lxnay 10/02/22 14:21:47 |
2 |
|
3 |
Added: abiword-plugins-2.6.8-glibc-2.10+api.patch |
4 |
Removed: abiword-plugins-2.6.8-glibc-2.10.patch |
5 |
Log: |
6 |
update glibc 2.10 patch, apply API changes to make abiword-plugins compile on x86 |
7 |
(Portage version: 2.2_rc60/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 app-office/abiword-plugins/files/abiword-plugins-2.6.8-glibc-2.10+api.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/abiword-plugins/files/abiword-plugins-2.6.8-glibc-2.10+api.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/abiword-plugins/files/abiword-plugins-2.6.8-glibc-2.10+api.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: abiword-plugins-2.6.8-glibc-2.10+api.patch |
16 |
=================================================================== |
17 |
diff -Nurp abiword-plugins-2.6.8.orig/wp/impexp/xhtml/xp/ie_imp_MHT.cpp abiword-plugins-2.6.8/wp/impexp/xhtml/xp/ie_imp_MHT.cpp |
18 |
--- abiword-plugins-2.6.8.orig/wp/impexp/xhtml/xp/ie_imp_MHT.cpp 2007-06-19 11:42:33.000000000 +0000 |
19 |
+++ abiword-plugins-2.6.8/wp/impexp/xhtml/xp/ie_imp_MHT.cpp 2009-08-06 19:35:52.000000000 +0000 |
20 |
@@ -235,7 +235,7 @@ UT_Error IE_Imp_MHT::importFile (const c |
21 |
} |
22 |
else if (m_document->isHTML4 ()) |
23 |
{ |
24 |
- import_status = importHTML4 (szFilename); |
25 |
+ import_status = importHTML4 (const_cast<char *>(szFilename)); |
26 |
} |
27 |
else import_status = UT_ERROR; |
28 |
} |
29 |
@@ -323,7 +323,7 @@ UT_Error IE_Imp_MHT::importXHTML (const |
30 |
|
31 |
setReader (&wrapper); |
32 |
|
33 |
- return IE_Imp_XHTML::importFile (szFilename); |
34 |
+ return IE_Imp_XHTML::importFile (szFilename, sizeof(szFilename)); |
35 |
} |
36 |
|
37 |
UT_Error IE_Imp_MHT::importHTML4 (const char * szFilename) |
38 |
@@ -351,7 +351,7 @@ UT_Error IE_Imp_MHT::importHTML4 (const |
39 |
UT_HTML parser; |
40 |
setParser (&parser); |
41 |
|
42 |
- e = IE_Imp_XHTML::importFile (szFilename); |
43 |
+ e = IE_Imp_XHTML::importFile (szFilename, sizeof(szFilename)); |
44 |
|
45 |
setParser (0); |
46 |
setReader (0); |