From a77c2ca28e6b209ac10351cc8ca173009a6129eb Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Mon, 12 May 2003 23:25:21 +0000 Subject: upgraded to latest tar, findutils and gzip git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2593 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/findutils-inst.xml | 24 ------------------------ chapter05/tar-inst.xml | 9 --------- 2 files changed, 33 deletions(-) (limited to 'chapter05') diff --git a/chapter05/findutils-inst.xml b/chapter05/findutils-inst.xml index 44fdb894d..f654dc521 100644 --- a/chapter05/findutils-inst.xml +++ b/chapter05/findutils-inst.xml @@ -3,30 +3,6 @@ Installing Findutils -The Findutils package is quite old and it has problems compiling -against newer Glibc versions (Glibc-2.0.x and up). You need to apply the -patch, which fixes the following issues: - - -Findutils declares a function called basename, but this -function name is already used by the C standard libraries. This patch -changes the Findutils version of basename function so that it is called -basename2 instead. - -Findutils uses library files in an incorrect way. It -declares library functions, to tell the compiler what the name of the -function will be when the libraries are linked in. This syntax is invalid -and causes compiler warnings/errors. This patch removes this improper -syntax. - -Every GNU package is supposed use a macro called _GNU_SOURCE. -This macro enables declarations of GNU library extension functions so the -compiler will be able to detect name conflicts between functions more easily. -This patch adds this macro to the source code. - - -patch -Np1 -i ../findutils-&findutils-patch-version;.patch - Prepare Findutils to be compiled: ./configure --prefix=/stage1 diff --git a/chapter05/tar-inst.xml b/chapter05/tar-inst.xml index 0d7a5c5d0..9c94af6df 100644 --- a/chapter05/tar-inst.xml +++ b/chapter05/tar-inst.xml @@ -3,15 +3,6 @@ Installation of Tar -A patch may be applied to give tar direct support for -bzip2 files. This patch adds the -j option -to tar, which is similar to the -z option -used for gzip files. - -Apply the patch by running the following command: - -patch -Np1 -i ../tar-&tar-patch-version;.patch - ./configure --prefix=/stage1 make make check -- cgit v1.2.3-54-g00ecf