summaryrefslogtreecommitdiff
path: root/www/gopherus/files/patch-net_net-bsd.c
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2020-05-09 12:20:57 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2020-05-09 12:20:57 +0000
commit8ae75e7cea0df9bf5d6dfcb5160204cf8561a81b (patch)
tree11a8f3ede459b933bb8b0167a6979619a4141b99 /www/gopherus/files/patch-net_net-bsd.c
parentwww/nextcloud-tasks: Update to 0.12.2 (diff)
New port: www/gopherus
Gopherus is a free, multiplatform, console-mode gopher client that provides a classic text interface to the gopherspace. WWW: http://gopherus.sourceforge.net/
Notes
Notes: svn path=/head/; revision=534737
Diffstat (limited to 'www/gopherus/files/patch-net_net-bsd.c')
-rw-r--r--www/gopherus/files/patch-net_net-bsd.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/www/gopherus/files/patch-net_net-bsd.c b/www/gopherus/files/patch-net_net-bsd.c
new file mode 100644
index 000000000000..11d84e2be65d
--- /dev/null
+++ b/www/gopherus/files/patch-net_net-bsd.c
@@ -0,0 +1,10 @@
+--- net/net-bsd.c.orig 2020-05-09 11:36:10 UTC
++++ net/net-bsd.c
+@@ -20,6 +20,7 @@
+ #include <sys/socket.h> /* socket() */
+ #include <sys/select.h> /* select(), fd_set() */
+ #include <arpa/inet.h>
++ #include <netinet/in.h>
+ #include <netdb.h>
+ #include <unistd.h> /* close() */
+ #define CLOSESOCK(x) close(x)