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:
parent
af1c1c82c6
commit
246007aaf3
|
@ -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="
|
||||
|
|
13
packages/gawk/configure.patch
Normal file
13
packages/gawk/configure.patch
Normal 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
|
Loading…
Reference in New Issue
Block a user