From: Michael Tremer Date: Sat, 28 Mar 2009 17:39:22 +0000 (+0000) Subject: Applied bash-4.0-rng.patch. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b8aa6b057d58f8dbb0420f1f3f9f0ce5e494330;p=ipfire-3.x.git Applied bash-4.0-rng.patch. --- diff --git a/lfs/bash b/lfs/bash index 40d9c6976..8c675d76c 100644 --- a/lfs/bash +++ b/lfs/bash @@ -58,8 +58,8 @@ endef ############################################################################### objects = $(DL_FILE) \ - #$(THISAPP)-arc4random-1.patch \ - #$(THISAPP)-rng.patch + $(THISAPP)-rng.patch \ + #$(THISAPP)-arc4random-1.patch download: $(objects) @@ -82,17 +82,17 @@ $(OBJECT): $(objects) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) -ifeq "$(STAGE)" "toolchain" # This patch modifies Bash to use /dev/urandom (settable with # --with-randomdev=) for $RANDOM, instead of getpid() and gettimeofday(). # The test is "( echo $RANDOM; ( echo $RANDOM ); ( echo $RANDOM ) )": - #cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-rng.patch + cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-rng.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/" \ -i builtins/enable.def +ifeq "$(STAGE)" "toolchain" cd $(DIR_APP) && \ ac_cv_func_working_mktime=yes \ ./configure \