]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
bash: Added some patches.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 22 Aug 2009 12:09:03 +0000 (14:09 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 22 Aug 2009 12:09:03 +0000 (14:09 +0200)
This is kinda self-explaining.

lfs/bash

index d000912bec8ae8fd66a8943844e3bbd7ad88f3a9..3c06cee4298066dca9015ed90ceb2ef73a4be76a 100644 (file)
--- 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 <dlfcn.h>:
        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 \