Date: Sat, 29 Feb 2020 13:37:49 +0000 (UTC) From: Gerald Pfeifer <gerald@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r527418 - in head/lang/gcc10-devel: . files Message-ID: <202002291337.01TDbnfA059436@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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++)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002291337.01TDbnfA059436>