Skip to content

Commit

Permalink
patch libcurl
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Campos Vieira committed May 30, 2021
1 parent a228743 commit b3d7ea4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -172,7 +178,6 @@ jobs:
name: spotify-appimage
path: Spotify-*-x86_64.AppImage*


release:
runs-on: ubuntu-latest
needs: spotify
Expand Down
11 changes: 11 additions & 0 deletions patches/curlvers.patch
Original file line number Diff line number Diff line change
@@ -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: *;

0 comments on commit b3d7ea4

Please sign in to comment.