[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/63: gnu: torsocks: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
18/63: gnu: torsocks: Fix build with gcc-14. |
Date: |
Thu, 12 Dec 2024 05:29:08 -0500 (EST) |
janneke pushed a commit to branch core-packages-team-old
in repository guix.
commit ded9cfc55ef3446d4303f97c51c565711ae1a144
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
"-Wno-implicit-function-declaration" to #:configure-flags.
Change-Id: I57a955a49665cd37208d5760a8d4c745d15c866b
---
gnu/packages/tor.scm | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
index 5de1146ce5..c3b82fa301 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.
;;;
@@ -180,13 +181,14 @@ 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-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/63: gnu: gn: Fix build with gcc-14., (continued)
- 41/63: gnu: gn: Fix build with gcc-14., guix-commits, 2024/12/12
- 35/63: gnu: fontforge: Update to 20230101 and fix build with gettext-0.23., guix-commits, 2024/12/12
- 48/63: gnu: openblas: Update to 0.3.28; fixes build with gcc-14., guix-commits, 2024/12/12
- 50/63: gnu: talloc: Update to 2.4.2; fixes build with gcc-14., guix-commits, 2024/12/12
- 51/63: gnu: slim: Fix build with gcc-14., guix-commits, 2024/12/12
- 34/63: gnu: texlive-xdvi-bin: Fix build with gcc-14., guix-commits, 2024/12/12
- 39/63: gnu: bdb-4.8: Fix build with gcc-14., guix-commits, 2024/12/12
- 40/63: gnu: gamin: Fix build with gcc-14., guix-commits, 2024/12/12
- 42/63: gnu: ntp: Fix build with gcc-14., guix-commits, 2024/12/12
- 12/63: gnu: automake: Update to 1.17; fixes build with gcc-14., guix-commits, 2024/12/12
- 18/63: gnu: torsocks: Fix build with gcc-14.,
guix-commits <=
- 23/63: gnu: python-lxml: Update to 5.2.2; fixes build with gcc-14., guix-commits, 2024/12/12
- 25/63: gnu: cmake-bootstrap: Fix build with gcc-14., guix-commits, 2024/12/12
- 29/63: gnu: libxaw3d: Update to 1.6.6, fixes build with gcc-14., guix-commits, 2024/12/12
- 31/63: gnu: localed: Fix build with gcc-14., guix-commits, 2024/12/12
- 36/63: gnu: epson-inkjet-printer-escpr: Fix build with gcc-14., guix-commits, 2024/12/12
- 43/63: gnu: openldap: Update to 2.6.9; fixes build with gcc-14., guix-commits, 2024/12/12
- 49/63: gnu: python-numpy: Update to 1.26.4 and fix build with gcc-14., guix-commits, 2024/12/12
- 55/63: gnu: %bootstrap-glibc: Fix linking on armhf-linux., guix-commits, 2024/12/12
- 58/63: Revert "gnu: ath9k-firmware: Remove CMAKE_SYSTEM_NAME override.", guix-commits, 2024/12/12
- 62/63: REMOVEME gnu: commencement: static-bash-for-glibc: Avoid rebuild., guix-commits, 2024/12/12