diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aba53d1..b883833 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,9 +18,11 @@ jobs: NETTLE_VERSION: 3.7.2 GNUTLS_VERSION: 3.6.16 CURL_VERSION: 7.77.0 - CACHE_KEY: 3 + CACHE_KEY: 5 steps: + - uses: actions/checkout@v2 + - name: Cache libcurl id: cache uses: actions/cache@v2 @@ -83,6 +85,10 @@ jobs: make check make install + - name: Patch curl + run: | + patch -i patches/curlvers.patch build/curl-7.77.0/lib/libcurl.vers.in + - name: Build curl if: steps.cache.outputs.cache-hit != 'true' env: @@ -172,7 +178,6 @@ jobs: name: spotify-appimage path: Spotify-*-x86_64.AppImage* - release: runs-on: ubuntu-latest needs: spotify diff --git a/patches/curlvers.patch b/patches/curlvers.patch new file mode 100644 index 0000000..ef4490c --- /dev/null +++ b/patches/curlvers.patch @@ -0,0 +1,11 @@ +--- curl-7.77.0.orig/lib/libcurl.vers.in ++++ curl-7.77.0/lib/libcurl.vers.in +@@ -6,7 +6,7 @@ + _save*; + }; + +-CURL_@CURL_LT_SHLIB_VERSIONED_FLAVOUR@4 ++CURL_@CURL_LT_SHLIB_VERSIONED_FLAVOUR@3 + { + global: curl_*; + local: *;