lynx: Fix building on OS X
This commit is contained in:
parent
5817aa9600
commit
5a493b771c
12
packages/lynx/www_tcp.h.patch
Normal file
12
packages/lynx/www_tcp.h.patch
Normal file
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user