Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Adélie Package Tree
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
andri saputra
Adélie Package Tree
Commits
d0f4a8a5
Commit
d0f4a8a5
authored
6 years ago
by
Dan Theisen
Browse files
Options
Downloads
Patches
Plain Diff
user/bzflag: new package
parent
9b374eb4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
user/bzflag/APKBUILD
+42
-0
42 additions, 0 deletions
user/bzflag/APKBUILD
user/bzflag/defineAddrLen.patch
+11
-0
11 additions, 0 deletions
user/bzflag/defineAddrLen.patch
with
53 additions
and
0 deletions
user/bzflag/APKBUILD
0 → 100644
+
42
−
0
View file @
d0f4a8a5
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname
=
bzflag
pkgver
=
2.4.12
pkgrel
=
0
pkgdesc
=
"a 3D networked multi-player multi-platform tank battle game"
url
=
"https://www.bzflag.org/"
arch
=
"all"
license
=
"LGPL-2.1+ MPL-2.0"
depends
=
""
depends_dev
=
"zlib-dev c-ares-dev curl-dev ncurses-dev sdl2-dev glew-dev"
makedepends
=
"
$depends_dev
"
install
=
""
subpackages
=
"
$pkgname
-doc"
source
=
"https://download.bzflag.org/bzflag/source/
$pkgver
/
$pkgname
-
$pkgver
.tar.bz2
defineAddrLen.patch"
builddir
=
"
$srcdir
/
$pkgname
-
$pkgver
"
build
()
{
cd
"
$builddir
"
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
--prefix
=
/usr
\
--sysconfdir
=
/etc
\
--mandir
=
/usr/share/man
\
--localstatedir
=
/var
make
}
check
()
{
cd
"
$builddir
"
make check
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
}
sha512sums
=
"9b5fa6b7ab7eb13043242defcc86cbed083e98306b2f611932b48d6d833a37bbe2ab05a0a3d1a2c9b861bfbd834fc6e86783ba82d8a841527d0eedb06f3bde9f bzflag-2.4.12.tar.bz2
568e581dd82ca28aa43281a86867408c726ad4f2145f115a5d3535dbc472463c94288e9349ced715004191af0925daff7e3d55fe1db3ab35554352cc703d79b9 defineAddrLen.patch"
This diff is collapsed.
Click to expand it.
user/bzflag/defineAddrLen.patch
0 → 100644
+
11
−
0
View file @
d0f4a8a5
--- a/include/network.h 2018-04-23 23:17:50.969874036 -0700
+++ b/include/network.h 2018-04-23 23:18:37.750554121 -0700
@@ -57,7 +57,7 @@
# include <bstring.h>
#endif
-#if defined(BSD) || defined(__sun__) || defined(__GLIBC__)
+#if defined(BSD) || defined(__sun__) || defined(__linux__)
# define AddrLen socklen_t
#elif defined (__APPLE__)
# include <AvailabilityMacros.h>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment