From: Felix Fietkau Date: Thu, 20 Mar 2014 13:51:27 +0000 (+0000) Subject: uboot-envtools: fix build with musl X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=360ad0e5049c014c1d2eb35285b6ec7f2c970aa6 uboot-envtools: fix build with musl Signed-off-by: Felix Fietkau SVN-Revision: 39961 --- diff --git a/package/boot/uboot-envtools/patches/100-fw_env_gnu_source.patch b/package/boot/uboot-envtools/patches/100-fw_env_gnu_source.patch new file mode 100644 index 0000000000..eeed1d637c --- /dev/null +++ b/package/boot/uboot-envtools/patches/100-fw_env_gnu_source.patch @@ -0,0 +1,10 @@ +--- a/tools/env/fw_env.c ++++ b/tools/env/fw_env.c +@@ -8,6 +8,7 @@ + * SPDX-License-Identifier: GPL-2.0+ + */ + ++#define _GNU_SOURCE + #include + #include + #include