svn commit: r527418 - in head/lang/gcc10-devel: . files

Gerald Pfeifer gerald at FreeBSD.org
Sat Feb 29 13:37:50 UTC 2020


Author: gerald
Date: Sat Feb 29 13:37:48 2020
New Revision: 527418
URL: https://svnweb.freebsd.org/changeset/ports/527418

Log:
  Update files/patch-value-prof.c-buildfix to match what I have submitted
  upstram now after first feedback there.

Modified:
  head/lang/gcc10-devel/Makefile
  head/lang/gcc10-devel/files/patch-value-prof.c-buildfix

Modified: head/lang/gcc10-devel/Makefile
==============================================================================
--- head/lang/gcc10-devel/Makefile	Sat Feb 29 13:17:59 2020	(r527417)
+++ head/lang/gcc10-devel/Makefile	Sat Feb 29 13:37:48 2020	(r527418)
@@ -3,6 +3,7 @@
 
 PORTNAME=	gcc
 PORTVERSION=	10.0.1.s20200223
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	GCC/snapshots/${DIST_VERSION}
 PKGNAMESUFFIX=	${SUFFIX}-devel

Modified: head/lang/gcc10-devel/files/patch-value-prof.c-buildfix
==============================================================================
--- head/lang/gcc10-devel/files/patch-value-prof.c-buildfix	Sat Feb 29 13:17:59 2020	(r527417)
+++ head/lang/gcc10-devel/files/patch-value-prof.c-buildfix	Sat Feb 29 13:37:48 2020	(r527418)
@@ -1,4 +1,4 @@
-This is a temporary hack of mine to unbreak the build; I'm working with
+This is a proposed fix of mine to unbreak the build; I'm working with
 upstream. -- Gerald
 
 --- UTC
@@ -9,7 +9,7 @@ upstream. -- Gerald
  	    {
  	      fprintf (dump_file, " all: %" PRId64 "%s, values: ",
 -		       abs ((int64_t) hist->hvalue.counters[0]),
-+		       ((int64_t) hist->hvalue.counters[0]),
++		       std::abs ((int64_t) hist->hvalue.counters[0]),
  		       hist->hvalue.counters[0] < 0
  		       ? " (values missing)": "");
  	      for (unsigned i = 0; i < GCOV_TOPN_VALUES; i++)


More information about the svn-ports-all mailing list