[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/74: gnu: torsocks: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
21/74: gnu: torsocks: Fix build with gcc-14. |
Date: |
Sun, 15 Dec 2024 18:06:03 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit a71f5b1affc762a820717a2af1e6ace419fda4c6
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Dec 5 16:19:03 2024 +0100
gnu: torsocks: Fix build with gcc-14.
* gnu/packages/tor.scm (torsocks)[arguments]: Use G-Expressions. Add
CFLAGS to #:configure-flags to relax gcc-14's strictness.
Change-Id: I57a955a49665cd37208d5760a8d4c745d15c866b
---
gnu/packages/tor.scm | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
index 421f6733f8..e427c270be 100644
--- a/gnu/packages/tor.scm
+++ b/gnu/packages/tor.scm
@@ -13,6 +13,7 @@
;;; Copyright © 2021-2023 Danial Behzadi <dani.behzi@ubuntu.com>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022 Jim Newsome <jnewsome@torproject.org>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -181,13 +182,15 @@ This package only provides a client to the Tor
Network.")))
(native-inputs
(list autoconf automake libtool))
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'build 'absolutize
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "src/bin/torsocks"
- (("getcap=.*")
- (string-append "getcap=" (which "getcap") "\n"))))))))
+ (list
+ #:configure-flags
+ #~'("CFLAGS=-g -O2 -Wno-error=implicit-function-declaration")
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'build 'absolutize
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/bin/torsocks"
+ (("getcap=.*")
+ (string-append "getcap=" (which "getcap")
"\n"))))))))
(home-page "https://www.torproject.org/")
(synopsis "Transparently route an application's traffic through Tor")
(description
- 41/74: gnu: bdb-4.8: Fix build with gcc-14., (continued)
- 41/74: gnu: bdb-4.8: Fix build with gcc-14., guix-commits, 2024/12/15
- 47/74: gnu: tdb: Update to 1.4.12; fixes build with gcc-14., guix-commits, 2024/12/15
- 62/74: gnu: texinfo-4: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/15
- 69/74: gnu: gcc-4.7: Fix build with gcc-14., guix-commits, 2024/12/15
- 68/74: gnu: gcc: Fix build with gcc-14., guix-commits, 2024/12/15
- 71/74: gnu: clang-runtime: Remove gcc-12,13,14 from native-ipnuts., guix-commits, 2024/12/15
- 73/74: gnu: ath9k-firmware: Remove CMAKE_SYSTEM_NAME override., guix-commits, 2024/12/15
- 74/74: DRAFT gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14., guix-commits, 2024/12/15
- 22/74: gnu: expect: Fix build with gcc-14., guix-commits, 2024/12/15
- 07/74: gnu: commencement: gcc-final: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/15
- 21/74: gnu: torsocks: Fix build with gcc-14.,
guix-commits <=
- 15/74: gnu: automake: Update to 1.17; fixes build with gcc-14., guix-commits, 2024/12/15
- 16/74: gnu: Re-Add automake-1.16.5., guix-commits, 2024/12/15
- 48/74: gnu: Add cryptsetup-minimal., guix-commits, 2024/12/15
- 36/74: gnu: texlive-xdvi-bin: Fix build with gcc-14., guix-commits, 2024/12/15
- 49/74: gnu: Use cryptsetup-minimal instead of cryptsetup., guix-commits, 2024/12/15
- 58/74: gnu: netdde: Use -Wno-error=., guix-commits, 2024/12/15
- 59/74: gnu: libedit: Use -Wno-error= for cross-build., guix-commits, 2024/12/15
- 63/74: gnu: git: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/15
- 64/74: gnu: bootstrap: %bootstrap-glibc: Patch more files., guix-commits, 2024/12/15
- 67/74: bash-minimal: Use gcc-14 hurd/x86-linux build fix for all platforms., guix-commits, 2024/12/15