=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/games/kapooka", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for kapooka-0.2nb14 => Fixing path to data files. gcc -Wall -DDATADIR=/opt/local/share/kapooka -g -c audio.c gcc -Wall -DDATADIR=/opt/local/share/kapooka -g -c backgrounds.c In file included from backgrounds.c:23: backgrounds.c: In function 'BG_UpdateAllLayers': helpers.h:52:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 52 | (Uint32)(_surface->pixels) + HLP_BPP((_y * _surface->w) + _x) | ^ backgrounds.c:331:36: note: in expansion of macro 'HLP_GetPos' 331 | srcBase[layerNo] = HLP_GetPos(src[layerNo], layer->pos.x, layer->pos.y); | ^~~~~~~~~~ backgrounds.c:346:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 346 | destBase = (Uint32)(vScreen->pixels); | ^ backgrounds.c:354:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 354 | destPos = (Uint32*)(destBase + destCount); | ^ backgrounds.c:365:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 365 | pixel = *(Uint32*)(srcBase[layerNo] + srcCount[layerNo]); | ^ backgrounds.c: In function 'BG_BlitScreen': backgrounds.c:430:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 430 | srcBase = (Uint32)(vScreen->pixels); | ^ backgrounds.c:431:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 431 | destBase = (Uint32)(screen->pixels); | ^ backgrounds.c:436:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 436 | *(Uint32*)(destBase + count) = *(Uint32*)(srcBase + count); | ^ backgrounds.c:436:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 436 | *(Uint32*)(destBase + count) = *(Uint32*)(srcBase + count); | ^ backgrounds.c: In function 'BG_IsSpaceClear': helpers.h:52:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 52 | (Uint32)(_surface->pixels) + HLP_BPP((_y * _surface->w) + _x) | ^ backgrounds.c:513:26: note: in expansion of macro 'HLP_GetPos' 513 | bgBase = HLP_GetPos(bgSurface, (int)(_left), (int)(_top)); | ^~~~~~~~~~ backgrounds.c:526:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 526 | bgPos = (Uint32*)(bgBase + bgCount); | ^ gcc -Wall -DDATADIR=/opt/local/share/kapooka -g -c helpers.c gcc -Wall -DDATADIR=/opt/local/share/kapooka -g -c input.c gcc -Wall -DDATADIR=/opt/local/share/kapooka -g -c main.c gcc -Wall -DDATADIR=/opt/local/share/kapooka -g -c objects.c gcc -Wall -DDATADIR=/opt/local/share/kapooka -g -c sprites.c In file included from sprites.c:24: sprites.c: In function 'SPR_BlitSprite': helpers.h:52:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 52 | (Uint32)(_surface->pixels) + HLP_BPP((_y * _surface->w) + _x) | ^ sprites.c:243:19: note: in expansion of macro 'HLP_GetPos' 243 | srcBase = HLP_GetPos(src, xOffset, yOffset); | ^~~~~~~~~~ helpers.h:52:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 52 | (Uint32)(_surface->pixels) + HLP_BPP((_y * _surface->w) + _x) | ^ sprites.c:244:20: note: in expansion of macro 'HLP_GetPos' 244 | destBase = HLP_GetPos(dest, _x, _y); | ^~~~~~~~~~ sprites.c:260:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 260 | srcPos = (Uint32*)(srcBase + srcCount); | ^ sprites.c:261:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 261 | destPos = (Uint32*)(destBase + destCount); | ^ gcc -Wall -DDATADIR=/opt/local/share/kapooka -g -c spritesData.c gcc -Wall -DDATADIR=/opt/local/share/kapooka -g -c timer.c gcc -Wall -DDATADIR=/opt/local/share/kapooka -g -lm -L /usr/X11R6/lib `libmikmod-config --libs` `sdl-config --libs` -lSDL_image audio.o backgrounds.o helpers.o input.o main.o objects.o sprites.o spritesData.o timer.o -o kapooka