=> Bootstrap dependency digest>=20010302: found digest-20080510
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for heapsort-1.0
(cd /scratch/benchmarks/heapsort/work ; gcc -O2 -DUNIX -o heapsort heapsort.c -lm)
heapsort.c:84:1: error: 'main' must return 'int'
void main()
^
heapsort.c:94:35: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
printf("   Size of long (bytes): %d\n\n",bplong);
                                 ~^      ~~~~~~
                                 %ld
heapsort.c:113:1: warning: implicit declaration of function 'HSORT' is invalid in C99 [-Wimplicit-function-declaration]
HSORT(j,k,p);
^
heapsort.c:194:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
HSORT(m,n,p)
^~~~~
heapsort.c:207:17: warning: implicitly declaring C library function 'malloc' with type 'void *(unsigned long)'
base  = (long *)malloc((unsigned)msize);
                ^
heapsort.c:207:17: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
heapsort.c:308:1: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
free(base);
^
5 warnings and 1 error generated.
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/benchmarks/heapsort
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/benchmarks/heapsort
