ports/bash: Fix compilation with moved winsize

This commit is contained in:
2026-07-07 15:50:25 +03:00
parent bc8f0f373e
commit 132b75c2d0
3 changed files with 2 additions and 14 deletions

View File

@@ -10,8 +10,8 @@ CONFIGURE_OPTIONS=(
'--without-bash-malloc'
'--with-curses'
'bash_cv_unusable_rtsigs=no'
'bash_cv_signal_vintage=posix'
'CFLAGS=-std=c17'
'bash_cv_struct_winsize_termios=yes' # configure checks for sys/termios.h? code uses termios.h correctly
'CFLAGS=-std=c17 -Wno-discarded-qualifiers'
'CFLAGS_FOR_BUILD=-std=c17'
)

View File

@@ -1,12 +0,0 @@
diff -ruN bash-5.2.37/examples/loadables/Makefile.in bash-5.2.37-banan_os/examples/loadables/Makefile.in
--- bash-5.2.37/examples/loadables/Makefile.in 2022-08-19 23:33:30.000000000 +0300
+++ bash-5.2.37-banan_os/examples/loadables/Makefile.in 2025-01-26 02:43:36.121801845 +0200
@@ -104,7 +104,7 @@
ALLPROG = print truefalse sleep finfo logname basename dirname fdflags \
tty pathchk tee head mkdir rmdir mkfifo mktemp printenv id whoami \
uname sync push ln unlink realpath strftime mypid setpgid seq rm \
- accept csv dsv cut stat getconf
+ accept csv dsv stat
OTHERPROG = necho hello cat pushd asort
all: $(SHOBJ_STATUS)