mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
0b39c99dba
While here, drop USE_GCC=yes, as the port was verified to build with clang on both HEAD-amd64 and 10.3-i386. PR: 219288 Approved by: maintainer timeout (amdmi3, 18 days)
18 lines
455 B
C++
18 lines
455 B
C++
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;
|