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

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

bug#62094: closed ([PATCH] gnu: gamin: fix riscv64 cross-compile.)


From: GNU bug Tracking System
Subject: bug#62094: closed ([PATCH] gnu: gamin: fix riscv64 cross-compile.)
Date: Fri, 17 Mar 2023 11:05:01 +0000

Your message dated Fri, 17 Mar 2023 19:04:38 +0800
with message-id <87pm971vw9.fsf@envs.net>
and subject line Re: bug#62094: [PATCH] gnu: gamin: fix riscv64 cross-compile.
has caused the debbugs.gnu.org bug report #62094,
regarding [PATCH] gnu: gamin: fix riscv64 cross-compile.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
62094: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62094
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: gamin: fix riscv64 cross-compile. Date: Fri, 10 Mar 2023 21:07:56 +0800
* gnu/packages/gnome.scm: (gamin): fix riscv64 cross-compile.
[arguments]: <#phases>: when target-riscv64? add replace-config.sub.
[native-inputs]: when target-riscv64? add config.
---
 gnu/packages/gnome.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 3705909742..0883f5442f 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -12252,7 +12252,7 @@ (define-public gamin
      `(#:phases
        (modify-phases %standard-phases
          ;; The 'config.sub' is too old to recognise aarch64.
-         ,@(if (and=> (%current-target-system) target-aarch64?)
+         ,@(if (or (target-aarch64?) (target-riscv64?))
                `((add-after 'unpack 'replace-config.sub
                    (lambda _
                      (delete-file "config.sub")
@@ -12294,7 +12294,7 @@ (define in-abstract-sockets-test? #f)
      (list glib))
     (native-inputs
      `(("pkg-config" ,pkg-config)
-       ,@(if (and=> (%current-target-system) target-aarch64?)
+       ,@(if (or (target-aarch64?) (target-riscv64?))
              `(("config" ,config))
              '())))
     (home-page "https://people.gnome.org/~veillard/gamin/";)
-- 
2.39.2




--- End Message ---
--- Begin Message --- Subject: Re: bug#62094: [PATCH] gnu: gamin: fix riscv64 cross-compile. Date: Fri, 17 Mar 2023 19:04:38 +0800 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Z572 <873216071@qq.com> writes:

> * gnu/packages/gnome.scm: (gamin): fix riscv64 cross-compile.
> [arguments]: <#phases>: when target-riscv64? add replace-config.sub.
> [native-inputs]: when target-riscv64? add config.

Pushed with commit message changed:

    gnu: gamin: Fix cross-compilation to riscv64.
    
    * gnu/packages/gnome.scm (gamin)
    [arguments]<#:phases>: Apply 'replace-config.sub for riscv64 too.
    [native-inputs]: Add config for riscv64 too.


Thank you!


--- End Message ---

reply via email to

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