janneke pushed a commit to branch core-packages-team
in repository guix.
commit 146d898d4da3ea0add232a3484979da7a6acaea2
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Thu Jan 2 14:28:33 2025 +0100
gnu: vpnc-scripts: Fix build with gcc-14.
* gnu/packages/vpn.scm (vpnc-scripts)[arguments]: In phase "build", relax
gcc-14's strictness.
Change-Id: I993326cfd1ed11ad8efaefdd9ca527e67f78c42b
---
gnu/packages/vpn.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index 0b62e8c7cf..33af1d4424 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -24,6 +24,7 @@
;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ <[email protected]>
;;; Copyright © 2022 Arun Isaac <[email protected]>
;;; Copyright © 2024 Allan Adair <[email protected]>
+;;; Copyright © 2025 Janneke Nieuwenhuizen <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -669,7 +670,9 @@ Only \"Universal TUN/TAP device driver support\" is needed
in the kernel.")
(delete 'configure) ; no configure script
(replace 'build
(lambda _
- (invoke "gcc" "-o" "netunshare" "netunshare.c")))
+ (invoke "gcc" "-g" "-O2"
+ "-Wno-error=implicit-function-declaration"
+ "-o" "netunshare" "netunshare.c")))
(replace 'install
;; There is no Makefile; manually install the relevant files.
(lambda* (#:key outputs #:allow-other-keys)