Skip to content

Commit

Permalink
Apply new patches to 'bash' code
Browse files Browse the repository at this point in the history
  • Loading branch information
ezamlinsky committed Mar 14, 2020
1 parent 8b0318f commit fa09501
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions bash/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ prepare() {
patch -p0 -i $srcdir/bash${_basever//./}-009
patch -p0 -i $srcdir/bash${_basever//./}-010
patch -p0 -i $srcdir/bash${_basever//./}-011
patch -p0 -i $srcdir/bash${_basever//./}-012
patch -p0 -i $srcdir/bash${_basever//./}-013
patch -p0 -i $srcdir/bash${_basever//./}-014
patch -p0 -i $srcdir/bash${_basever//./}-015
patch -p0 -i $srcdir/bash${_basever//./}-016

# Run autogen script if exists
if [ -x autogen.sh ]; then
Expand Down Expand Up @@ -179,6 +184,7 @@ build() {
'--enable-silent-rules'
'--enable-shared'
'--disable-static'
'--disable-profiling'
'--enable-alias'
'--enable-arith-for-command'
'--enable-array-variables'
Expand Down Expand Up @@ -212,7 +218,7 @@ build() {
'--enable-select'
'--enable-separate-helpfiles'
'--enable-single-help-strings'
'--enable-xpg-echo-default'
'--disable-xpg-echo-default'
'--without-bash-malloc'

# 'readline' related options
Expand All @@ -225,7 +231,7 @@ build() {
)

# Change compile flags
export CFLAGS+=" -DSYS_BASHRC='\"/etc/bash.bashrc\"' -DSYS_BASH_LOGOUT='\"/etc/bash.bash_logout\"'"
export CFLAGS+=" -DSYS_BASHRC='\"/etc/bash.bashrc\"' -DSYS_BASH_LOGOUT='\"/etc/bash.bash_logout\"' -DNON_INTERACTIVE_LOGIN_SHELLS"
export CXXFLAGS="${CFLAGS}"

# Run package configuration script
Expand Down

0 comments on commit fa09501

Please sign in to comment.