svn commit: r360780 - head/devel/psptoolchain-gcc-stage1/files

John Marino marino at FreeBSD.org
Sat Jul 5 17:26:48 UTC 2014


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));


More information about the svn-ports-all mailing list