diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-02-18 00:29:18 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-02-18 00:29:18 -0200 |
commit | 974b9c41fb0ba6895f8482568fe1e54bed58a1a2 (patch) | |
tree | 628063b2436f822cb65063c7fedba5332b5b0980 /libre/abiword/abiword-3.0.0-link-grammar-5-second.patch | |
parent | 5943c65440e5a32f5731215dfdfeef40cd947133 (diff) |
abiword-3.0.1-1.parabola1: updating version
* Update to 3.0.1 (FS#41935 -> https://bugs.archlinux.org/task/41935), merge plugins into main package, enable introspection support (FS#42903 -> https://bugs.archlinux.org/task/42903). Fix grammar plugin, compile collab plugin that was broken in 3.0.0
Diffstat (limited to 'libre/abiword/abiword-3.0.0-link-grammar-5-second.patch')
-rw-r--r-- | libre/abiword/abiword-3.0.0-link-grammar-5-second.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/libre/abiword/abiword-3.0.0-link-grammar-5-second.patch b/libre/abiword/abiword-3.0.0-link-grammar-5-second.patch new file mode 100644 index 000000000..c471c749f --- /dev/null +++ b/libre/abiword/abiword-3.0.0-link-grammar-5-second.patch @@ -0,0 +1,35 @@ +--- abiword-3.0.0/plugins/grammar/linkgrammarwrap/LinkGrammarWrap.cpp.orig 2014-06-30 08:21:30.000000000 -0500 ++++ abiword-3.0.0/plugins/grammar/linkgrammarwrap/LinkGrammarWrap.cpp 2014-06-30 08:27:01.000000000 -0500 +@@ -220,6 +220,7 @@ bool LinkGrammarWrap::parseSentence(Piec + pErr = NULL; + } + ++#ifdef DEAD_DEBUG_CODE + // for(i=0; i< pT->m_vecGrammarErrors.getItemCount(); i++) + // { + // pErr = pT->m_vecGrammarErrors.getNthItem(i); +@@ -227,15 +228,10 @@ bool LinkGrammarWrap::parseSentence(Piec + // } + UT_UTF8String sErr = linkage_get_violation_name(linkage); + // UT_DEBUGMSG(("Top Level error message |%s|\n",sErr.utf8_str())); +- UT_sint32 count = linkage_get_num_sublinkages(linkage); + // + // Find linkages with violations + // +- for(i=0; i<count;i++) + { +- UT_sint32 iok = linkage_set_current_sublinkage(linkage, i); +- if(iok == 0) +- continue; + UT_sint32 j = 0; + UT_sint32 iNum = linkage_get_num_links(linkage); + for(j=0;j< iNum;j++) +@@ -252,6 +248,8 @@ bool LinkGrammarWrap::parseSentence(Piec + } + } + linkage_delete(linkage); ++#endif // DEAD_DEBUG_CODE ++ + for(i=0; i< vecMapOfWords.getItemCount(); i++) + { + AbiGrammarError * p = vecMapOfWords.getNthItem(i); |