From 5a493b771c9c6820833867b216312e1fbc8c6b26 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Mon, 20 Jun 2016 00:20:34 +0200 Subject: [PATCH] lynx: Fix building on OS X --- packages/lynx/www_tcp.h.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 packages/lynx/www_tcp.h.patch diff --git a/packages/lynx/www_tcp.h.patch b/packages/lynx/www_tcp.h.patch new file mode 100644 index 000000000..a118e89e6 --- /dev/null +++ b/packages/lynx/www_tcp.h.patch @@ -0,0 +1,12 @@ +diff -u -r ../lynx2-8-8/WWW/Library/Implementation/www_tcp.h ./WWW/Library/Implementation/www_tcp.h +--- ../lynx2-8-8/WWW/Library/Implementation/www_tcp.h 2013-07-29 23:38:35.000000000 +0200 ++++ ./WWW/Library/Implementation/www_tcp.h 2016-06-20 00:19:17.000000000 +0200 +@@ -797,7 +797,7 @@ + + #if defined(VMS) + #define socklen_t unsigned +-#else ++#elif !defined(__APPLE__) + #define socklen_t int /* used for default LY_SOCKLEN definition */ + #endif +