View | Details | Raw Unified | Return to bug 219288
Collapse All | Expand All

(-)Makefile (-2 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	drgeo
4
PORTNAME=	drgeo
5
PORTVERSION=	1.1.0
5
PORTVERSION=	1.1.0
6
PORTREVISION=	19
6
PORTREVISION=	20
7
CATEGORIES=	math
7
CATEGORIES=	math
8
MASTER_SITES=	SF/ofset/${PORTNAME}/${PORTVERSION}
8
MASTER_SITES=	SF/ofset/${PORTNAME}/${PORTVERSION}
9
9
Lines 17-23 Link Here
17
USE_GNOME=	gnomeprefix intlhack libglade2
17
USE_GNOME=	gnomeprefix intlhack libglade2
18
CPPFLAGS+=	-I${LOCALBASE}/include
18
CPPFLAGS+=	-I${LOCALBASE}/include
19
LDFLAGS+=	-L${LOCALBASE}/lib
19
LDFLAGS+=	-L${LOCALBASE}/lib
20
USE_GCC=	yes # segfaults when built with clang
21
20
22
PORTDATA=	*
21
PORTDATA=	*
23
22
(-)files/patch-geo_drgeo__figure.cc (+17 lines)
Line 0 Link Here
1
Fix the build with GCC >= 6.
2
3
drgeo_figure.cc: At global scope:
4
drgeo_figure.cc:56:1: error: '<anonymous struct> drgeoDialogData', declared using anonymous type, is used but never defined [-fpermissive]
5
 drgeoDialogData;
6
  ^~~~~~~~~~~~~~~
7
--- geo/drgeo_figure.cc.orig	2017-07-25 16:56:59 UTC
8
+++ geo/drgeo_figure.cc
9
@@ -48,7 +48,7 @@
10
 #include "drgeo_dialog.h"
11
 #include "traite.h"
12
 
13
-extern struct
14
+struct
15
 {
16
   drgeoPoint mouse;
17
   drgeoFigure *figure;

Return to bug 219288