gnu: signify: Update to 26.
[guix.git] / gnu / packages / patches / nvi-assume-preserve-path.patch
blob18a8f68cca3079019ae16c3873fb87291a95b825
1 Make configure assume nvi can store backups in /var/tmp.
3 --- a/dist/configure 2014-09-01 14:46:01.075778095 +0200
4 +++ b/dist/configure 2014-09-01 14:52:08.411790122 +0200
5 @@ -21319,23 +21319,8 @@
6 if test "${vi_cv_path_preserve+set}" = set; then
7 echo $ECHO_N "(cached) $ECHO_C" >&6
8 else
9 - dirlist="/var/preserve /var/tmp /usr/tmp"
10 - vi_cv_path_preserve=no
11 - for i in $dirlist; do
12 - if test -d $i/vi.recover; then
13 - vi_cv_path_preserve=$i/vi.recover
14 - break;
15 - fi
16 - done
17 - if test "$vi_cv_path_preserve" = no; then
18 - for i in $dirlist; do
19 - if test -d $i -a -w $i; then
20 - vi_cv_path_preserve=$i/vi.recover
21 - break;
22 - fi
23 - done
25 - fi
26 +# Assume /var/tmp
27 + vi_cv_path_preserve=/var/tmp/vi.recover
30 if test "$vi_cv_path_preserve" = no; then