aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/patchutils-test-perms.patch
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2018-11-29 22:17:40 -0600
committerEric Bavier <bavier@member.fsf.org>2018-11-30 00:21:25 -0600
commit5f230fb2798e9862fba67228b9de89df8f36e8e0 (patch)
treec552cfc8273a47ec7b09578f32801e2942f35e7b /gnu/packages/patches/patchutils-test-perms.patch
parent7b05e957fa8adfe2c85d7d164b8a2f4c9796fdb2 (diff)
downloadguix-5f230fb2798e9862fba67228b9de89df8f36e8e0.tar
guix-5f230fb2798e9862fba67228b9de89df8f36e8e0.tar.gz
patchutils: Update to 0.3.4.
* gnu/packages/patchutils.scm (patchutils): Update to 0.3.4. [arguments]: Simplify 'patch-test-scripts' phase. * gnu/packages/patches/patchutils-xfail-gendiff-tests.patch: Rename to... * gnu/packages/patches/patchutils-test-perms.patch: ...this. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Diffstat (limited to 'gnu/packages/patches/patchutils-test-perms.patch')
-rw-r--r--gnu/packages/patches/patchutils-test-perms.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/patches/patchutils-test-perms.patch b/gnu/packages/patches/patchutils-test-perms.patch
new file mode 100644
index 0000000000..c7652b9af2
--- /dev/null
+++ b/gnu/packages/patches/patchutils-test-perms.patch
@@ -0,0 +1,14 @@
+Need to mark one of the tests as PHONY to get permissions set correctly on
+built scripts.
+
+--- a/Makefile.in 2011-02-10 09:44:43.000000000 -0600
++++ b/Makefile.in 2018-11-29 21:52:05.000000000 -0600
+@@ -1106,5 +1108,6 @@
+ rm -f $(DESTDIR)$(bindir)/"`echo lsdiff|sed '$(transform)'`"
+ rm -f $(DESTDIR)$(bindir)/"`echo grepdiff|sed '$(transform)'`"
+
++.PHONY: tests/newline1/run-test
+ tests/newline1/run-test: src/combinediff$(EXEEXT) src/flipdiff$(EXEEXT) \
+ src/lsdiff$(EXEEXT) src/grepdiff$(EXEEXT) \
+ scripts/splitdiff
+