ports/education/drgeo/patches/patch-geo_drgeo_dialog_cc

13 lines
405 B
Text

Modern C++ doesn't want to give external linkage to anonymous structs
Index: geo/drgeo_dialog.cc
--- geo/drgeo_dialog.cc.orig
+++ geo/drgeo_dialog.cc
@@ -38,7 +38,7 @@ static GtkWidget *drgeoEditDialog = NULL, *drgeoEntry;
// Used in the style dialod callback, I know it's ugly, but so easy
static drgeoFigure *selected_figure;
-struct
+struct fooclang
{
drgeoPoint mouse;
drgeoFigure *figure;