diff options
author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2024-12-05 16:19:03 +0100 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:12 +0200 |
commit | d1f5b8e66cef085685d65c98edfd92033842c048 (patch) | |
tree | 4196b0b43c95d02e1f51b7d3bd0a2e2640ac2f2f | |
parent | 1308ce47c9ddbfcdf1da33ac1d3254af7c9f2060 (diff) |
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
-rw-r--r-- | gnu/packages/tor.scm | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm index 2301fabc0c..f3044dc9e6 100644 --- a/gnu/packages/tor.scm +++ b/gnu/packages/tor.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2022 Jim Newsome <jnewsome@torproject.org> ;;; Copyright © 2025 Danial Behzadi <dani.behzi@ubuntu.com> ;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com> +;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -185,13 +186,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 |