From https://github.com/archlinux/svntogit-community * branch packages/tetrinet -> FETCH_HEAD * [new branch] packages/tetrinet -> community/packages/tetrinet Cloning into 'tetrinet'... done. :: Synchronizing package databases... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 132k 100 132k 0 0 386k 0 --:--:-- --:--:-- --:--:-- 385k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8536k 100 8536k 0 0 21.7M 0 --:--:-- --:--:-- --:--:-- 21.7M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 143k 100 143k 0 0 420k 0 --:--:-- --:--:-- --:--:-- 419k 100 143k 100 143k 0 0 420k 0 --:--:-- --:--:-- --:--:-- 419k :: Starting full system upgrade... there is nothing to do ==> Making package: tetrinet 0.11-9 (Thu Jul 27 06:13:03 2023) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading tetrinet-0.11.tar.bz2... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 2 38607 2 1110 0 0 1308 0 0:00:29 --:--:-- 0:00:29 1307 100 38607 100 38607 0 0 36873 0 0:00:01 0:00:01 --:--:-- 36909 -> Found tetrinet-build.patch ==> Validating source files with sha512sums... tetrinet-0.11.tar.bz2 ... Passed tetrinet-build.patch ... Passed ==> Extracting sources... -> Extracting tetrinet-0.11.tar.bz2 with bsdtar ==> Starting prepare()... patching file Makefile patching file sockets.c patching file tetrinet.c patching file tetrinet.h ==> Starting build()... cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fcommon -I/usr/include/ncurses -DHAVE_IPV6 -g -Wall -c sockets.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fcommon -I/usr/include/ncurses -DHAVE_IPV6 -g -Wall -c tetrinet.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fcommon -I/usr/include/ncurses -DHAVE_IPV6 -g -Wall -c tetris.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fcommon -I/usr/include/ncurses -DHAVE_IPV6 -g -Wall -c tty.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fcommon -I/usr/include/ncurses -DHAVE_IPV6 -g -Wall -c xwin.c cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fcommon -I/usr/include/ncurses -DHAVE_IPV6 -g -Wall -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o tetrinet-server -DSERVER_ONLY server.c sockets.c tetrinet.c tetris.c tetrinet.c: In function 'init': tetrinet.c:640:44: warning: pointer targets in passing argument 3 of 'conn' differ in signedness [-Wpointer-sign] 640 | if ((server_sock = conn(server, 31457, ip)) < 0) { | ^~ | | | unsigned char * In file included from tetrinet.c:17: sockets.h:15:50: note: expected 'char *' but argument is of type 'unsigned char *' 15 | extern int conn(const char *host, int port, char ipbuf[4]); | ~~~~~^~~~~~~~ server.c: In function 'check_sockets': server.c:843:59: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 843 | fd = accept(listen_sock, (struct sockaddr *)&sin, &len); | ^~~~ | | | int * In file included from /usr/include/netinet/in.h:23, from server.c:14: /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ server.c:861:61: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 861 | fd = accept(listen_sock6, (struct sockaddr *)&sin6, &len); | ^~~~ | | | int * /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ tty.c: In function 'setup_fields': tty.c:561:31: warning: comparison between pointer and zero character constant [-Wpointer-compare] 561 | if (teams[my_playernum-1] != '\0') { | ^~ tty.c:561:9: note: did you mean to dereference the pointer? 561 | if (teams[my_playernum-1] != '\0') { | ^ tty.c:597:32: warning: comparison between pointer and zero character constant [-Wpointer-compare] 597 | if (teams[j+1] != '\0') { | ^~ tty.c:597:21: note: did you mean to dereference the pointer? 597 | if (teams[j+1] != '\0') { | ^ tty.c:610:30: warning: comparison between pointer and zero character constant [-Wpointer-compare] 610 | if (teams[j] != '\0') { | ^~ tty.c:610:21: note: did you mean to dereference the pointer? 610 | if (teams[j] != '\0') { | ^ tty.c: In function 'draw_attdef': tty.c:862:12: warning: variable 'width' set but not used [-Wunused-but-set-variable] 862 | int i, width; | ^~~~~ xwin.c: In function 'draw_attdef': xwin.c:802:12: warning: variable 'width' set but not used [-Wunused-but-set-variable] 802 | int i, width; | ^~~~~ cc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o tetrinet sockets.o tetrinet.o tetris.o tty.o xwin.o -lncursesw tetris.c:42:12: warning: 'last_special' defined but not used [-Wunused-variable] 42 | static int last_special; /* Last line for which we added a special */ | ^~~~~~~~~~~~ tetris.c:40:12: warning: 'piece_waiting' defined but not used [-Wunused-variable] 40 | static int piece_waiting; /* Are we waiting for a new piece to start? */ | ^~~~~~~~~~~~~ tetris.c:35:23: warning: 'timeout' defined but not used [-Wunused-variable] 35 | static struct timeval timeout; /* Time of next action */ | ^~~~~~~ ==> Entering fakeroot environment... ==> Starting package()... ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "tetrinet"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: tetrinet 0.11-9 (Thu Jul 27 06:13:06 2023)