1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00

Update files/patch-value-prof.c-buildfix to match what I have submitted

upstram now after first feedback there.
This commit is contained in:
Gerald Pfeifer 2020-02-29 13:37:48 +00:00
parent 7d421b43ec
commit 3ec3d722ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=527418
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= gcc
PORTVERSION= 10.0.1.s20200223
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= GCC/snapshots/${DIST_VERSION}
PKGNAMESUFFIX= ${SUFFIX}-devel

View File

@ -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++)