summaryrefslogtreecommitdiff
path: root/app-text/libmwaw/files/libmwaw-0.3.13-buildfix.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-11-18 18:38:22 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-11-18 18:38:22 +0000
commita5956e0a0daddcad648e0d8d8e5cb3e49e09bda7 (patch)
tree3d2e0a61f348a5299e73ca7c2b236156a8cc79b5 /app-text/libmwaw/files/libmwaw-0.3.13-buildfix.patch
parent38f60b3ec9ff175535d9a056a76ae42931e61e21 (diff)
gentoo resync : 18.11.2017
Diffstat (limited to 'app-text/libmwaw/files/libmwaw-0.3.13-buildfix.patch')
-rw-r--r--app-text/libmwaw/files/libmwaw-0.3.13-buildfix.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/app-text/libmwaw/files/libmwaw-0.3.13-buildfix.patch b/app-text/libmwaw/files/libmwaw-0.3.13-buildfix.patch
new file mode 100644
index 000000000000..5c9940e8860d
--- /dev/null
+++ b/app-text/libmwaw/files/libmwaw-0.3.13-buildfix.patch
@@ -0,0 +1,19 @@
+commit 4bc8ec0481f89b989b0c34236c9d5d9b8038d4a9
+Author: David Tardon <dtardon@redhat.com>
+Date: Wed Nov 15 13:15:44 2017 +0100
+
+ fix call of explicit ctor
+
+diff --git a/src/lib/libmwaw_internal.hxx b/src/lib/libmwaw_internal.hxx
+index 2875a0fb..b844a9d5 100644
+--- a/src/lib/libmwaw_internal.hxx
++++ b/src/lib/libmwaw_internal.hxx
+@@ -1027,7 +1027,7 @@ public:
+ }
+ //! generic constructor
+ template <class U> explicit MWAWBox2(MWAWBox2<U> const &p)
+- : m_data(p.min(), p.max())
++ : m_data(MWAWVec2<T>(p.min()), MWAWVec2<T>(p.max()))
+ {
+ }
+