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
11
pkgs/tools/filesystems/mtools/UNUSED-darwin.patch
Normal file
11
pkgs/tools/filesystems/mtools/UNUSED-darwin.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- mtools/sysincludes.h.orig 2017-04-01 20:59:46.083196540 +0100
|
||||
+++ mtools/sysincludes.h 2017-04-01 20:59:12.855030456 +0100
|
||||
@@ -103,7 +103,7 @@
|
||||
# define PACKED __attribute__ ((packed))
|
||||
# if __GNUC__ == 2 && __GNUC_MINOR__ > 6 || __GNUC__ >= 3
|
||||
/* gcc 2.6.3 doesn't have "unused" */ /* mool */
|
||||
-# define UNUSED(x) x __attribute__ ((unused));x
|
||||
+# define UNUSED(x) x
|
||||
# define UNUSEDP __attribute__ ((unused))
|
||||
# else
|
||||
# define UNUSED(x) x
|
||||
Loading…
Add table
Add a link
Reference in a new issue