mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: google-brotli: Update to 1.0.9 (Fixes CVE-2020-8927).
* gnu/packages/compression.scm (google-brotli): Update to 1.0.9. [source]: Add snippet to remove unrecognized '-R' flag from pkg-config files.
This commit is contained in:
parent
a5de7312ac
commit
6b7c483328
1 changed files with 10 additions and 2 deletions
|
@ -1898,7 +1898,7 @@ (define-public innoextract
|
||||||
(define-public google-brotli
|
(define-public google-brotli
|
||||||
(package
|
(package
|
||||||
(name "google-brotli")
|
(name "google-brotli")
|
||||||
(version "1.0.7")
|
(version "1.0.9")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -1907,7 +1907,15 @@ (define-public google-brotli
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1811b55wdfg4kbsjcgh1kc938g118jpvif97ilgrmbls25dfpvvw"))))
|
(base32 "1fikasxf7r2dwlk8mv8w7nmjkn0jw5ic31ky3mvpkdzwgd4xfndl"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin
|
||||||
|
;; Cherry-picked from upstream since the latest release
|
||||||
|
;; https://github.com/google/brotli/commit/09b0992b6acb7faa6fd3b23f9bc036ea117230fc
|
||||||
|
(substitute* (find-files "scripts" "^lib.*pc\\.in")
|
||||||
|
(("-R\\$\\{libdir\\} ") ""))
|
||||||
|
#t))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
|
|
Loading…
Reference in a new issue