Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2014 17:26:47 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
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
Message-ID:  <201407051726.s65HQl0E061568@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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));



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