summaryrefslogtreecommitdiff
path: root/user/socat/netdb-internal.patch
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2019-01-16 12:10:29 -0600
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2019-01-16 12:10:29 -0600
commitaa88e15da3d63f631c054a0213bbeb8bdc3f0b96 (patch)
tree308a282b26920882da5986ff94f6a5e4bf36a7e8 /user/socat/netdb-internal.patch
parent2f484ebe3fe1b3f6ad05e71364df0536ce4283e2 (diff)
downloadpackages-aa88e15da3d63f631c054a0213bbeb8bdc3f0b96.tar.gz
packages-aa88e15da3d63f631c054a0213bbeb8bdc3f0b96.tar.bz2
packages-aa88e15da3d63f631c054a0213bbeb8bdc3f0b96.tar.xz
packages-aa88e15da3d63f631c054a0213bbeb8bdc3f0b96.zip
user/socat: new package
Diffstat (limited to 'user/socat/netdb-internal.patch')
-rw-r--r--user/socat/netdb-internal.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/user/socat/netdb-internal.patch b/user/socat/netdb-internal.patch
new file mode 100644
index 000000000..d1ebc8e5b
--- /dev/null
+++ b/user/socat/netdb-internal.patch
@@ -0,0 +1,13 @@
+--- socat-1.7.2.4.orig/compat.h
++++ socat-1.7.2.4/compat.h
+@@ -656,6 +656,10 @@
+ # define NETDB_INTERNAL h_NETDB_INTERNAL
+ #endif
+
++#if !defined(NETDB_INTERNAL)
++# define NETDB_INTERNAL (-1)
++#endif
++
+ #ifndef INET_ADDRSTRLEN
+ # define INET_ADDRSTRLEN sizeof(struct sockaddr_in)
+ #endif