vcpkg/ports/mathgl/fix-mgllab.patch
Kai Pastor 797256da29
[mathgl] Update, fix cmake config, dependencies, linkage, usage (#28311)
* Fix mathgl confix fixup

* Control library linkage

* Fix dependencies

* Revise tool installation

* Install usage doc

* Reduce config warnings

* Don't pick up gettext

* Fix osx

* Cross-builds partially unsupported

* uwp unsupported

* Devendor getopt

* No _CRT_STDIO_ISO_WIDE_SPECIFIERS

* Fix mgllab

* Fix glut

* Cleanup

* Update to 8.0.1

* Control building of examples

* Fix examples

* Add vcpkg-ci-mathgl test port

* Update versions

* Trim qt5 dependency

* Trim non-trivial dependencies

* Fix cross builds

* CR changes
2023-01-07 00:59:30 -08:00

14 lines
453 B
Diff

diff --git a/mgllab/mgllab.cpp b/mgllab/mgllab.cpp
index ef2d556..36fbfc4 100644
--- a/mgllab/mgllab.cpp
+++ b/mgllab/mgllab.cpp
@@ -344,7 +344,7 @@ Fl_Menu_Item menuitems[] = {
void mem_upd_cb(Fl_Widget *, void *v)
{ ((ScriptWindow*)v)->mem_init(); }
//-----------------------------------------------------------------------------
-extern Fl_RGB_Image img_udav;
+extern MGL_EXPORT Fl_RGB_Image img_udav;
ScriptWindow *new_view()
{
Fl_Group *gg;