From cd29889ba4ef8b1aae6e7bc602fd5e6a0c59e127 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sat, 14 Mar 2026 11:59:59 +0300 Subject: [PATCH] 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 --- gnu/packages/gnome.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index f7ea512488..c36276b64c 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -82,7 +82,7 @@ ;;; Copyright © 2024 Justin Veilleux ;;; Copyright © 2025 Noé Lopez ;;; Copyright © 2025 Ashvith Shetty -;;; Copyright © 2025 Artyom V. Poptsov +;;; Copyright © 2025, 2026 Artyom V. Poptsov ;;; Copyright © 2025 Abra K. ;;; Copyright © 2025 Ben Hansen ;;; Copyright © 2026 Roman Riabenko @@ -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