From d2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 15 Jun 2022 20:02:02 +0100 Subject: added deps for qemu --- repo/libfreehand/parentheses-gcc8-fix.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 repo/libfreehand/parentheses-gcc8-fix.patch (limited to 'repo/libfreehand/parentheses-gcc8-fix.patch') diff --git a/repo/libfreehand/parentheses-gcc8-fix.patch b/repo/libfreehand/parentheses-gcc8-fix.patch new file mode 100644 index 0000000..7af1b05 --- /dev/null +++ b/repo/libfreehand/parentheses-gcc8-fix.patch @@ -0,0 +1,13 @@ +diff --git a/src/lib/FHCollector.cpp b/src/lib/FHCollector.cpp +index 874ab46edf..a5ab52ed9a 100644 +--- a/src/lib/FHCollector.cpp ++++ b/src/lib/FHCollector.cpp +@@ -1907,7 +1907,7 @@ void libfreehand::FHCollector::_outputDisplayText(const libfreehand::FHDisplayTe + textObjectProps.insert("svg:width", width); + for (int i=0; i<4; ++i) // osnola: let assume that there is no padding + { +- char const *(padding[])= {"fo:padding-left","fo:padding-right","fo:padding-top","fo:padding-bottom"}; ++ char const *padding[]= {"fo:padding-left","fo:padding-right","fo:padding-top","fo:padding-bottom"}; + textObjectProps.insert(padding[i],0,librevenge::RVNG_POINT); + } + if (!FH_ALMOST_ZERO(rotation)) -- cgit v1.2.1