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
26
pkgs/tools/misc/mcrypt/malloc_to_stdlib.patch
Executable file
26
pkgs/tools/misc/mcrypt/malloc_to_stdlib.patch
Executable file
|
|
@ -0,0 +1,26 @@
|
|||
From e295844e8ef5c13487996ab700e5f12a7fadb1a6 Mon Sep 17 00:00:00 2001
|
||||
From: Private <private@private.priv>
|
||||
Date: Wed, 30 Dec 2020 16:06:46 -0800
|
||||
Subject: [PATCH] malloc.h to stdlib.h in rfc2440.c
|
||||
|
||||
The malloc.h is deprecated and should not be used
|
||||
---
|
||||
src/rfc2440.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/rfc2440.c b/src/rfc2440.c
|
||||
index 5a1f296..4d6a5db 100644
|
||||
--- a/src/rfc2440.c
|
||||
+++ b/src/rfc2440.c
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <zlib.h>
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
-#include <malloc.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
#include "xmalloc.h"
|
||||
#include "keys.h"
|
||||
--
|
||||
2.13.5
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue