gnu: libsndfile: Incorporate grafted changes.

* gnu/packages/pulseaudio.scm (libsndfile)[replacement]: Remove field.
[source](patches): Add "libsndfile-CVE-2017-12562.patch".
(libsndfile/fixed): Remove variable.
This commit is contained in:
Marius Bakke 2018-02-22 15:41:24 +01:00
parent 98afa18413
commit fb6550058e
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 2 additions and 11 deletions

View File

@ -47,7 +47,6 @@
(define-public libsndfile (define-public libsndfile
(package (package
(name "libsndfile") (name "libsndfile")
(replacement libsndfile/fixed)
(version "1.0.28") (version "1.0.28")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
@ -55,7 +54,8 @@
version ".tar.gz")) version ".tar.gz"))
(patches (search-patches "libsndfile-armhf-type-checks.patch" (patches (search-patches "libsndfile-armhf-type-checks.patch"
"libsndfile-CVE-2017-8361-8363-8365.patch" "libsndfile-CVE-2017-8361-8363-8365.patch"
"libsndfile-CVE-2017-8362.patch")) "libsndfile-CVE-2017-8362.patch"
"libsndfile-CVE-2017-12562.patch"))
(sha256 (sha256
(base32 (base32
"1afzm7jx34jhqn32clc5xghyjglccam2728yxlx37yj2y0lkkwqz")))) "1afzm7jx34jhqn32clc5xghyjglccam2728yxlx37yj2y0lkkwqz"))))
@ -81,15 +81,6 @@ SPARC. Hopefully the design of the library will also make it easy to extend
for reading and writing new sound file formats.") for reading and writing new sound file formats.")
(license l:gpl2+))) (license l:gpl2+)))
(define libsndfile/fixed
(package
(inherit libsndfile)
(source (origin
(inherit (package-source libsndfile))
(patches (append
(origin-patches (package-source libsndfile))
(search-patches "libsndfile-CVE-2017-12562.patch")))))))
(define-public libsamplerate (define-public libsamplerate
(package (package
(name "libsamplerate") ; aka. Secret Rabbit Code (SRC) (name "libsamplerate") ; aka. Secret Rabbit Code (SRC)