This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 3cecd83e57 gnu: bdb-4.8: Fix build on riscv64.
3cecd83e57 is described below

commit 3cecd83e57c21ca7edb9553e81d203ad55fa441f
Author: Zheng Junjie <z572@z572.online>
AuthorDate: Mon Jul 21 09:57:30 2025 +0800

    gnu: bdb-4.8: Fix build on riscv64.
    
    * gnu/packages/dbm.scm (bdb-4.8)[arguments]<#:phases>: Also apply
    bdb-configure-patch phase on riscv64.
    
    Change-Id: I03b45d6fec4e35af4c23a456424a2b85ca76011b
---
 gnu/packages/dbm.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/dbm.scm b/gnu/packages/dbm.scm
index ec4346ad19..da5db84b41 100644
--- a/gnu/packages/dbm.scm
+++ b/gnu/packages/dbm.scm
@@ -120,14 +120,15 @@
                          (symlink (string-append automake-files "/" file) 
file))
                        (for-each replace '("config.sub" "config.guess"
                                            "install-sh"))))))
-               #$@(if (target-arm?)
-                 #~((add-after 'unpack 'bdb-configure-patch
-                   (lambda _
-                     (invoke
-                      "patch" "-p1" "-i"
-                      #$(local-file
-                         (search-patch "bdb-4-5-configure.patch"))))))
-                 #~())
+               #$@(if (or (target-arm?)
+                          (target-riscv64?))
+                      #~((add-after 'unpack 'bdb-configure-patch
+                           (lambda _
+                             (invoke
+                              "patch" "-p1" "-i"
+                              #$(local-file
+                                 (search-patch "bdb-4-5-configure.patch"))))))
+                      #~())
                (add-before 'configure 'pre-configure
                  (lambda _
                    (chdir "dist")

Reply via email to