summaryrefslogtreecommitdiff
path: root/graphics/dia/files/patch-plug-ins_wmf_wmf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/dia/files/patch-plug-ins_wmf_wmf.cpp')
-rw-r--r--graphics/dia/files/patch-plug-ins_wmf_wmf.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/dia/files/patch-plug-ins_wmf_wmf.cpp b/graphics/dia/files/patch-plug-ins_wmf_wmf.cpp
new file mode 100644
index 000000000000..f5ae1a91572f
--- /dev/null
+++ b/graphics/dia/files/patch-plug-ins_wmf_wmf.cpp
@@ -0,0 +1,15 @@
+https://gitlab.gnome.org/GNOME/dia/commit/5cb4adf2d2c5
+
+--- plug-ins/wmf/wmf.cpp.orig 2014-08-24 15:46:01 UTC
++++ plug-ins/wmf/wmf.cpp
+@@ -61,8 +61,10 @@ typedef W32::LOGFONTW LOGFONTW;
+ # define SAVE_EMF
+ #endif
+
++#ifdef G_OS_WIN32
+ /* force linking with gdi32 */
+ #pragma comment( lib, "gdi32" )
++#endif
+
+
+ // #define SAVE_EMF