From cf6ad8ea8cff318877758b48d3786ab08251ab89 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Sun, 13 Feb 2022 13:11:32 +0000 Subject: [PATCH] patch 8.2.4370: MS-Windows: libsodium.dll not included with the installer Problem: MS-Windows: libsodium.dll not included with the installer. Solution: Add the file to the installer if it exists. (Christian Brabandt, closes #9762) --- nsis/gvim.nsi | 3 +++ src/version.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/nsis/gvim.nsi b/nsis/gvim.nsi index 649c6950dd..c32a8868f6 100644 --- a/nsis/gvim.nsi +++ b/nsis/gvim.nsi @@ -347,6 +347,9 @@ Section "$(str_section_exe)" id_section_exe File /oname=gvim.exe ${VIMSRC}\gvim_ole.exe !if /FileExists "${VIMSRC}\vim${BIT}.dll" File ${VIMSRC}\vim${BIT}.dll +!endif +!if /FileExists "${VIMRT}\libsodium.dll" + File ${VIMRT}\libsodium.dll !endif File /oname=install.exe ${VIMSRC}\installw32.exe File /oname=uninstall.exe ${VIMSRC}\uninstallw32.exe diff --git a/src/version.c b/src/version.c index 3c676829a7..b7fbbbd8b6 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4370, /**/ 4369, /**/