uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
52
pkgs/tools/networking/mailutils/path-to-cat.patch
Normal file
52
pkgs/tools/networking/mailutils/path-to-cat.patch
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
diff --git a/mh/show.c b/mh/show.c
|
||||
index a43afe10c..6985386ec 100644
|
||||
--- a/mh/show.c
|
||||
+++ b/mh/show.c
|
||||
@@ -254,7 +254,7 @@ main (int argc, char **argv)
|
||||
*/
|
||||
|
||||
if (!use_showproc)
|
||||
- showproc = "/bin/cat";
|
||||
+ showproc = "cat";
|
||||
else
|
||||
showproc = mh_global_profile_get ("showproc", NULL);
|
||||
|
||||
diff --git a/mh/tests/mhparam.at b/mh/tests/mhparam.at
|
||||
index 54b7fc06a..3abd5bf9b 100644
|
||||
--- a/mh/tests/mhparam.at
|
||||
+++ b/mh/tests/mhparam.at
|
||||
@@ -28,7 +28,7 @@ mhparam -all | tr '\t' ' ' | sed 's/^Path:.*/Path: Mail/;s/^mhetcdir:.*/mhetcdir
|
||||
[0],
|
||||
[Path: Mail
|
||||
mhetcdir: dir
|
||||
-moreproc: /bin/cat
|
||||
+moreproc: cat
|
||||
Sequence-Negation: not
|
||||
Draft-Folder: Mail/drafts
|
||||
Aliasfile: .mh_aliases
|
||||
diff --git a/mh/tests/testsuite.at b/mh/tests/testsuite.at
|
||||
index c6820843c..6675a4a9c 100644
|
||||
--- a/mh/tests/testsuite.at
|
||||
+++ b/mh/tests/testsuite.at
|
||||
@@ -25,7 +25,7 @@ export MH
|
||||
cat > $MH <<EOT
|
||||
Path: $HOME/Mail
|
||||
mhetcdir: $abs_top_srcdir/mh/etc
|
||||
-moreproc: /bin/cat
|
||||
+moreproc: cat
|
||||
EOT
|
||||
MTSTAILOR=$HOME/mtstailor
|
||||
export MTSTAILOR
|
||||
diff --git a/testsuite/lib/mailutils.exp b/testsuite/lib/mailutils.exp
|
||||
index d4691d922..c1b056933 100644
|
||||
--- a/testsuite/lib/mailutils.exp
|
||||
+++ b/testsuite/lib/mailutils.exp
|
||||
@@ -728,7 +728,7 @@ proc mu_test_file {args} {
|
||||
set pattern [lrange $args 1 end]
|
||||
}
|
||||
|
||||
- set res [remote_spawn host "/bin/cat $filename"]
|
||||
+ set res [remote_spawn host "cat $filename"]
|
||||
if { $res < 0 || $res == "" } {
|
||||
perror "Reading $filename failed."
|
||||
return 1;
|
||||
Loading…
Add table
Add a link
Reference in a new issue