emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#28667: closed ([PATCH] gnu: cflow: Fix preprocess


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#28667: closed ([PATCH] gnu: cflow: Fix preprocess option.)
Date: Tue, 03 Oct 2017 13:36:02 +0000

Your message dated Tue, 03 Oct 2017 15:35:12 +0200
with message-id <address@hidden>
and subject line Re: [bug#28667] [PATCH] gnu: cflow: Fix preprocess option.
has caused the debbugs.gnu.org bug report #28667,
regarding [PATCH] gnu: cflow: Fix preprocess option.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
28667: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28667
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: cflow: Fix preprocess option. Date: Mon, 02 Oct 2017 08:07:39 +0300
>From c2a8265ecb4e52b4447f75112dace21ed5ccc12a Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <address@hidden>
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\\\""))))
     (home-page "https://www.gnu.org/software/cflow/";)
     (synopsis "Create a graph of control flow within a program")
     (description
-- 
2.14.2




--- End Message ---
--- Begin Message --- Subject: Re: [bug#28667] [PATCH] gnu: cflow: Fix preprocess option. Date: Tue, 03 Oct 2017 15:35:12 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
Oleg Pykhalov <address@hidden> skribis:

> From c2a8265ecb4e52b4447f75112dace21ed5ccc12a Mon Sep 17 00:00:00 2001
> From: Oleg Pykhalov <address@hidden>
> 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’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]