File: mailutils-variable-lookup.patch

package info (click to toggle)
guix 1.4.0-9
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 161,500 kB
  • sloc: lisp: 861,023; cpp: 10,741; javascript: 9,632; sh: 8,913; makefile: 951; ansic: 558; python: 129; sql: 33; sed: 16
file content (26 lines) | stat: -rw-r--r-- 669 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Have 'send-message' look up 'mu-debug' & co. in the right
module: <https://issues.guix.gnu.org/49968>.

Submitted: https://lists.gnu.org/archive/html/bug-mailutils/2021-09/msg00000.html

---
 include/mailutils/guile.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/mailutils/guile.h b/include/mailutils/guile.h
index f05550678..47f89db39 100644
--- a/include/mailutils/guile.h
+++ b/include/mailutils/guile.h
@@ -20,7 +20,8 @@
 
 #include <libguile.h>
 
-#define MU_SCM_SYMBOL_VALUE(p) SCM_VARIABLE_REF(scm_c_lookup(p))
+#define MU_SCM_SYMBOL_VALUE(p)			\
+  (scm_c_public_ref ("mailutils mailutils", p))
 
 typedef struct
 {
-- 
2.33.0