Date: Mon, 23 Sep 2019 17:55:30 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r512654 - head/graphics/dia/files Message-ID: <201909231755.x8NHtURr074107@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Mon Sep 23 17:55:29 2019 New Revision: 512654 URL: https://svnweb.freebsd.org/changeset/ports/512654 Log: graphics/dia: unbreak with clang 9 ld: error: .libs/wmf.o: unable to find library from dependent library specifier: gdi32 Reported by: antoine (via bug 240629 exp-run) Regressed by: https://reviews.llvm.org/rL360984 Added: head/graphics/dia/files/patch-plug-ins_wmf_wmf.cpp (contents, props changed) Added: head/graphics/dia/files/patch-plug-ins_wmf_wmf.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/dia/files/patch-plug-ins_wmf_wmf.cpp Mon Sep 23 17:55:29 2019 (r512654) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909231755.x8NHtURr074107>