summaryrefslogtreecommitdiffstats
path: root/external/libzmf/android-workaround.patch.1
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:06:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:06:44 +0000
commited5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch)
tree7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /external/libzmf/android-workaround.patch.1
parentInitial commit. (diff)
downloadlibreoffice-upstream.tar.xz
libreoffice-upstream.zip
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--external/libzmf/android-workaround.patch.114
1 files changed, 14 insertions, 0 deletions
diff --git a/external/libzmf/android-workaround.patch.1 b/external/libzmf/android-workaround.patch.1
new file mode 100644
index 000000000..a46c5e8c3
--- /dev/null
+++ b/external/libzmf/android-workaround.patch.1
@@ -0,0 +1,14 @@
+--- libzmf.orig/src/lib/ZMFTypes.cpp 2017-09-17 12:14:41.987990622 +0100
++++ libzmf/src/lib/ZMFTypes.cpp 2017-09-17 12:16:32.636850391 +0100
+@@ -38,10 +38,9 @@
+
+ double Point::distance(const Point &p2) const
+ {
+- return std::hypot(p2.x - x, p2.y - y);
++ return ::hypot(p2.x - x, p2.y - y);
+ }
+
+-
+ BoundingBox::BoundingBox(const std::vector<Point> &points_)
+ : m_points(points_)
+ , m_width(0.0)