diff --git a/contrib/src/opendht/fetch_and_patch.bat b/contrib/src/opendht/fetch_and_patch.bat index a476ba587e9e7a412076ff4cdef8416734b1be29..e9208a70fd670a811eb3888e31b3a0cdfe475e54 100644 --- a/contrib/src/opendht/fetch_and_patch.bat +++ b/contrib/src/opendht/fetch_and_patch.bat @@ -1,22 +1,22 @@ -set BUILD=%SRC%..\build - -set OPENDHT_VERSION=1.3.3 -set OPENDHT_URL=https://github.com/savoirfairelinux/opendht/archive/%OPENDHT_VERSION%.tar.gz - -mkdir %BUILD% - -if %USE_CACHE%==1 ( - copy %CACHE_DIR%\%OPENDHT_VERSION%.tar.gz %cd% -) else ( - wget %OPENDHT_URL% -) - -7z -y x %OPENDHT_VERSION%.tar.gz && 7z -y x %OPENDHT_VERSION%.tar -o%BUILD% -del %OPENDHT_VERSION%.tar && del %OPENDHT_VERSION%.tar.gz && del %BUILD%\pax_global_header -rename %BUILD%\opendht-%OPENDHT_VERSION% opendht - -cd %BUILD%\opendht - -git apply --reject --whitespace=fix %SRC%\opendht\opendht-uwp.patch - +set BUILD=%SRC%..\build + +set OPENDHT_VERSION=1.3.5 +set OPENDHT_URL=https://github.com/savoirfairelinux/opendht/archive/%OPENDHT_VERSION%.tar.gz + +mkdir %BUILD% + +if %USE_CACHE%==1 ( + copy %CACHE_DIR%\%OPENDHT_VERSION%.tar.gz %cd% +) else ( + wget %OPENDHT_URL% +) + +7z -y x %OPENDHT_VERSION%.tar.gz && 7z -y x %OPENDHT_VERSION%.tar -o%BUILD% +del %OPENDHT_VERSION%.tar && del %OPENDHT_VERSION%.tar.gz && del %BUILD%\pax_global_header +rename %BUILD%\opendht-%OPENDHT_VERSION% opendht + +cd %BUILD%\opendht + +git apply --reject --whitespace=fix %SRC%\opendht\opendht-uwp.patch + cd %SRC% \ No newline at end of file