From owner-svn-ports-all@freebsd.org Sat Aug 12 13:21:08 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD063DD64BC; Sat, 12 Aug 2017 13:21:08 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AA5D012EF; Sat, 12 Aug 2017 13:21:08 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v7CDL7rx085416; Sat, 12 Aug 2017 13:21:07 GMT (envelope-from rakuco@FreeBSD.org) Received: (from rakuco@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v7CDL7lV085414; Sat, 12 Aug 2017 13:21:07 GMT (envelope-from rakuco@FreeBSD.org) Message-Id: <201708121321.v7CDL7lV085414@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rakuco set sender to rakuco@FreeBSD.org using -f From: Raphael Kubo da Costa Date: Sat, 12 Aug 2017 13:21:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r447829 - in head/math/drgeo: . files X-SVN-Group: ports-head X-SVN-Commit-Author: rakuco X-SVN-Commit-Paths: in head/math/drgeo: . files X-SVN-Commit-Revision: 447829 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Aug 2017 13:21:09 -0000 Author: rakuco Date: Sat Aug 12 13:21:07 2017 New Revision: 447829 URL: https://svnweb.freebsd.org/changeset/ports/447829 Log: Fix the build with GCC 6. 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) Added: head/math/drgeo/files/patch-geo_drgeo__figure.cc (contents, props changed) Modified: head/math/drgeo/Makefile Modified: head/math/drgeo/Makefile ============================================================================== --- head/math/drgeo/Makefile Sat Aug 12 13:20:51 2017 (r447828) +++ head/math/drgeo/Makefile Sat Aug 12 13:21:07 2017 (r447829) @@ -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 @@ USES= gettext gmake pkgconfig pathfix USE_GNOME= gnomeprefix intlhack libglade2 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -USE_GCC= yes # segfaults when built with clang PORTDATA= * Added: head/math/drgeo/files/patch-geo_drgeo__figure.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/drgeo/files/patch-geo_drgeo__figure.cc Sat Aug 12 13:21:07 2017 (r447829) @@ -0,0 +1,17 @@ +Fix the build with GCC >= 6. + +drgeo_figure.cc: At global scope: +drgeo_figure.cc:56:1: error: ' 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;