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
16
pkgs/development/libraries/readline/android.patch
Normal file
16
pkgs/development/libraries/readline/android.patch
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
diff --git histlib.h histlib.h
|
||||
index c938a10..925ab72 100644
|
||||
--- histlib.h
|
||||
+++ histlib.h
|
||||
@@ -51,9 +51,9 @@
|
||||
#endif
|
||||
|
||||
#ifndef member
|
||||
-# ifndef strchr
|
||||
+# if !defined (strchr) && !defined (__STDC__)
|
||||
extern char *strchr ();
|
||||
-# endif
|
||||
+# endif /* !strchr && !__STDC__ */
|
||||
#define member(c, s) ((c) ? ((char *)strchr ((s), (c)) != (char *)NULL) : 0)
|
||||
#endif
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue