1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-18 12:07:07 +00:00

gawk: Fix configure for detecting readline

%ci:no-build
This commit is contained in:
Tee KOBAYASHI 2023-04-01 22:55:29 +09:00 committed by xtkoba
parent af1c1c82c6
commit 246007aaf3
2 changed files with 13 additions and 1 deletions

View File

@ -9,7 +9,6 @@ TERMUX_PKG_DEPENDS="libandroid-support, libgmp, libmpfr, readline"
TERMUX_PKG_BREAKS="gawk-dev"
TERMUX_PKG_REPLACES="gawk-dev"
TERMUX_PKG_ESSENTIAL=true
TERMUX_PKG_ENABLE_CLANG16_PORTING=false
TERMUX_PKG_RM_AFTER_INSTALL="bin/gawk-* bin/igawk share/man/man1/igawk.1"
TERMUX_PKG_GROUPS="base-devel"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="

View File

@ -0,0 +1,13 @@
https://github.com/termux/termux-packages/issues/15852
--- a/configure
+++ b/configure
@@ -13092,6 +13092,8 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
+#include <fcntl.h>
+#include <unistd.h>
#include <readline/readline.h>
#include <readline/history.h>
int