summaryrefslogtreecommitdiff
path: root/user/bzflag/defineAddrLen.patch
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-04-23 23:37:59 -0700
committerDan Theisen <djt@hxx.in>2018-04-23 23:58:24 -0700
commitd0f4a8a5bd4399e0030aafdc4b354f87aaf42207 (patch)
tree1c4a939f38a379cbe06be05faa46e04e72ba4d9e /user/bzflag/defineAddrLen.patch
parent9b374eb420a646c26070549c7b70c43be21acf43 (diff)
downloadpackages-d0f4a8a5bd4399e0030aafdc4b354f87aaf42207.tar.gz
packages-d0f4a8a5bd4399e0030aafdc4b354f87aaf42207.tar.bz2
packages-d0f4a8a5bd4399e0030aafdc4b354f87aaf42207.tar.xz
packages-d0f4a8a5bd4399e0030aafdc4b354f87aaf42207.zip
user/bzflag: new package
Diffstat (limited to 'user/bzflag/defineAddrLen.patch')
-rw-r--r--user/bzflag/defineAddrLen.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/bzflag/defineAddrLen.patch b/user/bzflag/defineAddrLen.patch
new file mode 100644
index 000000000..b1189dcac
--- /dev/null
+++ b/user/bzflag/defineAddrLen.patch
@@ -0,0 +1,11 @@
+--- 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>