diff options
author | William Pitcock <nenolod@dereferenced.org> | 2014-04-03 09:54:00 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2014-04-03 09:54:00 +0000 |
commit | d775866336cf6ef05fde1d4ccf25431598bfed0c (patch) | |
tree | 48bb1dd65b18e03fe4ff8a790fabb75233cf44df /main/socat/netdb-internal.patch | |
parent | c674892267ce993b91b71b35c32ac558c75ad5b1 (diff) | |
download | aports-d775866336cf6ef05fde1d4ccf25431598bfed0c.tar.bz2 aports-d775866336cf6ef05fde1d4ccf25431598bfed0c.tar.xz |
main/socat: fix musl build and upgrade to 1.7.2.4
Diffstat (limited to 'main/socat/netdb-internal.patch')
-rw-r--r-- | main/socat/netdb-internal.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/main/socat/netdb-internal.patch b/main/socat/netdb-internal.patch new file mode 100644 index 0000000000..d1ebc8e5be --- /dev/null +++ b/main/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 |