emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#34745: closed ([PATCH core-updates] gnu: libgc: Up


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#34745: closed ([PATCH core-updates] gnu: libgc: Update to 7.6.12.)
Date: Sun, 10 Mar 2019 17:56:01 +0000

Your message dated Sun, 10 Mar 2019 18:55:20 +0100
with message-id <address@hidden>
and subject line Re: [bug#34745] [PATCH core-updates] gnu: libgc: Update to 
7.6.12.
has caused the debbugs.gnu.org bug report #34745,
regarding [PATCH core-updates] gnu: libgc: Update to 7.6.12.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
34745: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34745
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH core-updates] gnu: libgc: Update to 7.6.12. Date: Mon, 4 Mar 2019 13:04:35 +0100
* gnu/packages/bdw-gc.scm (libgc): Update to 7.6.12.
[arguments]: Add phase to avoid libatomic-ops propagation.
---
 gnu/packages/bdw-gc.scm | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/bdw-gc.scm b/gnu/packages/bdw-gc.scm
index 041e142ded..ba010ceee5 100644
--- a/gnu/packages/bdw-gc.scm
+++ b/gnu/packages/bdw-gc.scm
@@ -30,14 +30,14 @@
 (define-public libgc
   (package
    (name "libgc")
-   (version "7.6.8")
+   (version "7.6.12")
    (source (origin
             (method url-fetch)
             (uri (string-append "https://github.com/ivmai/bdwgc/releases";
                                 "/download/v" version "/gc-" version 
".tar.gz"))
             (sha256
              (base32
-              "0n720a0i584ghcwmdsjiq6bl9ig0p9mrja29rp4cgsqvpz6wa2h4"))))
+              "10jhhi79d5brwlsyhwgpnrmc8nhlf7aan2lk9xhgihk5jc6srbvc"))))
    (build-system gnu-build-system)
    (arguments
     `(#:configure-flags
@@ -53,7 +53,19 @@
        ,@(if (hurd-triplet? (or (%current-system)
                                 (%current-target-system)))
              '("--disable-gcj-support")
-             '()))))
+             '()))
+      #:phases (modify-phases %standard-phases
+                 (add-after 'unpack 'adjust-pc-file
+                   (lambda* (#:key inputs #:allow-other-keys)
+                     (let ((libatomic-ops (assoc-ref inputs "libatomic-ops")))
+                       ;; GC 7.6.10 and later includes -latomic_ops in the
+                       ;; pkg-config file.  To avoid propagation, insert an
+                       ;; absolute reference so dependent programs can find it.
+                       (substitute* "bdw-gc.pc.in"
+                         (("@ATOMIC_OPS_LIBS@" match)
+                          (string-append "-L" libatomic-ops "/lib "
+                                         match)))
+                       #t))))))
    (native-inputs `(("pkg-config" ,pkg-config)))
    (inputs `(("libatomic-ops" ,libatomic-ops)))
    (outputs '("out" "debug"))
-- 
2.21.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#34745] [PATCH core-updates] gnu: libgc: Update to 7.6.12. Date: Sun, 10 Mar 2019 18:55:20 +0100 User-agent: Notmuch/0.28.2 (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu)
Marius Bakke <address@hidden> writes:

> * gnu/packages/bdw-gc.scm (libgc): Update to 7.6.12.
> [arguments]: Add phase to avoid libatomic-ops propagation.

Pushed in b0f5ec4ffb9fd509c84c0fcf125b2e038e543ebc.

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]