From: Leo Famulari <leo@famulari.name>
To: 62684@debbugs.gnu.org
Subject: [bug#62684] [PATCH v2] gnu: Zstandard: Update to 1.5.5.
Date: Sat, 8 Apr 2023 13:07:12 -0400 [thread overview]
Message-ID: <cc2c81117ab887dc14e2a71cca0fb834563dfb70.1680973632.git.leo@famulari.name> (raw)
In-Reply-To: <8d9ae0fcc8215c2e7aa0514c814ee8b0966db2e1.1680722796.git.leo@famulari.name>
This fixes a corruption bug:
https://github.com/facebook/zstd/releases/tag/v1.5.5
* gnu/packages/compression.scm (zstd)[replacement]: New field.
(zstd-1.5.5): New variable.
---
gnu/packages/compression.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index e58fd65e49..1187d12421 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1635,6 +1635,13 @@ (define-public unshield
(define-public zstd
(package
(name "zstd")
+ ;; Replace to the data corruption bug fixed in Zstd 1.5.5.
+ ;; https://github.com/facebook/zstd/releases/tag/v1.5.5
+ (replacement zstd-1.5.5)
+ ;; Hide this buggy package in the Guix UI. If you add another
+ ;; property to this package, adjust the properties in the package
+ ;; replacement accordingly.
+ (properties `((hidden? . #true)))
(version "1.5.0")
(source
(origin
@@ -1721,6 +1728,20 @@ (define-public zstd
license:public-domain ; zlibWrapper/examples/fitblk*
license:zlib)))) ; zlibWrapper/{gz*.c,gzguts.h}
+(define-public zstd-1.5.5
+ (package
+ (inherit zstd)
+ ;; Don't hide this package from the UI.
+ (properties '())
+ (version "1.5.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/facebook/zstd/releases/download/"
+ "v" version "/zstd-" version ".tar.gz"))
+ (sha256
+ (base32 "1r1ydmj7ib3g5372yj3k40vl3b9ax0154qg2lqcy7ylwhb69chww"))))))
+
(define-public pzstd
(package/inherit zstd
(name "pzstd")
--
2.39.2
next prev parent reply other threads:[~2023-04-08 17:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-05 19:26 [bug#62684] [PATCH] gnu: Zstandard: Update to 1.5.5 Leo Famulari
2023-04-06 15:32 ` Leo Famulari
2023-04-07 10:52 ` Simon Tournier
2023-04-08 17:07 ` Leo Famulari
2023-04-08 17:07 ` Leo Famulari [this message]
2023-04-12 20:44 ` bug#62684: [PATCH v2] " Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cc2c81117ab887dc14e2a71cca0fb834563dfb70.1680973632.git.leo@famulari.name \
--to=leo@famulari.name \
--cc=62684@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.