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
22
pkgs/os-specific/linux/read-edid/fno-common.patch
Normal file
22
pkgs/os-specific/linux/read-edid/fno-common.patch
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
--- a/get-edid/classic.c
|
||||
+++ b/get-edid/classic.c
|
||||
@@ -26,7 +26,7 @@ typedef byte* real_ptr;
|
||||
#define dosmemput(buffer,length,offset) memcpy(offset,buffer,length)
|
||||
|
||||
#define display(...) if (quiet == 0) { fprintf(stderr, __VA_ARGS__); }
|
||||
-int quiet;
|
||||
+extern int quiet;
|
||||
|
||||
real_ptr far_ptr_to_real_ptr( uint32 farptr )
|
||||
{
|
||||
--- a/get-edid/i2c.c
|
||||
+++ b/get-edid/i2c.c
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
//Ideas (but not too much actual code) taken from i2c-tools. Thanks guys.
|
||||
|
||||
-int quiet;
|
||||
+extern int quiet;
|
||||
|
||||
#define display(...) if (quiet == 0) { fprintf(stderr, __VA_ARGS__); }
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue