summary refs log tree commit diff
path: root/gnu/packages/gdb.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-07-24 01:09:39 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-07-28 15:52:30 +0200
commitfc8778e2934e623b4cfae253942a721cea42a43b (patch)
tree62e4052857d6415f5bf66df0132622f7c20cfaba /gnu/packages/gdb.scm
parent25ccb99347d7f8e54fecf0d8b397e21c3879d0fa (diff)
downloadguix-fc8778e2934e623b4cfae253942a721cea42a43b.tar.gz
gnu: gdb: Fix build with Python >= 3.7.
* gnu/packages/patches/gdb-python-3.7.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/gdb.scm (gdb)[source](patches): New field.
Diffstat (limited to 'gnu/packages/gdb.scm')
-rw-r--r--gnu/packages/gdb.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/gdb.scm b/gnu/packages/gdb.scm
index 36ccb79d67..4c47cc5854 100644
--- a/gnu/packages/gdb.scm
+++ b/gnu/packages/gdb.scm
@@ -42,6 +42,7 @@
              (method url-fetch)
              (uri (string-append "mirror://gnu/gdb/gdb-"
                                  version ".tar.xz"))
+             (patches (search-patches "gdb-python-3.7.patch"))
              (sha256
               (base32
                "0d2bpqk58fqlx21rbnk8mbcjlggzc9kb5sjirrfrrrjq70ka0qdg"))))