GNU bug report logs -
#74838
[PATCH 1/2] gnu: nvi: Refactor.
Previous Next
Reported by: Herman Rimm <herman <at> rimm.ee>
Date: Thu, 12 Dec 2024 20:29:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* gnu/packages/nvi.scm (nvi)[arguments]: Disable
incompatible-pointer-type and implicit-function-declaration errors.
Change-Id: I03b0c334426c637ba3e55910de02d8f4b15616fb
---
gnu/packages/nvi.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/nvi.scm b/gnu/packages/nvi.scm
index bb23aa790a..ce65bcd916 100644
--- a/gnu/packages/nvi.scm
+++ b/gnu/packages/nvi.scm
@@ -92,7 +92,13 @@ (define-public nvi
file)
"."))
'("config.sub" "config.guess")))
- #t)))))
+ #t))
+ (add-before 'configure 'fix-build
+ (let ((flags '("-g" "-O2" "-Wno-incompatible-pointer-types"
+ "-Wno-implicit-function-declaration")))
+ (lambda _
+ (when #$(or (target-hurd64?) (%current-target-system))
+ (setenv "CPPFLAGS" (string-join flags)))))))))
(inputs
(list bdb ncurses))
(native-inputs
--
2.45.2
This bug report was last modified 59 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.