gnu: libsndfile: Ungraft.

* gnu/packages/pulseaudio.scm (libsndfile)[replacement]: Remove field.
[source]: Add patch from former replacement.
(libsndfile/fixed): Remove variable.
This commit is contained in:
Mark H Weaver 2018-03-17 03:25:41 -04:00
parent a732d49b0d
commit 1cbdfede76
No known key found for this signature in database
GPG key ID: 7CEF29847562C516

View file

@ -47,7 +47,6 @@ (define-module (gnu packages pulseaudio)
(define-public libsndfile
(package
(name "libsndfile")
(replacement libsndfile/fixed)
(version "1.0.28")
(source (origin
(method url-fetch)
@ -55,7 +54,8 @@ (define-public libsndfile
version ".tar.gz"))
(patches (search-patches "libsndfile-armhf-type-checks.patch"
"libsndfile-CVE-2017-8361-8363-8365.patch"
"libsndfile-CVE-2017-8362.patch"))
"libsndfile-CVE-2017-8362.patch"
"libsndfile-CVE-2017-12562.patch"))
(sha256
(base32
"1afzm7jx34jhqn32clc5xghyjglccam2728yxlx37yj2y0lkkwqz"))))
@ -81,15 +81,6 @@ (define-public libsndfile
for reading and writing new sound file formats.")
(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
(package
(name "libsamplerate") ; aka. Secret Rabbit Code (SRC)