bzflag: update to 2.4.16.

This commit is contained in:
cr6git 2018-09-27 20:31:10 +02:00 committed by GitHub
parent 09436b7275
commit 937eaf52af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 14 deletions

View file

@ -1,11 +1,11 @@
--- src/bzfs/bzfs.cxx-orig 2018-01-22 14:58:45.381583835 -0600
+++ src/bzfs/bzfs.cxx 2018-01-22 14:58:55.584456281 -0600
@@ -1260,7 +1260,7 @@
// accept incoming connection on our well known port
struct sockaddr_in clientAddr;
AddrLen addr_len = sizeof(clientAddr);
- int fd = accept(wksSocket, (struct sockaddr*)&clientAddr, &addr_len);
+ int fd = accept(wksSocket, (struct sockaddr*)&clientAddr, (socklen_t*)&addr_len);
if (fd == -1) {
nerror("accepting on wks");
return;
--- src/bzfs/bzfs.cxx.orig 2018-09-27 08:34:45.781489776 +0200
+++ src/bzfs/bzfs.cxx 2018-09-27 08:35:47.688492106 +0200
@@ -1312,7 +1312,7 @@
// accept incoming connection on our well known port
struct sockaddr_in clientAddr;
AddrLen addr_len = sizeof(clientAddr);
- int fd = accept(wksSocket, (struct sockaddr*)&clientAddr, &addr_len);
+ int fd = accept(wksSocket, (struct sockaddr*)&clientAddr, (socklen_t*)&addr_len);
if (fd == -1)
{
nerror("accepting on wks");

View file

@ -1,12 +1,14 @@
# Template file for 'bzflag'
pkgname=bzflag
version=2.4.14
version=2.4.16
revision=1
build_style=gnu-configure
makedepends="c-ares-devel zlib-devel libcurl-devel MesaLib-devel SDL2-devel"
hostmakedepends="pkg-config"
makedepends="SDL2-devel c-ares-devel glew-devel libcurl-devel ncurses-devel zlib-devel"
short_desc="3D networked multi-player tank battle game"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="LGPL-2.1-only, MPL-2.0"
homepage="https://www.bzflag.org"
changelog="https://raw.githubusercontent.com/BZFlag-Dev/bzflag/2.4/ChangeLog"
distfiles="https://download.bzflag.org/bzflag/source/${version}/bzflag-${version}.tar.gz"
checksum=80089192c39416b73b6dd3fa7f48775f6d7453f001e347a5afc1b5c52fbe5611
checksum=5b7b44e7f54d61ffd9e96ae129e4e417b96ab2bfb5ecc81ac73d96983ee1638b