unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Greg Hogan <code@greghogan.com>
To: 43427@debbugs.gnu.org
Subject: [bug#43427] [PATCH] gnu: zstd: Update to 1.4.5.
Date: Tue, 15 Sep 2020 11:11:28 -0400	[thread overview]
Message-ID: <CA+3U0Zn02yBrPjLxbceKMbMpCe9YJ_Kf-bpR7swC44xcN3X3ZA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2193 bytes --]

From 3875f9c53d6aa9a3c97e0187ab614f44fcf04acf Mon Sep 17 00:00:00 2001
From: Greg Hogan <code@greghogan.com>
Date: Tue, 15 Sep 2020 14:06:48 +0000
Subject: [PATCH] gnu: zstd: Update to 1.4.5.

* gnu/packages/compression.scm (zstd): Update to 1.4.5.
set pkg-config paths in make-flags (see zstd@e668c9b5).
---
 gnu/packages/compression.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 97f254ff6e..7f4662dc8b 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1383,14 +1383,14 @@ or junctions, and always follows hard links.")
 (define-public zstd
   (package
     (name "zstd")
-    (version "1.4.4")
+    (version "1.4.5")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "
https://github.com/facebook/zstd/releases/download/"
                            "v" version "/zstd-" version ".tar.gz"))
        (sha256
-        (base32 "05ckxap00qvc0j51d3ci38150cxsw82w7s9zgd5fgzspnzmp1vsr"))))
+        (base32 "17nf0r20360i80689bg5ipxbk2413b2dn3z7wj8byqpiddy1rscq"))))
     (build-system gnu-build-system)
     (outputs '("out"                    ;1.2MiB executables and
documentation
                "lib"                    ;1.2MiB shared library and headers
@@ -1425,6 +1425,11 @@ or junctions, and always follows hard links.")
              (string-append "PREFIX=" (assoc-ref %outputs "out"))
              (string-append "LIBDIR=" (assoc-ref %outputs "lib") "/lib")
              (string-append "INCLUDEDIR=" (assoc-ref %outputs "lib")
"/include")
+             ;; Hard-code the relative paths written to the pkg-config
file.
+             ;; zstd's lib/Makefile expects the exec path ("out" output) to
+             ;; be a parent path of the library path ("lib" output).
+             (string-append "PCLIBDIR=" "lib")
+             (string-append "PCINCDIR=" "include")
              ;; Skip auto-detection of, and creating a dependency on, the
build
              ;; environment's ‘xz’ for what amounts to a dubious feature
anyway.
              "HAVE_LZMA=0"
-- 
2.28.0

[-- Attachment #2: Type: text/html, Size: 2853 bytes --]

             reply	other threads:[~2020-09-15 15:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-15 15:11 Greg Hogan [this message]
2020-09-22  9:08 ` bug#43427: [PATCH] gnu: zstd: Update to 1.4.5 Mathieu Othacehe
2020-09-22  9:59   ` [bug#43427] " Tobias Geerinckx-Rice via Guix-patches via
2020-09-22 11:22     ` Greg Hogan

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+3U0Zn02yBrPjLxbceKMbMpCe9YJ_Kf-bpR7swC44xcN3X3ZA@mail.gmail.com \
    --to=code@greghogan.com \
    --cc=43427@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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).