[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/12: gnu: barrier: Include NULL compatibility.
From: |
guix-commits |
Subject: |
08/12: gnu: barrier: Include NULL compatibility. |
Date: |
Thu, 11 May 2023 10:39:27 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit b8e912c35f03289cca711b8d9192bf7b815b4d81
Author: Simon Tournier <zimon.toutoune@gmail.com>
AuthorDate: Tue May 9 16:30:07 2023 +0200
gnu: barrier: Include NULL compatibility.
Fixes <https://bugs.gnu.org/63244>.
Reported by <john@fremlin.org>
* gnu/packages/barrier.scm (barrier)[arguments]: Use G-exp, add phases
including NULL macro.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/barrier.scm | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/barrier.scm b/gnu/packages/barrier.scm
index 5c2ecb0f2f..be0e52349b 100644
--- a/gnu/packages/barrier.scm
+++ b/gnu/packages/barrier.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2022 Mathieu Othacehe <othacehe@gnu.org>
+;;; Copyright © 2023 Simon Tournier <zimon.toutoune@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -19,6 +20,7 @@
(define-module (gnu packages barrier)
#:use-module (guix build-system cmake)
#:use-module (guix utils)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix download)
#:use-module ((guix licenses) #:prefix license:)
@@ -48,9 +50,17 @@
(base32 "19bwa9qidq2mxv1fkyxxc1xdmv3jx6bj35bkaaw70jzkblnfmlfs"))))
(build-system cmake-build-system)
(arguments
- '(#:configure-flags
- (list "-DBARRIER_USE_EXTERNAL_GTEST=ON")
- #:tests? #f)) ;tests require a running x server
+ (list
+ #:configure-flags
+ #~(list "-DBARRIER_USE_EXTERNAL_GTEST=ON")
+ #:tests? #f ;; tests require a running x server
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-null
+ (lambda _
+ (substitute* "src/lib/base/Event.h"
+ (("#include \"common/stdmap\\.h\"")
+ "#include \"common/stdmap.h\"\n#include <cstddef>")))))))
(native-inputs
(list googletest pkg-config))
(inputs
- branch master updated (ef0aa7ff8b -> 1e4c45b0dc), guix-commits, 2023/05/11
- 02/12: services: dhcp-client-configuration: Add 'shepherd-requirement' field., guix-commits, 2023/05/11
- 01/12: gnu: home: services: fontutils: Add support for SXML fragments., guix-commits, 2023/05/11
- 10/12: services: Add vnstat-service-type., guix-commits, 2023/05/11
- 08/12: gnu: barrier: Include NULL compatibility.,
guix-commits <=
- 07/12: gnu: git: Update to 2.40.1 [security fixes]., guix-commits, 2023/05/11
- 09/12: doc: Update dicod-configuration example, guix-commits, 2023/05/11
- 05/12: gnu: laby: Make laby function in pure environments., guix-commits, 2023/05/11
- 12/12: tests: Add vnstat tests., guix-commits, 2023/05/11
- 03/12: doc: Clarify substitute* docstring with an example., guix-commits, 2023/05/11
- 06/12: gnu: laby: Add patch for being able to execute game code., guix-commits, 2023/05/11
- 04/12: gnu: laby: Use new package style., guix-commits, 2023/05/11
- 11/12: services: inetd: Export accessors., guix-commits, 2023/05/11