~ruther/guix-local

bfa45f122c13082fdf11e649d18363a929fce91d — Janneke Nieuwenhuizen 1 year, 10 months ago 6f1661f
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
1 files changed, 4 insertions(+), 1 deletions(-)

M gnu/packages/vpn.scm
M gnu/packages/vpn.scm => gnu/packages/vpn.scm +4 -1
@@ 24,6 24,7 @@
;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2024 Allan Adair <allan@adair.no>
;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;


@@ 670,7 671,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)