FreeBSD Bugzilla – Attachment 184704 Details for
Bug 219288
math/drgeo: fails to build with lang/gcc6 or later
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
drgeo.diff (text/plain), 1.51 KB, created by
Raphael Kubo da Costa
on 2017-07-25 17:02:59 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Raphael Kubo da Costa
Created:
2017-07-25 17:02:59 UTC
Size:
1.51 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 446593) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= drgeo > PORTVERSION= 1.1.0 >-PORTREVISION= 19 >+PORTREVISION= 20 > CATEGORIES= math > MASTER_SITES= SF/ofset/${PORTNAME}/${PORTVERSION} > >@@ -17,7 +17,6 @@ > USE_GNOME= gnomeprefix intlhack libglade2 > CPPFLAGS+= -I${LOCALBASE}/include > LDFLAGS+= -L${LOCALBASE}/lib >-USE_GCC= yes # segfaults when built with clang > > PORTDATA= * > >Index: files/patch-geo_drgeo__figure.cc >=================================================================== >--- files/patch-geo_drgeo__figure.cc (nonexistent) >+++ files/patch-geo_drgeo__figure.cc (working copy) >@@ -0,0 +1,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; > >Property changes on: files/patch-geo_drgeo__figure.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 219288
: 184704