aboutsummaryrefslogtreecommitdiff
path: root/sysutils/u-boot-master
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-04-27 11:05:38 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-04-27 11:05:38 +0000
commitce32f69963c7bd796b01d7ab1bb5a9bdd40c91c8 (patch)
treed02c31df2b87038a862d42e948e2376f18f2e819 /sysutils/u-boot-master
parentce65a198ae0bae1a0e8583716c98aa1ee120bc73 (diff)
downloadports-ce32f69963c7bd796b01d7ab1bb5a9bdd40c91c8.tar.gz
ports-ce32f69963c7bd796b01d7ab1bb5a9bdd40c91c8.zip
u-boot: Fix targets that uses malloc.h
Add a local patch that replace malloc.h with stdlib.h. As there is current discution to make this file usable again don't bother with upstream for now.
Notes
Notes: svn path=/head/; revision=533121
Diffstat (limited to 'sysutils/u-boot-master')
-rw-r--r--sysutils/u-boot-master/files/patch-lib-rsa_rsa_sign.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/u-boot-master/files/patch-lib-rsa_rsa_sign.c b/sysutils/u-boot-master/files/patch-lib-rsa_rsa_sign.c
new file mode 100644
index 000000000000..59c7b9bae37d
--- /dev/null
+++ b/sysutils/u-boot-master/files/patch-lib-rsa_rsa_sign.c
@@ -0,0 +1,11 @@
+--- lib/rsa/rsa-sign.c.orig 2020-04-27 13:01:22.257655000 +0200
++++ lib/rsa/rsa-sign.c 2020-04-27 13:01:38.844321000 +0200
+@@ -4,7 +4,7 @@
+ */
+
+ #include "mkimage.h"
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
+ #include <image.h>