diff options
Diffstat (limited to 'gnu/packages/patches/libgit2-mtime-0.patch')
| -rw-r--r-- | gnu/packages/patches/libgit2-mtime-0.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/patches/libgit2-mtime-0.patch b/gnu/packages/patches/libgit2-mtime-0.patch new file mode 100644 index 00000000000..a6fdb50fffc --- /dev/null +++ b/gnu/packages/patches/libgit2-mtime-0.patch | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | The Clar test framework has a bug whereby it skips the parsing phase | ||
| 2 | on files with mtime=0. | ||
| 3 | |||
| 4 | Reported upstream at <https://github.com/vmg/clar/pull/78>. | ||
| 5 | |||
| 6 | diff --git a/tests/generate.py b/tests/generate.py | ||
| 7 | index b639c8f..111ca41 100644 | ||
| 8 | --- a/tests/generate.py | ||
| 9 | +++ b/tests/generate.py | ||
| 10 | @@ -63,3 +63,3 @@ class Module(object): | ||
| 11 | |||
| 12 | - self.mtime = 0 | ||
| 13 | + self.mtime = None # Guix sets all file mtimes to '0' | ||
| 14 | self.enabled = True | ||
