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
17
pkgs/development/libraries/apr/is-this-a-compiler-bug.patch
Normal file
17
pkgs/development/libraries/apr/is-this-a-compiler-bug.patch
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
--- apr-1.5.1/file_io/unix/filestat.c 2014-11-01 06:42:50.000000000 -0400
|
||||
+++ apr-1.5.1/file_io/unix/filestat.c.new 2014-11-01 07:07:32.000000000 -0400
|
||||
@@ -297,9 +297,11 @@
|
||||
finfo->pool = pool;
|
||||
finfo->fname = fname;
|
||||
fill_out_finfo(finfo, &info, wanted);
|
||||
- if (wanted & APR_FINFO_LINK)
|
||||
- wanted &= ~APR_FINFO_LINK;
|
||||
- return (wanted & ~finfo->valid) ? APR_INCOMPLETE : APR_SUCCESS;
|
||||
+ if (wanted & APR_FINFO_LINK) {
|
||||
+ return ((wanted & ~APR_FINFO_LINK) & ~finfo->valid) ? APR_INCOMPLETE : APR_SUCCESS;
|
||||
+ } else {
|
||||
+ return (wanted & ~finfo->valid) ? APR_INCOMPLETE : APR_SUCCESS;
|
||||
+ }
|
||||
}
|
||||
else {
|
||||
#if !defined(ENOENT) || !defined(ENOTDIR)
|
||||
Loading…
Add table
Add a link
Reference in a new issue