=> 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 sam-4.3nb3
cd libXg; /usr/bin/make
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c arc.c
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c arith.c
arith.c:110:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
eqpt(Point p, Point q)
^~~~
arith.c:115:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
eqrect(Rectangle r, Rectangle s)
^~~~~~
arith.c:121:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rectXrect(Rectangle r, Rectangle s)
^~~~~~~~~
arith.c:137:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ptinrect(Point p, Rectangle r)
^~~~~~~~
4 warnings generated.
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c balloc.c
balloc.c:24:16: warning: implicitly declaring C library function 'malloc' with type 'void *(unsigned long)'
        b = (Bitmap *)malloc(sizeof(Bitmap));
                      ^
balloc.c:24:16: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
balloc.c:58:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
        free(b);
        ^
2 warnings generated.
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c bitblt.c
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c bitbltclip.c
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c border.c
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c bscreenrect.c
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c circle.c
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c clipline.c
clipline.c:93:5: warning: implicit declaration of function 'abs' is invalid in C99 [-Wimplicit-function-declaration]
        if(abs(dy) > abs(dx)){  /* Steep */
           ^
clipline.c:136:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
code(Point *p, Rectangle *r)
^
2 warnings generated.
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c clipr.c
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c copymasked.c
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c cursorset.c
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c cursorswitch.c
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c disc.c
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c ellipse.c
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c font.c
font.c:89:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
                free(f->info);  /* note: f->info must have been malloc'ed! */
                ^
1 warning generated.
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c gcs.c
gcs.c:163:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
        static clipset = 0;
        ~~~~~~ ^
gcs.c:317:10: warning: 12 enumeration values not handled in switch: 'DnorS', 'DandnotS', 'notS'... [-Wswitch-enum]
                switch(f){
                       ^
2 warnings generated.
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c getrect.c
getrect.c:27:3: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration]
                sleep(2);
                ^
1 warning generated.
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c gwin.c
gwin.c:129:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (modmap = XGetModifierMapping(XtDisplay(w)))
            ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gwin.c:129:13: note: place parentheses around the assignment to silence this warning
        if (modmap = XGetModifierMapping(XtDisplay(w)))
                   ^
            (                                         )
gwin.c:129:13: note: use '==' to turn this assignment into an equality comparison
        if (modmap = XGetModifierMapping(XtDisplay(w)))
                   ^
                   ==
gwin.c:281:14: warning: implicit declaration of function 'unicode' is invalid in C99 [-Wimplicit-function-declaration]
                                c = (int)unicode(compose);
                                         ^
gwin.c:289:13: warning: implicit declaration of function 'latin1' is invalid in C99 [-Wimplicit-function-declaration]
                        c = (int)latin1(compose);
                                 ^
3 warnings generated.
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c ldconvert.c
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c latin1.c
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c mkfont.c
mkfont.c:17:17: warning: implicitly declaring C library function 'malloc' with type 'void *(unsigned long)'
        font = (Font *)malloc(sizeof(Font));
                       ^
mkfont.c:17:17: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
mkfont.c:24:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
                free(font);
                ^
2 warnings generated.
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c menuhit.c
menuhit.c:138:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            item = menu->item? menu->item[nitem] : (*menu->gen)(nitem);
            ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
menuhit.c:138:11: note: place parentheses around the assignment to silence this warning
            item = menu->item? menu->item[nitem] : (*menu->gen)(nitem);
                 ^
            (                                                         )
menuhit.c:138:11: note: use '==' to turn this assignment into an equality comparison
            item = menu->item? menu->item[nitem] : (*menu->gen)(nitem);
                 ^
                 ==
1 warning generated.
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c point.c
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c polysegment.c
polysegment.c:13:23: warning: implicitly declaring C library function 'calloc' with type 'void *(unsigned long, unsigned long)'
        if (!(xp = (XPoint *)calloc(n, sizeof(XPoint))))
                             ^
polysegment.c:13:23: note: please include the header <stdlib.h> or explicitly provide a declaration for 'calloc'
polysegment.c:25:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
        free(xp);
        ^
2 warnings generated.
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c rdbitmap.c
rdbitmap.c:40:18: warning: implicitly declaring C library function 'malloc' with type 'void *(unsigned long)'
        tdata = (char *)malloc(l);
                        ^
rdbitmap.c:40:18: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
rdbitmap.c:56:3: warning: implicitly declaring C library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'
                memcpy((char *)data, tdata, l);
                ^
rdbitmap.c:56:3: note: please include the header <string.h> or explicitly provide a declaration for 'memcpy'
2 warnings generated.
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c rdbitmapfile.c
rdbitmapfile.c:20:5: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
        if(read(fd, hdr, 5*12)!=5*12)
           ^
rdbitmapfile.c:22:7: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
        ld = atoi(hdr+0*12);
             ^
rdbitmapfile.c:46:26: warning: implicitly declaring C library function 'malloc' with type 'void *(unsigned long)'
        data = (unsigned char *)malloc(CHUNK);
                                ^
rdbitmapfile.c:46:26: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
rdbitmapfile.c:55:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
                        free(data);
                        ^
4 warnings generated.
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c rdfontfile.c
rdfontfile.c:32:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(fd);
                ^
rdfontfile.c:35:16: warning: implicitly declaring C library function 'malloc' with type 'void *(unsigned long)'
        buf = (char *)malloc(sbuf.st_size+1);
                      ^
rdfontfile.c:35:16: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
rdfontfile.c:39:6: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
        i = read(fd, buf, sbuf.st_size);
            ^
rdfontfile.c:44:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
                free(buf);
                ^
rdfontfile.c:62:16: warning: implicit declaration of function 'strtol' is invalid in C99 [-Wimplicit-function-declaration]
        fnt->height = strtol(s, &s, 0);
                      ^
rdfontfile.c:87:29: warning: implicitly declaring C library function 'realloc' with type 'void *(void *, unsigned long)'
                        fnt->subf = (Cachesubf *)realloc(fnt->subf, (fnt->nsubf+1)*sizeof(Cachesubf));
                                                 ^
rdfontfile.c:87:29: note: please include the header <stdlib.h> or explicitly provide a declaration for 'realloc'
6 warnings generated.
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c rectclip.c
rectclip.c:5:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rectclip(Rectangle *rp, Rectangle b)            /* first by reference, second by value */
^~~~~~~~
1 warning generated.
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c rune.c
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c segment.c
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c string.c
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c strwidth.c
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c texture.c
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c wrbitmap.c
wrbitmap.c:36:18: warning: implicitly declaring C library function 'malloc' with type 'void *(unsigned long)'
        tdata = (char *)malloc(l);
                        ^
wrbitmap.c:36:18: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
1 warning generated.
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c wrbitmapfile.c
wrbitmapfile.c:17:2: warning: implicitly declaring C library function 'sprintf' with type 'int (char *, const char *, ...)'
        sprint(hdr, "%11d %11d %11d %11d %11d ",
        ^
../include/libc.h:9:19: note: expanded from:
#define sprint                          sprintf
                                        ^
wrbitmapfile.c:17:2: note: please include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
wrbitmapfile.c:19:5: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
        if(write(fd, hdr, 5*12) != 5*12)
           ^
wrbitmapfile.c:33:26: warning: implicitly declaring C library function 'malloc' with type 'void *(unsigned long)'
        data = (unsigned char *)malloc(CHUNK);
                                ^
wrbitmapfile.c:33:26: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
wrbitmapfile.c:43:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
                        free(data);
                        ^
4 warnings generated.
cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/pkg/include -I/usr/pkg/include -c xtbinit.c
xtbinit.c:311:7: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
                n = read(*pfd, (char *)eb->buf, es->size);
                    ^
xtbinit.c:315:11: warning: implicitly declaring C library function 'realloc' with type 'void *(void *, unsigned long)'
                        newe = realloc(eb, sizeof(Ebuf)+n);
                               ^
xtbinit.c:315:11: note: please include the header <stdlib.h> or explicitly provide a declaration for 'realloc'
xtbinit.c:518:17: warning: implicitly declaring C library function 'malloc' with type 'void *(unsigned long)'
        f = (Subfont *)malloc(sizeof(Subfont));
                       ^
xtbinit.c:518:17: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
xtbinit.c:671:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
                                        free(eb);
                                        ^
xtbinit.c:817:3: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))'
                exit(1);
                ^
