From: Michael Tremer Date: Sat, 22 Aug 2009 12:09:03 +0000 (+0200) Subject: bash: Added some patches. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=605c22b67d66f51d1fbe9d49c7e211b02a6aef6d;p=ipfire-3.x.git bash: Added some patches. This is kinda self-explaining. --- diff --git a/lfs/bash b/lfs/bash index d000912be..3c06cee42 100644 --- a/lfs/bash +++ b/lfs/bash @@ -61,6 +61,8 @@ endef objects = $(DL_FILE) \ $(THISAPP)-rng.patch \ $(THISAPP)-fixes-1.patch \ + $(THISAPP)-paths-1.patch \ + $(THISAPP)-profile-1.patch \ # $(THISAPP)-arc4random-1.patch download: $(objects) @@ -95,6 +97,10 @@ $(OBJECT): $(objects) # The test is "( echo $RANDOM; ( echo $RANDOM ); ( echo $RANDOM ) )": cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-rng.patch + # Some more patches. + cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-paths-1.patch + cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-profile-1.patch + # Bash uses the RTLD_LAZY option when loading libraries. We want to use # RTLD_NOW (it is defined from : cd $(DIR_APP) && sed -e "s/filename, RTLD_LAZY/filename, RTLD_NOW/" \ @@ -123,6 +129,7 @@ ifeq "$(STAGE)" "base" cd $(DIR_APP) && sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/$(THISAPP)|" \ Makefile.in # cd $(DIR_APP) && patch -Np1 < $(DIR_PATCHES)/$(THISAPP)-arc4random-1.patch + cd $(DIR_APP) && autoconf --force cd $(DIR_APP) && \ ac_cv_func_working_mktime=yes \ ./configure \