=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for sam-4.3nb4 cd libXg; /usr/bin/make cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c arc.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c arith.c arith.c:110:1: warning: return type defaults to 'int' [-Wimplicit-int] eqpt(Point p, Point q) ^~~~ arith.c:115:1: warning: return type defaults to 'int' [-Wimplicit-int] eqrect(Rectangle r, Rectangle s) ^~~~~~ arith.c:121:1: warning: return type defaults to 'int' [-Wimplicit-int] rectXrect(Rectangle r, Rectangle s) ^~~~~~~~~ arith.c:137:1: warning: return type defaults to 'int' [-Wimplicit-int] ptinrect(Point p, Rectangle r) ^~~~~~~~ cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c balloc.c balloc.c: In function '_balloc': balloc.c:24:16: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] b = (Bitmap *)malloc(sizeof(Bitmap)); ^~~~~~ balloc.c:24:16: warning: incompatible implicit declaration of built-in function 'malloc' balloc.c:24:16: note: include '' or provide a declaration of 'malloc' balloc.c: In function 'bfree': balloc.c:58:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(b); ^~~~ balloc.c:58:2: warning: incompatible implicit declaration of built-in function 'free' balloc.c:58:2: note: include '' or provide a declaration of 'free' cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c bitblt.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c bitbltclip.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c border.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c bscreenrect.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c circle.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c clipline.c clipline.c: In function 'gsetline': clipline.c:93:5: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration] if(abs(dy) > abs(dx)){ /* Steep */ ^~~ clipline.c: At top level: clipline.c:136:1: warning: return type defaults to 'int' [-Wimplicit-int] code(Point *p, Rectangle *r) ^~~~ cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c clipr.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c copymasked.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c cursorset.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c cursorswitch.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c disc.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c ellipse.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c font.c font.c: In function 'subffree': font.c:89:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(f->info); /* note: f->info must have been malloc'ed! */ ^~~~ font.c:89:3: warning: incompatible implicit declaration of built-in function 'free' font.c:89:3: note: include '' or provide a declaration of 'free' font.c:90:2: warning: incompatible implicit declaration of built-in function 'free' free(f); ^~~~ font.c:90:2: note: include '' or provide a declaration of 'free' cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c gcs.c gcs.c: In function '_getgc': gcs.c:163:9: warning: type defaults to 'int' in declaration of 'clipset' [-Wimplicit-int] static clipset = 0; ^~~~~~~ cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c getrect.c getrect.c: In function 'grabcursor': getrect.c:27:3: warning: implicit declaration of function 'sleep'; did you mean 'seek'? [-Wimplicit-function-declaration] sleep(2); ^~~~~ seek cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c gwin.c gwin.c: In function 'Keyaction': gwin.c:281:14: warning: implicit declaration of function 'unicode' [-Wimplicit-function-declaration] c = (int)unicode(compose); ^~~~~~~ gwin.c:289:13: warning: implicit declaration of function 'latin1' [-Wimplicit-function-declaration] c = (int)latin1(compose); ^~~~~~ cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c ldconvert.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c latin1.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c mkfont.c mkfont.c: In function 'mkfont': mkfont.c:17:17: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] font = (Font *)malloc(sizeof(Font)); ^~~~~~ mkfont.c:17:17: warning: incompatible implicit declaration of built-in function 'malloc' mkfont.c:17:17: note: include '' or provide a declaration of 'malloc' mkfont.c:24:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(font); ^~~~ mkfont.c:24:3: warning: incompatible implicit declaration of built-in function 'free' mkfont.c:24:3: note: include '' or provide a declaration of 'free' mkfont.c:32:3: warning: incompatible implicit declaration of built-in function 'free' free(font->name); ^~~~ mkfont.c:32:3: note: include '' or provide a declaration of 'free' cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c menuhit.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c point.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c polysegment.c polysegment.c: In function 'polysegment': polysegment.c:13:23: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] if (!(xp = (XPoint *)calloc(n, sizeof(XPoint)))) ^~~~~~ polysegment.c:13:23: warning: incompatible implicit declaration of built-in function 'calloc' polysegment.c:13:23: note: include '' or provide a declaration of 'calloc' polysegment.c:25:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(xp); ^~~~ polysegment.c:25:2: warning: incompatible implicit declaration of built-in function 'free' polysegment.c:25:2: note: include '' or provide a declaration of 'free' cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c rdbitmap.c rdbitmap.c: In function 'rdbitmap': rdbitmap.c:40:18: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] tdata = (char *)malloc(l); ^~~~~~ rdbitmap.c:40:18: warning: incompatible implicit declaration of built-in function 'malloc' rdbitmap.c:40:18: note: include '' or provide a declaration of 'malloc' rdbitmap.c:56:3: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy((char *)data, tdata, l); ^~~~~~ rdbitmap.c:56:3: warning: incompatible implicit declaration of built-in function 'memcpy' rdbitmap.c:56:3: note: include '' or provide a declaration of 'memcpy' cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c rdbitmapfile.c rdbitmapfile.c: In function 'rdbitmapfile': rdbitmapfile.c:20:5: warning: implicit declaration of function 'read'; did you mean 'eread'? [-Wimplicit-function-declaration] if(read(fd, hdr, 5*12)!=5*12) ^~~~ eread rdbitmapfile.c:22:7: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] ld = atoi(hdr+0*12); ^~~~ rdbitmapfile.c:46:26: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] data = (unsigned char *)malloc(CHUNK); ^~~~~~ rdbitmapfile.c:46:26: warning: incompatible implicit declaration of built-in function 'malloc' rdbitmapfile.c:46:26: note: include '' or provide a declaration of 'malloc' rdbitmapfile.c:55:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(data); ^~~~ rdbitmapfile.c:55:4: warning: incompatible implicit declaration of built-in function 'free' rdbitmapfile.c:55:4: note: include '' or provide a declaration of 'free' rdbitmapfile.c:62:2: warning: incompatible implicit declaration of built-in function 'free' free(data); ^~~~ rdbitmapfile.c:62:2: note: include '' or provide a declaration of 'free' cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c rdfontfile.c rdfontfile.c: In function 'rdfontfile': rdfontfile.c:32:3: warning: implicit declaration of function 'close'; did you mean 'bclose'? [-Wimplicit-function-declaration] close(fd); ^~~~~ bclose rdfontfile.c:35:16: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] buf = (char *)malloc(sbuf.st_size+1); ^~~~~~ rdfontfile.c:35:16: warning: incompatible implicit declaration of built-in function 'malloc' rdfontfile.c:35:16: note: include '' or provide a declaration of 'malloc' rdfontfile.c:39:6: warning: implicit declaration of function 'read'; did you mean 'eread'? [-Wimplicit-function-declaration] i = read(fd, buf, sbuf.st_size); ^~~~ eread rdfontfile.c:44:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(buf); ^~~~ rdfontfile.c:44:3: warning: incompatible implicit declaration of built-in function 'free' rdfontfile.c:44:3: note: include '' or provide a declaration of 'free' rdfontfile.c:57:3: warning: incompatible implicit declaration of built-in function 'free' free(fnt->name); ^~~~ rdfontfile.c:57:3: note: include '' or provide a declaration of 'free' rdfontfile.c:62:16: warning: implicit declaration of function 'strtol'; did you mean 'strtok'? [-Wimplicit-function-declaration] fnt->height = strtol(s, &s, 0); ^~~~~~ strtok rdfontfile.c:87:29: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] fnt->subf = (Cachesubf *)realloc(fnt->subf, (fnt->nsubf+1)*sizeof(Cachesubf)); ^~~~~~~ rdfontfile.c:87:29: warning: incompatible implicit declaration of built-in function 'realloc' rdfontfile.c:87:29: note: include '' or provide a declaration of 'realloc' rdfontfile.c:107:4: warning: incompatible implicit declaration of built-in function 'free' free(c); ^~~~ rdfontfile.c:107:4: note: include '' or provide a declaration of 'free' rdfontfile.c:114:2: warning: incompatible implicit declaration of built-in function 'free' free(buf); ^~~~ rdfontfile.c:114:2: note: include '' or provide a declaration of 'free' rdfontfile.c: In function 'ffree': rdfontfile.c:129:3: warning: incompatible implicit declaration of built-in function 'free' free(c->name); ^~~~ rdfontfile.c:129:3: note: include '' or provide a declaration of 'free' rdfontfile.c:132:2: warning: incompatible implicit declaration of built-in function 'free' free(f->subf); ^~~~ rdfontfile.c:132:2: note: include '' or provide a declaration of 'free' cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c rectclip.c rectclip.c:5:1: warning: return type defaults to 'int' [-Wimplicit-int] rectclip(Rectangle *rp, Rectangle b) /* first by reference, second by value */ ^~~~~~~~ cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c rune.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c segment.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c string.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c strwidth.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c texture.c cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c wrbitmap.c wrbitmap.c: In function 'wrbitmap': wrbitmap.c:36:18: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] tdata = (char *)malloc(l); ^~~~~~ wrbitmap.c:36:18: warning: incompatible implicit declaration of built-in function 'malloc' wrbitmap.c:36:18: note: include '' or provide a declaration of 'malloc' cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c wrbitmapfile.c In file included from wrbitmapfile.c:2:0: wrbitmapfile.c: In function 'wrbitmapfile': ../include/libc.h:9:19: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] #define sprint sprintf ^ wrbitmapfile.c:17:2: note: in expansion of macro 'sprint' sprint(hdr, "%11d %11d %11d %11d %11d ", ^~~~~~ ../include/libc.h:9:19: warning: incompatible implicit declaration of built-in function 'sprintf' #define sprint sprintf ^ wrbitmapfile.c:17:2: note: in expansion of macro 'sprint' sprint(hdr, "%11d %11d %11d %11d %11d ", ^~~~~~ ../include/libc.h:9:19: note: include '' or provide a declaration of 'sprintf' #define sprint sprintf ^ wrbitmapfile.c:17:2: note: in expansion of macro 'sprint' sprint(hdr, "%11d %11d %11d %11d %11d ", ^~~~~~ wrbitmapfile.c:19:5: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] if(write(fd, hdr, 5*12) != 5*12) ^~~~~ wrbitmapfile.c:33:26: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] data = (unsigned char *)malloc(CHUNK); ^~~~~~ wrbitmapfile.c:33:26: warning: incompatible implicit declaration of built-in function 'malloc' wrbitmapfile.c:33:26: note: include '' or provide a declaration of 'malloc' wrbitmapfile.c:43:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(data); ^~~~ wrbitmapfile.c:43:4: warning: incompatible implicit declaration of built-in function 'free' wrbitmapfile.c:43:4: note: include '' or provide a declaration of 'free' wrbitmapfile.c:48:2: warning: incompatible implicit declaration of built-in function 'free' free(data); ^~~~ wrbitmapfile.c:48:2: note: include '' or provide a declaration of 'free' cc -O2 -DBSDi -D_LIBXG_EXTENSION -I../include -I/usr/X11R7/include -I/usr/X11R7/include -c xtbinit.c xtbinit.c:86:12: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch] static int log2(int); ^~~~ xtbinit.c: In function 'gotinput': xtbinit.c:311:7: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] n = read(*pfd, (char *)eb->buf, es->size); ^~~~ fread xtbinit.c:315:11: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] newe = realloc(eb, sizeof(Ebuf)+n); ^~~~~~~ xtbinit.c:315:11: warning: incompatible implicit declaration of built-in function 'realloc' xtbinit.c:315:11: note: include '' or provide a declaration of 'realloc' xtbinit.c: In function 'XFontStructtoSubfont': xtbinit.c:518:17: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] f = (Subfont *)malloc(sizeof(Subfont)); ^~~~~~ xtbinit.c:518:17: warning: incompatible implicit declaration of built-in function 'malloc' xtbinit.c:518:17: note: include '' or provide a declaration of 'malloc' xtbinit.c: In function 'eread': xtbinit.c:671:6: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(eb); ^~~~ xtbinit.c:671:6: warning: incompatible implicit declaration of built-in function 'free' xtbinit.c:671:6: note: include '' or provide a declaration of 'free' xtbinit.c: In function 'eflush': xtbinit.c:692:5: warning: incompatible implicit declaration of built-in function 'free' free(eb); ^~~~ xtbinit.c:692:5: note: include '' or provide a declaration of 'free' xtbinit.c: In function 'emouse': xtbinit.c:710:2: warning: incompatible implicit declaration of built-in function 'free' free(eb); ^~~~ xtbinit.c:710:2: note: include '' or provide a declaration of 'free' xtbinit.c: In function 'ekbd': xtbinit.c:724:2: warning: incompatible implicit declaration of built-in function 'free' free(eb); ^~~~ xtbinit.c:724:2: note: include '' or provide a declaration of 'free' xtbinit.c: In function 'ebread': xtbinit.c:774:4: warning: incompatible implicit declaration of built-in function 'free' free(eb); ^~~~ xtbinit.c:774:4: note: include '' or provide a declaration of 'free' xtbinit.c: In function 'ebadd': xtbinit.c:797:15: warning: incompatible implicit declaration of built-in function 'malloc' eb = (Ebuf *)malloc(m); ^~~~~~ xtbinit.c:797:15: note: include '' or provide a declaration of 'malloc' xtbinit.c: In function 'berror': xtbinit.c:817:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ xtbinit.c:817:3: warning: incompatible implicit declaration of built-in function 'exit' xtbinit.c:817:3: note: include '' or provide a declaration of 'exit' 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/X11R7/include -c frbox.c cc -c -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/X11R7/include -c frdelete.c cc -c -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/X11R7/include -c frdraw.c cc -c -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/X11R7/include -c frinit.c cc -c -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/X11R7/include -c frinsert.c cc -c -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/X11R7/include -c frptofchar.c cc -c -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/X11R7/include -c frselect.c cc -c -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/X11R7/include -c frstr.c cc -c -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/X11R7/include -c frutil.c cc -c -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/X11R7/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/X11R7/include -c sam.c cc -DBSDi -O2 -D_LIBXG_EXTENSION -I../include -I/usr/include/posix -I/usr/X11R7/include -c address.c cc -DBSDi -O2 -D_LIBXG_EXTENSION -I../include -I/usr/include/posix -I/usr/X11R7/include -c buffer.c cc -DBSDi -O2 -D_LIBXG_EXTENSION -I../include -I/usr/include/posix -I/usr/X11R7/include -c cmd.c cc -DBSDi -O2 -D_LIBXG_EXTENSION -I../include -I/usr/include/posix -I/usr/X11R7/include -c disc.c cc -DBSDi -O2 -D_LIBXG_EXTENSION -I../include -I/usr/include/posix -I/usr/X11R7/include -c error.c cc -DBSDi -O2 -D_LIBXG_EXTENSION -I../include -I/usr/include/posix -I/usr/X11R7/include -c file.c file.c: In function 'puthdr_M': file.c:380:9: warning: type defaults to 'int' in declaration of 'first' [-Wimplicit-int] static first = 1; ^~~~~ cc -DBSDi -O2 -D_LIBXG_EXTENSION -I../include -I/usr/include/posix -I/usr/X11R7/include -c io.c cc -DBSDi -O2 -D_LIBXG_EXTENSION -I../include -I/usr/include/posix -I/usr/X11R7/include -c list.c cc -DBSDi -O2 -D_LIBXG_EXTENSION -I../include -I/usr/include/posix -I/usr/X11R7/include -c mesg.c mesg.c: In function 'rcvchar': mesg.c:102:9: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] static i, nleft = 0; ^ mesg.c:102:12: warning: type defaults to 'int' in declaration of 'nleft' [-Wimplicit-int] static i, nleft = 0; ^~~~~ mesg.c: In function 'rcv': mesg.c:117:9: warning: type defaults to 'int' in declaration of 'state' [-Wimplicit-int] static state = 0; ^~~~~ mesg.c:118:9: warning: type defaults to 'int' in declaration of 'count' [-Wimplicit-int] static count = 0; ^~~~~ mesg.c:119:9: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] static i = 0; ^ cc -DBSDi -O2 -D_LIBXG_EXTENSION -I../include -I/usr/include/posix -I/usr/X11R7/include -c moveto.c cc -DBSDi -O2 -D_LIBXG_EXTENSION -I../include -I/usr/include/posix -I/usr/X11R7/include -c multi.c cc -DBSDi -O2 -D_LIBXG_EXTENSION -I../include -I/usr/include/posix -I/usr/X11R7/include -c rasp.c cc -DBSDi -O2 -D_LIBXG_EXTENSION -I../include -I/usr/include/posix -I/usr/X11R7/include -c regexp.c cc -DBSDi -O2 -D_LIBXG_EXTENSION -I../include -I/usr/include/posix -I/usr/X11R7/include -c shell.c cc -DBSDi -O2 -D_LIBXG_EXTENSION -I../include -I/usr/include/posix -I/usr/X11R7/include -c string.c cc -DBSDi -O2 -D_LIBXG_EXTENSION -I../include -I/usr/include/posix -I/usr/X11R7/include -c sys.c cc -c -DBSDi -O2 -D_LIBXG_EXTENSION -I../include -I/usr/include/posix -DHOMEDIR=\"HOME\" -DRSAMNAME=\"sam\" -DTERMNAME=\"/usr/pkg/bin/samterm\" -DTMP=\"/var/tmp\" -DSHELLNAME=\"sh\" -DSHELLPATH=\"/bin/sh\" -DRXNAME=\"rsh\" -DRXPATHNAME=\"/usr/bin/rsh\" -DSAMSAVE=\"/bin/sh\\n/usr/pkg/bin/samsave\" unix.c cc -DBSDi -O2 -D_LIBXG_EXTENSION -I../include -I/usr/include/posix -I/usr/X11R7/include -c xec.c cc -o sam sam.o address.o buffer.o cmd.o disc.o error.o file.o io.o list.o mesg.o moveto.o multi.o rasp.o regexp.o shell.o string.o sys.o unix.o xec.o ../libframe/libframe.a ../libXg/libXg.a ld: unix.o: in function `newtmp': unix.c:(.text+0x1cc): warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() cd samterm; /usr/bin/make cc -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/X11R7/include -c main.c In file included from main.c:7:0: samterm.h:71:7: warning: conflicting types for built-in function 'gettext' [-Wbuiltin-declaration-mismatch] Rune *gettext(Flayer*, long, ulong*); ^~~~~~~ cc -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/X11R7/include -c flayer.c In file included from flayer.c:7:0: samterm.h:71:7: warning: conflicting types for built-in function 'gettext' [-Wbuiltin-declaration-mismatch] Rune *gettext(Flayer*, long, ulong*); ^~~~~~~ cc -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/X11R7/include -c icons.c cc -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/X11R7/include -c io.c In file included from io.c:7:0: samterm.h:71:7: warning: conflicting types for built-in function 'gettext' [-Wbuiltin-declaration-mismatch] Rune *gettext(Flayer*, long, ulong*); ^~~~~~~ cc -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/X11R7/include -c menu.c In file included from menu.c:7:0: samterm.h:71:7: warning: conflicting types for built-in function 'gettext' [-Wbuiltin-declaration-mismatch] Rune *gettext(Flayer*, long, ulong*); ^~~~~~~ cc -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/X11R7/include -c mesg.c In file included from mesg.c:7:0: samterm.h:71:7: warning: conflicting types for built-in function 'gettext' [-Wbuiltin-declaration-mismatch] Rune *gettext(Flayer*, long, ulong*); ^~~~~~~ mesg.c: In function 'rcv': mesg.c:30:9: warning: type defaults to 'int' in declaration of 'state' [-Wimplicit-int] static state = 0; ^~~~~ mesg.c:31:9: warning: type defaults to 'int' in declaration of 'count' [-Wimplicit-int] static count = 0; ^~~~~ mesg.c:32:9: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] static i = 0; ^ cc -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/X11R7/include -c rasp.c In file included from rasp.c:7:0: samterm.h:71:7: warning: conflicting types for built-in function 'gettext' [-Wbuiltin-declaration-mismatch] Rune *gettext(Flayer*, long, ulong*); ^~~~~~~ cc -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/X11R7/include -c scroll.c In file included from scroll.c:7:0: samterm.h:71:7: warning: conflicting types for built-in function 'gettext' [-Wbuiltin-declaration-mismatch] Rune *gettext(Flayer*, long, ulong*); ^~~~~~~ cc -DBSDi -O2 -I../include -I/usr/include/posix -D_LIBXG_EXTENSION -I/usr/X11R7/include -c unix.c In file included from unix.c:7:0: samterm.h:71:7: warning: conflicting types for built-in function 'gettext' [-Wbuiltin-declaration-mismatch] Rune *gettext(Flayer*, long, ulong*); ^~~~~~~ cc -o samterm main.o flayer.o icons.o io.o menu.o mesg.o rasp.o scroll.o unix.o ../libframe/libframe.a ../libXg/libXg.a -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -lXt -lSM -lICE -lX11