GNU bug report logs - #28667
[PATCH] gnu: cflow: Fix preprocess option.

Previous Next

Package: guix-patches;

Reported by: Oleg Pykhalov <go.wigust <at> gmail.com>

Date: Mon, 2 Oct 2017 05:08:02 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #13 received at 28667-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Oleg Pykhalov <go.wigust <at> gmail.com>
Cc: 28667-done <at> debbugs.gnu.org
Subject: Re: [bug#28667] [PATCH] gnu: cflow: Fix preprocess option.
Date: Tue, 03 Oct 2017 15:35:12 +0200
Oleg Pykhalov <go.wigust <at> gmail.com> skribis:

> From c2a8265ecb4e52b4447f75112dace21ed5ccc12a Mon Sep 17 00:00:00 2001
> From: Oleg Pykhalov <go.wigust <at> gmail.com>
> Date: Mon, 2 Oct 2017 07:38:09 +0300
> Subject: [PATCH] gnu: cflow: Fix preprocess option.
>
> * gnu/packages/code.scm (cflow): Fix preprocess option.
> ---
>  gnu/packages/code.scm | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
> index 6e04739f6..819c3e8d4 100644
> --- a/gnu/packages/code.scm
> +++ b/gnu/packages/code.scm
> @@ -58,7 +58,12 @@
>  
>      ;; Needed to have cflow-mode.el installed.
>      (native-inputs `(("emacs" ,emacs-minimal)))
> -
> +    (propagated-inputs `(("gcc" ,gcc-7)))
> +    (arguments
> +     '(#:configure-flags (list (string-append "CPPFLAGS="
> +                                              "-D" "CFLOW_PREPROC=\\\""
> +                                              (assoc-ref %build-inputs "gcc")
> +                                              "/bin/cpp\\\""))))

Applied without the ‘propagated-inputs’, which is unnecessary, as you
hinted.   :-)

Thanks!

Ludo’.




This bug report was last modified 7 years and 295 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.