diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b9be64d..c15164e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,13 +54,15 @@ jobs: run: | call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64 curl -L https://github.com/maxmind/libmaxminddb/releases/download/1.8.0/libmaxminddb-1.8.0.tar.gz | tar xzvf - - mkdir libmaxminddb-1.8.0\build - cd libmaxminddb-1.8.0\build + cd libmaxminddb-1.8.0 + curl -O https://github.com/maxmind/libmaxminddb/commit/c07677078ba0e78f6a741465546c8c2019ee1c35.diff + unix2dos c07677078ba0e78f6a741465546c8c2019ee1c35.diff + patch -p1 < c07677078ba0e78f6a741465546c8c2019ee1c35.diff + mkdir build + cd build cmake .. cmake --build . cmake --build . --target install - rename "C:\Program Files (x86)\maxminddb\include\maxminddb.h" maxminddb.h.bak - sed "/typedef ADDRESS_FAMILY sa_family_t/d" "C:\Program Files (x86)\maxminddb\include\maxminddb.h.bak" > "C:\Program Files (x86)\maxminddb\include\maxminddb.h" shell: cmd - name: Build Zeek (Windows)