aboutsummaryrefslogblamecommitdiff
path: root/math/drgeo/files/patch-geo_drgeo__figure.cc
blob: 1f87f43cd58774f67dc033ad4d3ac4cb283e75c5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                                                                                          
Fix the build with GCC >= 6.

drgeo_figure.cc: At global scope:
drgeo_figure.cc:56:1: error: '<anonymous struct> drgeoDialogData', declared using anonymous type, is used but never defined [-fpermissive]
 drgeoDialogData;
  ^~~~~~~~~~~~~~~
--- geo/drgeo_figure.cc.orig	2017-07-25 16:56:59 UTC
+++ geo/drgeo_figure.cc
@@ -48,7 +48,7 @@
 #include "drgeo_dialog.h"
 #include "traite.h"
 
-extern struct
+struct
 {
   drgeoPoint mouse;
   drgeoFigure *figure;