[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
145/246: gnu: vpnc-scripts: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
145/246: gnu: vpnc-scripts: Fix build with gcc-14. |
Date: |
Mon, 13 Jan 2025 03:06:28 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit c2287dfc7ad161091ddd1bd8ee0a584c52663a62
Author: Janneke Nieuwenhuizen <janneke@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 <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.
;;;
@@ -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)
- 84/246: gnu: upower: Disable failing test., (continued)
- 84/246: gnu: upower: Disable failing test., guix-commits, 2025/01/13
- 93/246: gnu: vde2: Update to 2.3.3; fixes build with gcc-14., guix-commits, 2025/01/13
- 94/246: gnu: opensc: Update to 0.26.0; fixes build with gcc-14., guix-commits, 2025/01/13
- 102/246: gnu: zxing-cpp-1-2.0: Fix build with gcc-14., guix-commits, 2025/01/13
- 106/246: gnu: libquicktime: Fix build with gcc-14., guix-commits, 2025/01/13
- 110/246: gnu: glibc-2.35: Fix build with gcc-14., guix-commits, 2025/01/13
- 113/246: gnu: cryptsetup-static: Update to latest json-c (0.18)., guix-commits, 2025/01/13
- 134/246: gnu: lpsolve: Fix build with gcc-14., guix-commits, 2025/01/13
- 139/246: gnu: boost-for-mysql: Fix build with gcc-14., guix-commits, 2025/01/13
- 148/246: gnu: tbb: Fix build with gcc-14., guix-commits, 2025/01/13
- 145/246: gnu: vpnc-scripts: Fix build with gcc-14.,
guix-commits <=
- 156/246: gnu: zeromq: Update to 4.3.5; fixes build with gcc-14., guix-commits, 2025/01/13
- 159/246: gnu: bedtools: Update to 2.31.1; fixes build with gcc-14., guix-commits, 2025/01/13
- 165/246: gnu: uwsgi: Update to 2.0.28; fixes build with gcc-14., guix-commits, 2025/01/13
- 170/246: Revert "gnu: r-rcppparallel: Fix build with gcc-14.", guix-commits, 2025/01/13
- 173/246: gnu: python-datrie: Fix build with gcc-14., guix-commits, 2025/01/13
- 174/246: gnu: mpfi: Fix build with gcc-14., guix-commits, 2025/01/13
- 176/246: gnu: gf2x: Fix build with gcc-14., guix-commits, 2025/01/13
- 180/246: Revert "gnu: perl-tk: Fix build with gcc-14.", guix-commits, 2025/01/13
- 183/246: gnu: python-geventhttpclient: Update to 2.3.3; fixes build with gcc-14., guix-commits, 2025/01/13
- 186/246: gnu: python-pythran: Update to 0.17.0., guix-commits, 2025/01/13