]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Added arc4random patch to glibc to add this function.
authorStefan Schantl <Stevee@ipfire.org>
Wed, 13 May 2009 20:02:56 +0000 (22:02 +0200)
committerStefan Schantl <Stevee@ipfire.org>
Wed, 13 May 2009 20:02:56 +0000 (22:02 +0200)
lfs/glibc

index 720fc80ae7c04d72456aad4c6b4efe8f4e491846..0cf22c2f01fc97fd4486379830475a0c5afdc54c 100644 (file)
--- a/lfs/glibc
+++ b/lfs/glibc
@@ -76,7 +76,8 @@ objects = $(DL_FILE) \
        $(THISAPP)-res_randomid.patch \
        $(THISAPP)-resolv_response_length.patch \
        $(THISAPP)-undefine-__i686.patch \
-       $(THISAPP)-d_tlsdec.patch
+       $(THISAPP)-d_tlsdec.patch \
+       $(THISAPP)-arc4random.patch
 
 download: $(objects)
 
@@ -188,6 +189,8 @@ $(OBJECT): $(objects)
        # Build nscd with -fstack-protector-all, instead of -fstack-protector:
        cd $(DIR_APP) && sed -e "s/fstack-protector/&-all/" -i nscd/Makefile
 
+       cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-arc4random.patch
+
        # We don't need to set -march=i?86 in confparams because GCC was built with
        # --with-arch=i?86.
 ifeq "$(MACHINE)" "i686"