From owner-svn-ports-all@FreeBSD.ORG Sat Jul 5 17:26:48 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2D46E2E4; Sat, 5 Jul 2014 17:26:48 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 1A0152BF5; Sat, 5 Jul 2014 17:26:48 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s65HQlnD061569; Sat, 5 Jul 2014 17:26:47 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s65HQl0E061568; Sat, 5 Jul 2014 17:26:47 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201407051726.s65HQl0E061568@svn.freebsd.org> From: John Marino Date: Sat, 5 Jul 2014 17:26:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360780 - head/devel/psptoolchain-gcc-stage1/files X-SVN-Group: ports-head 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.18 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, 05 Jul 2014 17:26:48 -0000 Author: marino Date: Sat Jul 5 17:26:47 2014 New Revision: 360780 URL: http://svnweb.freebsd.org/changeset/ports/360780 QAT: https://qat.redports.org/buildarchive/r360780/ Log: devel/phptoolchain-gcc-stage1: Fix build for modern gcc (dports) Approved by: portmgr (implicit, for NOT_STAGED) Added: head/devel/psptoolchain-gcc-stage1/files/patch-gcc_gengtype.c (contents, props changed) Added: head/devel/psptoolchain-gcc-stage1/files/patch-gcc_gengtype.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/psptoolchain-gcc-stage1/files/patch-gcc_gengtype.c Sat Jul 5 17:26:47 2014 (r360780) @@ -0,0 +1,18 @@ +--- gcc/gengtype.c.orig 2010-11-25 19:03:27.000000000 +0000 ++++ gcc/gengtype.c +@@ -3594,14 +3594,13 @@ write_field_root (outf_p f, pair_p v, ty + int has_length, struct fileloc *line, const char *if_marked, + bool emit_pch, type_p field_type, const char *field_name) + { ++ struct pair newv; + /* If the field reference is relative to V, rather than to some + subcomponent of V, we can mark any subarrays with a single stride. + We're effectively treating the field as a global variable in its + own right. */ + if (v && type == v->type) + { +- struct pair newv; +- + newv = *v; + newv.type = field_type; + newv.name = ACONCAT ((v->name, ".", field_name, NULL));