diff options
| author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2026-03-14 11:59:59 +0300 |
|---|---|---|
| committer | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2026-03-14 12:01:56 +0300 |
| commit | cd29889ba4ef8b1aae6e7bc602fd5e6a0c59e127 (patch) | |
| tree | 14d25197e9b0fe544e7b16e0b9aeb4447f3dcab9 | |
| parent | 5b4949858a8b73aecf4843ba112170fc86ba7334 (diff) | |
gnu: portablexdr: Fix build.
* gnu/packages/gnome.scm (portablexdr): Fix build.
[native-inputs]: Add bison and flex.
[arguments] <#:phases>: Add patch-rpcgen-parse phase.
Change-Id: I011e403246a8ae8bcbb4805ce8b186f95b830420
| -rw-r--r-- | gnu/packages/gnome.scm | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index f7ea5124881..c36276b64c1 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -82,7 +82,7 @@ ;;; Copyright © 2024 Justin Veilleux <terramorpha@cock.li> ;;; Copyright © 2025 Noé Lopez <noelopez@free.fr> ;;; Copyright © 2025 Ashvith Shetty <ashvithshetty0010@zohomail.in> -;;; Copyright © 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com> +;;; Copyright © 2025, 2026 Artyom V. Poptsov <poptsov.artyom@gmail.com> ;;; Copyright © 2025 Abra K. <abra_k_332@protonmail.me> ;;; Copyright © 2025 Ben Hansen <git@beha.pw> ;;; Copyright © 2026 Roman Riabenko <roman@riabenko.com> @@ -1013,6 +1013,16 @@ and straightforward controls.") (base32 "0b77ipvvi520nv7rr6jb1c3xryhc3m2mywhby7m48kfgag8vvx2w")))) (build-system gnu-build-system) + (native-inputs (list bison flex)) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'patch-rpcgen-parse + (lambda _ + (substitute* "rpcgen_parse.y" + (("#include \"rpcgen_int.h\"") + (string-append + "#include \"rpcgen_int.h\"\n" + "int yylex();\n")))))))) (synopsis "External Data Representation Library") (description "PortableXDR is an implementation of External Data Representation (XDR) Library. It is a standard data serialization format, for |
