diff --git a/vim/build.sh b/vim/build.sh index a849500..d2f3665 100755 --- a/vim/build.sh +++ b/vim/build.sh @@ -4,17 +4,17 @@ . ${BUILDPKG_SCRIPTS}/build.sh.functions # ########################################################### -patchlevel=1733 +patchlevel=4804 # repo_pl is always 4 digits repo_pl=$patchlevel -basever=8.0 +basever=8.2 # Check the following 4 variables before running the script topdir=vim version=${basever}.${patchlevel} pkgver=1 -source[0]=https://github.com/vim/vim/archive/v${basever}.${repo_pl}.tar.gz#/${topdir}-${version}.tar.gz +source[0]="https://github.com/vim/vim/archive/v${basever}.${repo_pl}.tar.gz#/${topdir}-${version}.tar.gz" # If there are no patches, simply comment this -patch[0]=vim-7.4.2253-socklen_t.patch +patch[0]=vim-8.2.4804-socklen_t.patch # Source function library . ${BUILDPKG_SCRIPTS}/buildpkg.functions @@ -22,7 +22,11 @@ patch[0]=vim-7.4.2253-socklen_t.patch # Global settings export CPPFLAGS="-I/usr/tgcware/include" export LDFLAGS="-L$prefix/lib -R$prefix/lib" -basic_args=(--prefix=$prefix --without-local-dir --with-features=huge --enable-multibyte --disable-perlinterp --disable-pythoninterp --disable-tclinterp --with-compiledby="" --disable-netbeans) +basic_args=(--prefix=$prefix --without-local-dir --with-features=huge) +basic_args+=(--enable-multibyte --disable-perlinterp --disable-pythoninterp) +basic_args+=(--disable-tclinterp --disable-netbeans) +basic_args+=(--with-compiledby="") +basic_args+=(--with-modified-by="") # Do not let scripts add a dependency on perl ignore_deps="TGCperl" # We need to override this @@ -73,10 +77,7 @@ install() custom_install=1 generic_install DESTDIR doc README.txt - #setdir ${stagedir}${prefix}/${_sharedir}/vim/vim71/lang/ - #${__mv} "menu_chinese(gb)_gb.936.vim" "menu_chinese_gb__gb.936.vim" - #${__mv} "menu_chinese(taiwan)_taiwan.950.vim" "menu_chinese_taiwan__taiwan.950.vim" - ${__rm} -rf ${stagedir}${prefix}/${_mandir}/{fr,it,pl,ru,ja}* + ${__rm} -rf ${stagedir}${prefix}/${_mandir}/{fr,it,pl,ru,ja,da,de,tr}* } reg pack diff --git a/vim/meta/ChangeLog b/vim/meta/ChangeLog index 3553623..d8aea7d 100644 --- a/vim/meta/ChangeLog +++ b/vim/meta/ChangeLog @@ -1,5 +1,8 @@ CHANGELOG --------- +* Fri Apr 22 2022 Tom G. Christensen - 8.2.4804-1 +- Update to 8.2.4804 + * Wed Apr 18 2018 Tom G. Christensen - 8.0.1733-1 - Update to 8.0.1733 diff --git a/vim/src/vim-7.4.2253-socklen_t.patch b/vim/src/vim-7.4.2253-socklen_t.patch deleted file mode 100644 index da8b923..0000000 --- a/vim/src/vim-7.4.2253-socklen_t.patch +++ /dev/null @@ -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); diff --git a/vim/src/vim-8.2.4804-socklen_t.patch b/vim/src/vim-8.2.4804-socklen_t.patch new file mode 100644 index 0000000..5216438 --- /dev/null +++ b/vim/src/vim-8.2.4804-socklen_t.patch @@ -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);