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
18
pkgs/development/libraries/libunique/gcc7-bug.patch
Normal file
18
pkgs/development/libraries/libunique/gcc7-bug.patch
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
gcc-7 newly detects this class of bugs.
|
||||
In this particular case it's clear that the inention was
|
||||
to detect if the string is non-NULL *and* non-empty.
|
||||
|
||||
|
||||
diff --git a/unique/uniqueapp.c b/unique/uniqueapp.c
|
||||
index b40a86c..66a7226 100644
|
||||
--- a/unique/uniqueapp.c
|
||||
+++ b/unique/uniqueapp.c
|
||||
@@ -176,7 +176,7 @@ set_startup_id (UniqueBackend *backend,
|
||||
{
|
||||
gchar *id;
|
||||
|
||||
- if (startup_id && startup_id != '\0')
|
||||
+ if (startup_id && *startup_id != '\0')
|
||||
id = g_strdup (startup_id);
|
||||
else
|
||||
{
|
||||
Loading…
Add table
Add a link
Reference in a new issue