vim: update to 8.2.4804
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
--- vim-7.4.2253/src/channel.c.socklen_t 2016-08-25 23:19:29.000000000 +0200
|
||||
+++ vim-7.4.2253/src/channel.c 2016-08-26 11:33:11.314733000 +0200
|
||||
@@ -52,6 +52,9 @@
|
||||
# define fd_read(fd, buf, len) read(fd, buf, len)
|
||||
# define fd_write(sd, buf, len) write(sd, buf, len)
|
||||
# define fd_close(sd) close(sd)
|
||||
+# ifndef socklen_t
|
||||
+typedef int socklen_t;
|
||||
+# endif
|
||||
#endif
|
||||
|
||||
static void channel_read(channel_T *channel, int part, char *func);
|
||||
12
vim/src/vim-8.2.4804-socklen_t.patch
Normal file
12
vim/src/vim-8.2.4804-socklen_t.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- vim-8.2.4804/src/channel.c.socklen_t 2022-04-22 00:30:15.000000000 +0000
|
||||
+++ vim-8.2.4804/src/channel.c 2022-04-22 17:29:16.780004000 +0000
|
||||
@@ -66,6 +66,9 @@
|
||||
# define fd_read(fd, buf, len) read(fd, buf, len)
|
||||
# define fd_write(sd, buf, len) write(sd, buf, len)
|
||||
# define fd_close(sd) close(sd)
|
||||
+# ifndef socklen_t
|
||||
+typedef size_t socklen_t;
|
||||
+# endif
|
||||
#endif
|
||||
|
||||
static void channel_read(channel_T *channel, ch_part_T part, char *func);
|
||||
Reference in New Issue
Block a user