janneke pushed a commit to branch core-packages-team in repository guix. commit 70f21096fe4983bf553625ba3d7dd60f60a4b3ab Author: Janneke Nieuwenhuizen <jann...@gnu.org> 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 <m...@jeandudey.tech> ;;; Copyright © 2022 Arun Isaac <arunis...@systemreboot.net> ;;; Copyright © 2024 Allan Adair <al...@adair.no> +;;; Copyright © 2025 Janneke Nieuwenhuizen <jann...@gnu.org> ;;; ;;; 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)