summaryrefslogtreecommitdiff
path: root/user/libstaroffice/mistake.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-05-30 01:50:00 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-07 10:08:13 -0500
commit5c0023a20439a09214c4e56c592143c443aaa969 (patch)
tree0ad5fce13a8f80b7a6fd245a5ea7bf44b19ea2cf /user/libstaroffice/mistake.patch
parent2b75ae66033eaa344519cc6c5cde86230889be21 (diff)
downloadpackages-5c0023a20439a09214c4e56c592143c443aaa969.tar.gz
packages-5c0023a20439a09214c4e56c592143c443aaa969.tar.bz2
packages-5c0023a20439a09214c4e56c592143c443aaa969.tar.xz
packages-5c0023a20439a09214c4e56c592143c443aaa969.zip
user/libstaroffice: Update to 0.0.7
Also integrate upstream patch to fix 'mistake' that causes warning.
Diffstat (limited to 'user/libstaroffice/mistake.patch')
-rw-r--r--user/libstaroffice/mistake.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/user/libstaroffice/mistake.patch b/user/libstaroffice/mistake.patch
new file mode 100644
index 000000000..11c558c34
--- /dev/null
+++ b/user/libstaroffice/mistake.patch
@@ -0,0 +1,22 @@
+From ef427988dd95203938c2f2e8f212347a8c0c678a Mon Sep 17 00:00:00 2001
+From: ALONSO Laurent <laurent.alonso@inria.fr>
+Date: Mon, 17 Apr 2023 12:21:36 +0200
+Subject: [PATCH] STOFFStarMathToMMLConverter.cxx: correct a mistake...
+
+---
+ src/lib/STOFFStarMathToMMLConverter.cxx | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/lib/STOFFStarMathToMMLConverter.cxx b/src/lib/STOFFStarMathToMMLConverter.cxx
+index 99abb73..9457815 100644
+--- a/src/lib/STOFFStarMathToMMLConverter.cxx
++++ b/src/lib/STOFFStarMathToMMLConverter.cxx
+@@ -2044,7 +2044,7 @@ bool Parser::convert(librevenge::RVNGString const &starMath, std::vector<LexerDa
+ done=true;
+ }
+ else if (len>=2 && c=='>' && dataList.back().m_string=="?" &&
+- dataList[len-2].LexerData::Special && dataList[len-2].m_string=="<") {
++ dataList[len-2].m_type==LexerData::Special && dataList[len-2].m_string=="<") {
+ dataList[len-2].m_type=LexerData::PlaceHolder;
+ dataList[len-2].m_string="<?>";
+ dataList.resize(len-1);