gnu: ccache: Update to 4.4.1.

* gnu/packages/ccache.scm (ccache): Update to 4.4.1.
[source]: Add patch.
[arguments]: Remove explicit #t return values from phases.
* gnu/packages/patches/ccache-fix-basedir-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
This commit is contained in:
Tobias Geerinckx-Rice 2021-09-27 19:43:50 +02:00
parent 134e1b12f2
commit 85d757b53d
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79
3 changed files with 34 additions and 8 deletions

View file

@ -0,0 +1,26 @@
From ad18f15287b83cee5a45b63e02b31c6a601a134f Mon Sep 17 00:00:00 2001
From: Tobias Geerinckx-Rice <me@tobias.gr>
Date: Mon, 27 Sep 2021 19:36:30 +0200
Subject: [PATCH] gnu: ccache: Fix basedir test.
Applied upstream.
---
test/suites/basedir.bash | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/suites/basedir.bash b/test/suites/basedir.bash
index 479c632..34e5cb7 100644
--- a/test/suites/basedir.bash
+++ b/test/suites/basedir.bash
@@ -269,7 +269,7 @@ EOF
EOF
backdate test.h
- pwd="$(/bin/pwd -P)"
+ pwd="$(pwd -P)"
$REAL_COMPILER -c $pwd/test.c 2>reference.stderr
CCACHE_ABSSTDERR=1 CCACHE_BASEDIR="$pwd" $CCACHE_COMPILE -c $pwd/test.c 2>ccache.stderr
--
2.33.0