guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

19/33: gnu: libfaketime: Update to 0.9.9.


From: guix-commits
Subject: 19/33: gnu: libfaketime: Update to 0.9.9.
Date: Sun, 9 May 2021 17:50:13 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 09ee1a611619b3678b392a293a924ae77933eb98
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun May 9 11:31:54 2021 +0200

    gnu: libfaketime: Update to 0.9.9.
    
    * gnu/packages/check.scm (libfaketime): Update to 0.9.9.
    [arguments]: Use CC-FOR-TARGET.  Remove obsolete compiler flag and trailing 
#t's.
---
 gnu/packages/check.scm | 20 ++++++--------------
 1 file changed, 6 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index a35f29a..ce63fa2 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2654,7 +2654,7 @@ portable to just about any platform.")
 (define-public libfaketime
   (package
     (name "libfaketime")
-    (version "0.9.8")
+    (version "0.9.9")
     (home-page "https://github.com/wolfcw/libfaketime";)
     (source (origin
               (method git-fetch)
@@ -2663,32 +2663,24 @@ portable to just about any platform.")
                     (commit (string-append "v" version))))
               (sha256
                (base32
-                "1mfdl82ppgbdvy1ny8mb7xii7p0g7awvn4bn36jb8v4r545slmjc"))
+                "1gi1xciqga5hl2xlk7rc3j8wy47ag97pi7ngmdl6ny1d11b2wn1z"))
               (file-name (git-file-name name version))))
     (build-system gnu-build-system)
     (arguments
-     '(#:phases (modify-phases %standard-phases
+     `(#:phases (modify-phases %standard-phases
                   (replace 'configure
                     (lambda* (#:key outputs #:allow-other-keys)
                       (let ((out (assoc-ref outputs "out")))
-                        (setenv "CC" "gcc")
+                        (setenv "CC" ,(cc-for-target))
                         (setenv "PREFIX" out)
 
                         ;; XXX: Without this flag, the CLOCK_REALTIME test 
hangs
                         ;; indefinitely.  See README.packagers for more 
information.
-                        ;; Try removing this for future versions of 
libfaketime.
-                        (setenv "FAKETIME_COMPILE_CFLAGS" 
"-DFORCE_MONOTONIC_FIX")
-
-                        #t)))
+                        (setenv "FAKETIME_COMPILE_CFLAGS" 
"-DFORCE_MONOTONIC_FIX"))))
                   (add-before 'check 'pre-check
                     (lambda _
                       (substitute* "test/functests/test_exclude_mono.sh"
-                        (("/bin/bash") (which "bash")))
-
-                      ;; Do not fail due to use of 'ftime', which was 
deprecated in
-                      ;; glibc 2.31.  Remove this for later versions of 
libfaketime.
-                      (setenv "FAKETIME_COMPILE_CFLAGS" 
"-Wno-deprecated-declarations")
-                      #t)))
+                        (("/bin/bash") (which "bash"))))))
        #:test-target "test"))
     (native-inputs
      `(("perl" ,perl)))                           ;for tests



reply via email to

[Prev in Thread] Current Thread [Next in Thread]