WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xmascot-2.6anb2 making all in ./imagelib... 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 -DSHAPE -DSHADOW -I/opt/pkg/include -c image.c image.c:129:39: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] fprintf(stderr,"free pixels: %d\n",img->npixel); ~~ ^~~~~~~~~~~ %zu image.c:355:15: warning: variable 'unique' set but not used [-Wunused-but-set-variable] int i, j, unique; ^ image.c:977:27: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] "%u,%u(%#x) bytes\n", n, size, size); ~~ ^ %zu image.c:977:30: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] "%u,%u(%#x) bytes\n", n, size, size); ~~ ^~~~ %zu image.c:977:36: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] "%u,%u(%#x) bytes\n", n, size, size); ~~~ ^~~~ %#zx image.c:1007:42: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] "%dx%d %u(%#x) bytes failed.\n", w,h,size,size); ~~ ^~~~ %zu image.c:1007:47: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] "%dx%d %u(%#x) bytes failed.\n", w,h,size,size); ~~~ ^~~~ %#zx 7 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 -DSHAPE -DSHADOW -I/opt/pkg/include -c etc.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 -DSHAPE -DSHADOW -I/opt/pkg/include -c mag.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 -DSHAPE -DSHADOW -I/opt/pkg/include -c gif.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 -DSHAPE -DSHADOW -I/opt/pkg/include -c bmp.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 -DSHAPE -DSHADOW -I/opt/pkg/include -c pnm.c rm -f libimage.a ar clq libimage.a image.o etc.o mag.o gif.o bmp.o pnm.o ranlib libimage.a clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -Iimagelib -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXMASDIR=\"/opt/pkg/lib/X11/xmascot\" -DI18N -DBIFF -DBIFF_LIST -DMAILBOXDIR=\"/var/mail\" -DUSE_DOUBLE -DUSE_CHAINPAT -DSHADOW -I/opt/pkg/include -c signal.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -Iimagelib -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXMASDIR=\"/opt/pkg/lib/X11/xmascot\" -DI18N -DBIFF -DBIFF_LIST -DMAILBOXDIR=\"/var/mail\" -DUSE_DOUBLE -DUSE_CHAINPAT -DSHADOW -I/opt/pkg/include -c main.c main.c:455:2: warning: call to undeclared function 'set_chain_pat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_chain_pat(adat.chain_pat, adat.ccol0, adat.crgb0); ^ main.c:469:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -Iimagelib -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXMASDIR=\"/opt/pkg/lib/X11/xmascot\" -DI18N -DBIFF -DBIFF_LIST -DMAILBOXDIR=\"/var/mail\" -DUSE_DOUBLE -DUSE_CHAINPAT -DSHADOW -I/opt/pkg/include -c timer.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -Iimagelib -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXMASDIR=\"/opt/pkg/lib/X11/xmascot\" -DI18N -DBIFF -DBIFF_LIST -DMAILBOXDIR=\"/var/mail\" -DUSE_DOUBLE -DUSE_CHAINPAT -DSHADOW -I/opt/pkg/include -c action.c action.c:37:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] adat.menu_no = (int) dat >> 8; ^~~~~~~~~ action.c:38:23: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] adat.mascot_number = (int) dat & 0xff; ^~~~~~~~~ action.c:249:2: warning: call to undeclared function 'XtMoveWidget'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] XtMoveWidget(w, rx - pin_w / 2, ry - pin_h / 2); ^ action.c:278:20: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] change_mascot(w, (XtPointer)(m->n_mascots), NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -Iimagelib -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXMASDIR=\"/opt/pkg/lib/X11/xmascot\" -DI18N -DBIFF -DBIFF_LIST -DMAILBOXDIR=\"/var/mail\" -DUSE_DOUBLE -DUSE_CHAINPAT -DSHADOW -I/opt/pkg/include -c menu.c menu.c:156:27: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int i, num = (int) dat; ^~~~~~~~~ menu.c:188:57: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtAddCallback(menu, XtNpopupCallback, set_change_menu, (XtPointer) num); ^~~~~~~~~~~~~~~ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -Iimagelib -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXMASDIR=\"/opt/pkg/lib/X11/xmascot\" -DI18N -DBIFF -DBIFF_LIST -DMAILBOXDIR=\"/var/mail\" -DUSE_DOUBLE -DUSE_CHAINPAT -DSHADOW -I/opt/pkg/include -c sim.c sim.c:176:4: warning: call to undeclared function 'XtMoveWidget'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] XtMoveWidget(biff, (Position) (bx - biff_w_off), ^ sim.c:193:3: warning: call to undeclared function 'XtMoveWidget'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] XtMoveWidget(mascot, (Position) (mx - ms), (Position) (my - ms)); ^ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -Iimagelib -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXMASDIR=\"/opt/pkg/lib/X11/xmascot\" -DI18N -DBIFF -DBIFF_LIST -DMAILBOXDIR=\"/var/mail\" -DUSE_DOUBLE -DUSE_CHAINPAT -DSHADOW -I/opt/pkg/include -c resource.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -Iimagelib -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXMASDIR=\"/opt/pkg/lib/X11/xmascot\" -DI18N -DBIFF -DBIFF_LIST -DMAILBOXDIR=\"/var/mail\" -DUSE_DOUBLE -DUSE_CHAINPAT -DSHADOW -I/opt/pkg/include -c pattern.c pattern.c:79:2: warning: call to undeclared function 'XtResizeWidget'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] XtResizeWidget(w, (Dimension) (img->width + adat.shadow), ^ pattern.c:120:3: warning: call to undeclared function 'XtResizeWidget'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] XtResizeWidget(chain[i], ^ pattern.c:102:18: warning: unused variable 'w' [-Wunused-variable] Window w = XtWindow(top); ^ pattern.c:357:2: warning: call to undeclared function 'XtResizeWidget'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] XtResizeWidget(mascot, ms, ms, 0); ^ 4 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -Iimagelib -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXMASDIR=\"/opt/pkg/lib/X11/xmascot\" -DI18N -DBIFF -DBIFF_LIST -DMAILBOXDIR=\"/var/mail\" -DUSE_DOUBLE -DUSE_CHAINPAT -DSHADOW -I/opt/pkg/include -c alarm.c alarm.c:69:41: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] = XtAppAddTimeOut(app, dt, AlarmHand, (XtPointer) num); ^~~~~~~~~~~~~~~ alarm.c:91:62: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtAppAddTimeOut(app, (hour * 60 + min) * 1000, AlarmHand2, (XtPointer) num); ^~~~~~~~~~~~~~~ alarm.c:133:42: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] = XtAppAddTimeOut(app, dt, AlarmHand3, (XtPointer) num); ^~~~~~~~~~~~~~~ alarm.c:159:64: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtAppAddTimeOut(app, (hour * 60 + min) * 60000, AlarmHand4, (XtPointer) num); ^~~~~~~~~~~~~~~ 4 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -Iimagelib -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXMASDIR=\"/opt/pkg/lib/X11/xmascot\" -DI18N -DBIFF -DBIFF_LIST -DMAILBOXDIR=\"/var/mail\" -DUSE_DOUBLE -DUSE_CHAINPAT -DSHADOW -I/opt/pkg/include -c file.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -Iimagelib -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXMASDIR=\"/opt/pkg/lib/X11/xmascot\" -DI18N -DBIFF -DBIFF_LIST -DMAILBOXDIR=\"/var/mail\" -DUSE_DOUBLE -DUSE_CHAINPAT -DSHADOW -I/opt/pkg/include -c preference.c preference.c:163:3: warning: call to undeclared function 'set_chain_pat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_chain_pat(adat.chain_pat, adat.ccol0, adat.crgb0); ^ preference.c:189:24: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int dir = (int) a; ^~~~~~~ preference.c:248:48: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtAddCallback(p->bar, XtNjumpProc, bar_jump, (XtPointer) i); ^~~~~~~~~~~~~ preference.c:249:52: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtAddCallback(p->bar, XtNscrollProc, bar_scroll, (XtPointer) i); ^~~~~~~~~~~~~ 4 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -Iimagelib -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXMASDIR=\"/opt/pkg/lib/X11/xmascot\" -DI18N -DBIFF -DBIFF_LIST -DMAILBOXDIR=\"/var/mail\" -DUSE_DOUBLE -DUSE_CHAINPAT -DSHADOW -I/opt/pkg/include -c biff.c biff.c:609:29: warning: variable 'label' set but not used [-Wunused-but-set-variable] Widget form, cmd, label; ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -Iimagelib -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXMASDIR=\"/opt/pkg/lib/X11/xmascot\" -DI18N -DBIFF -DBIFF_LIST -DMAILBOXDIR=\"/var/mail\" -DUSE_DOUBLE -DUSE_CHAINPAT -DSHADOW -I/opt/pkg/include -c CascadeMenu.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -Iimagelib -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXMASDIR=\"/opt/pkg/lib/X11/xmascot\" -DI18N -DBIFF -DBIFF_LIST -DMAILBOXDIR=\"/var/mail\" -DUSE_DOUBLE -DUSE_CHAINPAT -DSHADOW -I/opt/pkg/include -c SmeCascade.c clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -Iimagelib -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DSHAPE -DXMASDIR=\"/opt/pkg/lib/X11/xmascot\" -DI18N -DBIFF -DBIFF_LIST -DMAILBOXDIR=\"/var/mail\" -DUSE_DOUBLE -DUSE_CHAINPAT -DSHADOW -I/opt/pkg/include -c PixCore.c rm -f xmascot clang -o xmascot -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib signal.o main.o timer.o action.o menu.o sim.o resource.o pattern.o alarm.o file.o preference.o biff.o CascadeMenu.o SmeCascade.o PixCore.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 imagelib/libimage.a -lm rm -f xmascot._man if test -z "" ; then cd `dirname xmascot` && ln -s `basename xmascot.man` `basename xmascot._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" < xmascot.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/\@\@$/\\/' >xmascot._man; fi sed 's!SOUND_COMMAND_NAME!!;s!XMASDIR!/opt/pkg/lib/X11/xmascot!' XMascot.ad.sed > XMascot.ad sed 's!menu1!menu1!' mascots/zodiac/zodiac.Xdefaults >> XMascot.ad echo "*menusNum: 2" >> XMascot.ad sed 's!SOUND_COMMAND_NAME!!;s!XMASDIR!/opt/pkg/lib/X11/xmascot!' japanese/XMascot.ad.sed > japanese/XMascot.ad sed 's!menu1!menu1!' mascots/zodiac/zodiac.Xdefaults.jp >> japanese/XMascot.ad echo "*menusNum: 2" >> japanese/XMascot.ad