kumquat-buildroot/package/bash/0005-input.h-add-missing-include-on-stdio.h.patch
Peter Seiderer 9e778b044c package/bash: bump version to 5.1
- removed 0001-bash50-001.patch to 0018-bash50-018.patch

- added 0001-bash51-001.patch, 0002-bash51-002.patch, 0003-bash51-003.patch,
  0004-bash51-004.patch

- moved 0019-input.h-add-missing-include-on-stdio.h.patch to
  0005-input.h-add-missing-include-on-stdio.h.patch

- removed 0020-locale.c-fix-build-without-wchar.patch
  (superseded by upstream commit)

- added 0006-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch
  to fix typo from upstream commit (see previous patch)

- added 0007-glob-fix-dequote_pathname-vs.-udequote_pathname.patch

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-03-11 22:05:29 +01:00

39 lines
1.1 KiB
Diff

From 4fa85c85b9a76afd3b19ed75bf17ccd2940f1f55 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Sun, 16 Feb 2020 16:18:48 +0100
Subject: [PATCH] input.h: add missing include on stdio.h
This will fix the following build failure on uclibc:
test -n "/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-linux-ranlib" && /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-linux-ranlib libsh.a
In file included from ./exec.def:71:
../input.h:76:3: error: unknown type name 'FILE'
FILE *file;
^~~~
Fixes:
- http://autobuild.buildroot.org/results/bfca306868df54c567215c45c8cdac838d02f567
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Upstream status: https://savannah.gnu.org/support/?110196]
---
input.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/input.h b/input.h
index 6aef1269..08b0fdea 100644
--- a/input.h
+++ b/input.h
@@ -21,6 +21,8 @@
#if !defined (_INPUT_H_)
#define _INPUT_H_
+#include <stdio.h>
+
#include "stdc.h"
/* Function pointers can be declared as (Function *)foo. */
--
2.24.1