xtbinit.c:817:3: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
5 warnings generated.
ar rv libXg.a arc.o arith.o balloc.o bitblt.o bitbltclip.o border.o bscreenrect.o circle.o clipline.o clipr.o copymasked.o cursorset.o cursorswitch.o disc.o ellipse.o font.o gcs.o getrect.o gwin.o ldconvert.o latin1.o mkfont.o menuhit.o point.o polysegment.o rdbitmap.o rdbitmapfile.o rdfontfile.o rectclip.o rune.o segment.o string.o strwidth.o texture.o wrbitmap.o wrbitmapfile.o xtbinit.o
ar: creating libXg.a
a - arc.o
a - arith.o
a - balloc.o
a - bitblt.o
a - bitbltclip.o
a - border.o
a - bscreenrect.o
a - circle.o
a - clipline.o
a - clipr.o
a - copymasked.o
a - cursorset.o
a - cursorswitch.o
a - disc.o
a - ellipse.o
a - font.o
a - gcs.o
a - getrect.o
a - gwin.o
a - ldconvert.o
a - latin1.o
a - mkfont.o
a - menuhit.o
a - point.o
a - polysegment.o
a - rdbitmap.o
a - rdbitmapfile.o
a - rdfontfile.o
a - rectclip.o
a - rune.o
a - segment.o
a - string.o
a - strwidth.o
a - texture.o
a - wrbitmap.o
a - wrbitmapfile.o
a - xtbinit.o
ranlib libXg.a
cd libframe; /usr/bin/make
cc -c -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/pkg/include -c frbox.c
cc -c -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/pkg/include -c frdelete.c
cc -c -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/pkg/include -c frdraw.c
cc -c -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/pkg/include -c frinit.c
cc -c -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/pkg/include -c frinsert.c
cc -c -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/pkg/include -c frptofchar.c
cc -c -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/pkg/include -c frselect.c
cc -c -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/pkg/include -c frstr.c
cc -c -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/pkg/include -c frutil.c
cc -c -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/pkg/include -c misc.c
ar rv libframe.a frbox.o frdelete.o frdraw.o frinit.o frinsert.o frptofchar.o frselect.o frstr.o frutil.o misc.o
ar: creating libframe.a
a - frbox.o
a - frdelete.o
a - frdraw.o
a - frinit.o
a - frinsert.o
a - frptofchar.o
a - frselect.o
a - frstr.o
a - frutil.o
a - misc.o
ranlib libframe.a
cd sam; /usr/bin/make
cc -DBSDi -O2 -D_LIBXG_EXTENSION -I../include -I/usr/include/posix -I/usr/pkg/include -c sam.c
sam.c:33:1: error: 'main' must return 'int'
void
^
1 error generated.
*** Error code 1

Stop.
make: stopped in /scratch/editors/sam/work/sam
*** Error code 1

Stop.
make: stopped in /scratch/editors/sam/work
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/editors/sam
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/editors/sam
