mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-xelb: Fix compilation error with xcb-proto@1.15.
* gnu/packages/patches/emacs-xelb-ignore-length-element.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/emacs-xyz.scm (emacs-xelb): Use it.
This commit is contained in:
parent
4f4c38c881
commit
04a4fe2df2
3 changed files with 24 additions and 2 deletions
19
gnu/packages/patches/emacs-xelb-ignore-length-element.patch
Normal file
19
gnu/packages/patches/emacs-xelb-ignore-length-element.patch
Normal file
|
@ -0,0 +1,19 @@
|
|||
Work around build failure due to XCB "length" element.
|
||||
Patch from <https://sources.debian.org/patches/xelb/0.18-4/>.
|
||||
|
||||
Author: Martin <debacle@debian.org>
|
||||
Bug: https://github.com/ch11ng/xelb/issues/28
|
||||
Bug-Debian: https://bugs.debian.org/1017294
|
||||
|
||||
---
|
||||
--- a/el_client.el
|
||||
+++ b/el_client.el
|
||||
@@ -519,7 +519,7 @@
|
||||
(`list (xelb-parse-list node))
|
||||
(`exprfield (xelb-parse-exprfield node))
|
||||
(`switch (xelb-parse-switch node))
|
||||
- ((or `comment `doc)) ;simply ignored
|
||||
+ ((or `comment `doc `length)) ;simply ignored
|
||||
(x (error "Unsupported structure content: <%s>" x))))
|
||||
|
||||
;; The car of the result shall be renamed to prevent duplication of slot names
|
Loading…
Add table
Add a link
Reference in a new issue