diff --git a/Attic/appendixc/glibc-patch.xml b/Attic/appendixc/glibc-patch.xml
new file mode 100644
index 000000000..089cf82b4
--- /dev/null
+++ b/Attic/appendixc/glibc-patch.xml
@@ -0,0 +1,3 @@
+Glibc-patch (&glibc-version;):
+ftp://ftp.gnu.org/gnu/glibc/
+
diff --git a/Attic/appendixc/packages.xml b/Attic/appendixc/packages.xml
index 66554d64b..dbd84c874 100644
--- a/Attic/appendixc/packages.xml
+++ b/Attic/appendixc/packages.xml
@@ -27,6 +27,7 @@ package quicker.
&ac-texinfo;
&ac-textutils;
&ac-glibc;
+&ac-glibc-patch;
&ac-glibc-threads;
&ac-makedev;
&ac-manpages;
diff --git a/chapter04/glibc-patch.xml b/chapter04/glibc-patch.xml
new file mode 100644
index 000000000..4c9b525bd
--- /dev/null
+++ b/chapter04/glibc-patch.xml
@@ -0,0 +1,6 @@
+Glibc-patch (&glibc-version;) - &glibc-patch-size;:
+&ftp;/glibc-&glibc-version;-nss.diff.bz2
+&http;/glibc-&glibc-version;.-nss.diff.bz2
+
diff --git a/chapter04/packages.xml b/chapter04/packages.xml
index 60cd2620a..64fd0b65b 100644
--- a/chapter04/packages.xml
+++ b/chapter04/packages.xml
@@ -27,6 +27,7 @@
&c3-patch;
&c3-makedev;
&c3-glibc;
+&c3-glibc-patch;
&c3-glibc-threads;
&c3-manpages;
&c3-manpages-patch;
diff --git a/chapter06/glibc-exp.xml b/chapter06/glibc-exp.xml
index 11c8d6b47..73aa27bad 100644
--- a/chapter06/glibc-exp.xml
+++ b/chapter06/glibc-exp.xml
@@ -1,6 +1,10 @@
Command explanations
+patch -Np0 -i ../glibc-2.2.3-nss.diff: This
+patch is needed to fix a couple of nasty nis bugs in glibc which can
+cause problems.
+
mknod -m 0666 /dev/null c 1 3: Glibc needs a
null device to compile properly. All other devices will be created in the
next section.
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml
index 2d064122b..b39be8a8b 100644
--- a/chapter06/glibc-inst.xml
+++ b/chapter06/glibc-inst.xml
@@ -1,14 +1,17 @@
Installation of Glibc
-Once glibc has been unpacked as usual and you have cd'ed into the
+Before starting to install glibc, unpack the glibc-2.2.3-nss.diff
+file in the $LFS/usr/src tree. Then, once glibc has been unpacked as usual
+and you have cd'ed into the
glibc-&glibc-version; directory, unpack glibc-linuxthreads inside
the glibc-&glibc-version; directory, not in /usr/src as you normally
would do.
Install Glibc by running the following commands:
-mknod -m 0666 /dev/null c 1 3 &&
+patch -Np0 -i ../glibc-2.2.3-nss.diff &&
+mknod -m 0666 /dev/null c 1 3 &&
touch /etc/ld.so.conf &&
mkdir ../glibc-build &&
cd ../glibc-build &&
diff --git a/index.xml b/index.xml
index 38c22b29e..9f75fa37e 100644
--- a/index.xml
+++ b/index.xml
@@ -90,6 +90,7 @@
+
@@ -476,6 +477,7 @@
+
@@ -512,7 +514,7 @@
-
+
@@ -649,6 +651,7 @@
+