From fd9012836aefc9abd6da8ee1c34119d193d3449d Mon Sep 17 00:00:00 2001 From: Philip Prindeville Date: Tue, 2 Mar 2021 14:43:37 -0700 Subject: [PATCH] bash: fixing missing PARAMS() macro in strtod.c Signed-off-by: Philip Prindeville --- utils/bash/Makefile | 2 +- utils/bash/patches/902-missing-params.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 utils/bash/patches/902-missing-params.patch diff --git a/utils/bash/Makefile b/utils/bash/Makefile index ca03b62853..b15a145d45 100644 --- a/utils/bash/Makefile +++ b/utils/bash/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bash PKG_VERSION:=5.1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@GNU/bash diff --git a/utils/bash/patches/902-missing-params.patch b/utils/bash/patches/902-missing-params.patch new file mode 100644 index 0000000000..45d3281688 --- /dev/null +++ b/utils/bash/patches/902-missing-params.patch @@ -0,0 +1,11 @@ +--- a/lib/sh/strtod.c ++++ b/lib/sh/strtod.c +@@ -41,6 +41,8 @@ extern int errno; + + #include + ++#include ++ + #ifndef NULL + # define NULL 0 + #endif