Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2017 20:48:06 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r442265 - in head/science/gnudatalanguage: . files
Message-ID:  <201705312048.v4VKm669035896@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Wed May 31 20:48:06 2017
New Revision: 442265
URL: https://svnweb.freebsd.org/changeset/ports/442265

Log:
  Remove a clash due to #include filedlg.h to fix the build with Gcc 6.
  
  PR:		219300
  Obtained from:	Gilles Duvert (upstream)

Added:
  head/science/gnudatalanguage/files/patch-src_dialog.cpp   (contents, props changed)
Modified:
  head/science/gnudatalanguage/Makefile

Modified: head/science/gnudatalanguage/Makefile
==============================================================================
--- head/science/gnudatalanguage/Makefile	Wed May 31 20:43:21 2017	(r442264)
+++ head/science/gnudatalanguage/Makefile	Wed May 31 20:48:06 2017	(r442265)
@@ -3,7 +3,7 @@
 
 PORTNAME=	gnudatalanguage
 DISTVERSION=	0.9.7
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	science lang
 MASTER_SITES=	SF/${PORTNAME}/gdl/${PORTVERSION}
 .if defined(BUILD_PYTHON_MODULE)

Added: head/science/gnudatalanguage/files/patch-src_dialog.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/gnudatalanguage/files/patch-src_dialog.cpp	Wed May 31 20:48:06 2017	(r442265)
@@ -0,0 +1,14 @@
+--- src/dialog.cpp.orig	2017-05-31 19:49:13 UTC
++++ src/dialog.cpp
+@@ -18,8 +18,9 @@
+ #include "includefirst.hpp"
+ 
+ #ifdef HAVE_LIBWXWIDGETS
+-#include <wx/filedlg.h>
+-#include <wx/msgdlg.h>
++//following includes are 1) not necessary and 2) create a problem with gcc6
++//#include <wx/filedlg.h>
++//#include <wx/msgdlg.h>
+ #endif
+ 
+ #include "envt.hpp"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705312048.v4VKm669035896>