WARNING: [license.mk] Every package should define a LICENSE. ===> Building for viewfax-2.4nb2 clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHELPFILE=\"/opt/pkg/libdata/viewfax/viewfax.tif\" -I/opt/pkg/include -c viewfax.c viewfax.c:143:23: warning: passing arguments to 'getopt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((c = getopt(argc, argv, "b:d:fg:h:ilm:nruvw:z:24")) != -1) ^ viewfax.c:231:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, Banner); ^~~~~~ viewfax.c:231:22: note: treat the string as an argument to avoid this fprintf(stderr, Banner); ^ "%s", viewfax.c:375:45: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] if (verbose) printf("\tmemused = %d\n", Memused); ~~ ^~~~~~~ %zu viewfax.c:728:10: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] switch(XKeycodeToKeysym(Disp, Event.xkey.keycode, 0)) { ^ /Users/pbulk/build/graphics/viewfax/work/.buildlink/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/graphics/viewfax/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ viewfax.c:1305:6: warning: variable 'd0' is uninitialized when used here [-Wuninitialized] d0 |= ((t >> shift) & 1); ^~ viewfax.c:1299:12: note: initialize the variable 'd0' to silence this warning t32bits d0; ^ = 0 viewfax.c:1261:6: warning: variable 'd0' is uninitialized when used here [-Wuninitialized] d0 |= t & 1; t >>= 1; ^~ viewfax.c:1255:12: note: initialize the variable 'd0' to silence this warning t32bits d0, d1, d2, d3; ^ = 0 viewfax.c:1262:6: warning: variable 'd1' is uninitialized when used here [-Wuninitialized] d1 |= t & 1; t >>= 1; ^~ viewfax.c:1255:16: note: initialize the variable 'd1' to silence this warning t32bits d0, d1, d2, d3; ^ = 0 viewfax.c:1263:6: warning: variable 'd2' is uninitialized when used here [-Wuninitialized] d2 |= t & 1; t >>= 1; ^~ viewfax.c:1255:20: note: initialize the variable 'd2' to silence this warning t32bits d0, d1, d2, d3; ^ = 0 viewfax.c:1264:6: warning: variable 'd3' is uninitialized when used here [-Wuninitialized] d3 |= t & 1; t >>= 1; ^~ viewfax.c:1255:24: note: initialize the variable 'd3' to silence this warning t32bits d0, d1, d2, d3; ^ = 0 viewfax.c:1241:6: warning: variable 'd0' is uninitialized when used here [-Wuninitialized] d0 |= ((t >> shift) & 1); ^~ viewfax.c:1235:12: note: initialize the variable 'd0' to silence this warning t32bits d0; ^ = 0 10 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHELPFILE=\"/opt/pkg/libdata/viewfax/viewfax.tif\" -I/opt/pkg/include -c faxinput.c faxinput.c:225:33: warning: format specifies type 'long' but the argument has type 't32bits' (aka 'unsigned int') [-Wformat] ProgName, name, nstrips, count); ^~~~~ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHELPFILE=\"/opt/pkg/libdata/viewfax/viewfax.tif\" -I/opt/pkg/include -c faxinit.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHELPFILE=\"/opt/pkg/libdata/viewfax/viewfax.tif\" -I/opt/pkg/include -c faxexpand.c faxexpand.c:344:9: warning: variable 'EOLcnt' set but not used [-Wunused-but-set-variable] int EOLcnt; /* number of consecutive EOLs */ ^ faxexpand.c:600:9: warning: variable 'EOLcnt' set but not used [-Wunused-but-set-variable] int EOLcnt; ^ 2 warnings generated. rm -f viewfax._man if test -z "" ; then cd `dirname viewfax` && ln -s `basename viewfax.man` `basename viewfax._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < viewfax.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >viewfax._man; fi rm -f viewfax clang -o viewfax -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib viewfax.o faxinput.o faxinit.o faxexpand.o -lXext -lX11