From c2287dfc7ad161091ddd1bd8ee0a584c52663a62 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Thu, 2 Jan 2025 14:28:33 +0100 Subject: [PATCH] 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 ;;; Copyright © 2022 Arun Isaac ;;; Copyright © 2024 Allan Adair +;;; Copyright © 2025 Janneke Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -669,7 +670,9 @@ (define-public vpnc-scripts (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)