Browse Source

bash: fixing missing PARAMS() macro in strtod.c

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
lilik-openwrt-22.03
Philip Prindeville 3 years ago
committed by Rosen Penev
parent
commit
fd9012836a
2 changed files with 12 additions and 1 deletions
  1. +1
    -1
      utils/bash/Makefile
  2. +11
    -0
      utils/bash/patches/902-missing-params.patch

+ 1
- 1
utils/bash/Makefile View File

@ -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


+ 11
- 0
utils/bash/patches/902-missing-params.patch View File

@ -0,0 +1,11 @@
--- a/lib/sh/strtod.c
+++ b/lib/sh/strtod.c
@@ -41,6 +41,8 @@ extern int errno;
#include <bashansi.h>
+#include <stdc.h>
+
#ifndef NULL
# define NULL 0
#endif

Loading…
Cancel
Save