Index: BOOK/boot/ppc/yaboot-build.xml
===================================================================
--- BOOK/boot/ppc/yaboot-build.xml	(revision 79e7622886e3c452d04607e1d1b08eb7e1d2bad7)
+++ BOOK/boot/ppc/yaboot-build.xml	(revision a5f7c53ee3c0559bd3d09bf3ae4ae85e7dd5eec0)
@@ -33,10 +33,12 @@
     loader. It also tries to change user and group ownership for the installed
     files to <systemitem class="username">root</systemitem>, which the
-    <systemitem class="username">clfs</systemitem> user cannot do. The following
-    command fixes both issues:</para>
+    <systemitem class="username">clfs</systemitem> user cannot do. It will also
+    fail due to a compile warning with the -Werror flag on.   The following
+    command fixes these issues:</para>
 
 <screen><userinput>cp -v Makefile{,.orig}
 sed -e "s/\(strip \)/${CLFS_TARGET}-\1/" \
     -e 's/-o root -g root//' \
+    -e 's/-Werror//' \
     Makefile.orig &gt; Makefile</userinput></screen>
 
Index: BOOK/boot/ppc64/yaboot-build.xml
===================================================================
--- BOOK/boot/ppc64/yaboot-build.xml	(revision 79e7622886e3c452d04607e1d1b08eb7e1d2bad7)
+++ BOOK/boot/ppc64/yaboot-build.xml	(revision a5f7c53ee3c0559bd3d09bf3ae4ae85e7dd5eec0)
@@ -43,4 +43,5 @@
             -e "s/\(strip \)/${CLFS_TARGET}-\1/" \
             -e 's/-o root -g root//' \
+            -e 's/-Werror//' \
     Makefile.orig &gt; Makefile</userinput></screen>
 
Index: BOOK/final-system/ppc/yaboot.xml
===================================================================
--- BOOK/final-system/ppc/yaboot.xml	(revision 79e7622886e3c452d04607e1d1b08eb7e1d2bad7)
+++ BOOK/final-system/ppc/yaboot.xml	(revision a5f7c53ee3c0559bd3d09bf3ae4ae85e7dd5eec0)
@@ -31,4 +31,9 @@
 
 <screen os="b"><userinput>sed -i 's%/usr/local%/usr%' man/*</userinput></screen>
+
+    <para os="aa"> Prevent the build from failing due to warnings with
+    the following sed:</para>
+
+<screen os="ba"><userinput>sed -i 's%-Werror%%' Makefile</userinput></screen>
 
     <para os="c">Compile the package:</para>
Index: BOOK/final-system/ppc64/yaboot.xml
===================================================================
--- BOOK/final-system/ppc64/yaboot.xml	(revision 79e7622886e3c452d04607e1d1b08eb7e1d2bad7)
+++ BOOK/final-system/ppc64/yaboot.xml	(revision a5f7c53ee3c0559bd3d09bf3ae4ae85e7dd5eec0)
@@ -24,9 +24,12 @@
     <para>Existing multilib distributions alter gcc to default to 32-bit
     output.  Because our gcc defaults to 64-bit, we need to pass appropriate
-    options to both the compiler and the linker.  The Makefile already
-    overrides any CC and ignores LDFLAGS in favour of its own variables, so we
-    need to use the following seds for a successful compile and install.</para>
+    options to both the compiler and the linker.  To prevent the build from
+    failing due to compiler warnings, the -Werror flag is removed.  The 
+    Makefile already overrides any CC and ignores LDFLAGS in favour of 
+    its own variables, so we need to use the following seds for a 
+    successful compile and install.</para>
 
 <screen><userinput>sed -i -e "s/\(-print-libgcc-file-name\)/${BUILD32} \1/" \
+    -e "s/-Werror//" \
     -e "s/\(-Bstatic\)/-melf32ppclinux \1/" Makefile
 </userinput></screen>
@@ -41,4 +44,10 @@
           variable and inserts the flag to force <command>gcc</command> to
           create 32-bit code when compiling yaboot.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><parameter>"s/-Werror//"</parameter></term>
+        <listitem>
+          <para>This deletes the -Werror flag from the Makefile.</para>
         </listitem>
       </varlistentry>
Index: BOOK/introduction/ppc/changelog.xml
===================================================================
--- BOOK/introduction/ppc/changelog.xml	(revision 79e7622886e3c452d04607e1d1b08eb7e1d2bad7)
+++ BOOK/introduction/ppc/changelog.xml	(revision a5f7c53ee3c0559bd3d09bf3ae4ae85e7dd5eec0)
@@ -33,4 +33,12 @@
 
 -->
+    <listitem>
+      <para>January 20, 2012</para>
+      <itemizedlist>
+        <listitem>
+          <para>[Jonathan] - Updated Yaboot from 1.3.14 to 1.3.17 thanks to Code Monkey.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
 
     <listitem>
Index: BOOK/introduction/ppc64/changelog.xml
===================================================================
--- BOOK/introduction/ppc64/changelog.xml	(revision 79e7622886e3c452d04607e1d1b08eb7e1d2bad7)
+++ BOOK/introduction/ppc64/changelog.xml	(revision a5f7c53ee3c0559bd3d09bf3ae4ae85e7dd5eec0)
@@ -33,4 +33,12 @@
 
 -->
+    <listitem>
+      <para>January 20, 2012</para>
+      <itemizedlist>
+        <listitem>
+          <para>[Jonathan] - Updated Yaboot from 1.3.14 to 1.3.17 thanks to Code Monkey.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
 
     <listitem>
Index: BOOK/packages.ent
===================================================================
--- BOOK/packages.ent	(revision 79e7622886e3c452d04607e1d1b08eb7e1d2bad7)
+++ BOOK/packages.ent	(revision a5f7c53ee3c0559bd3d09bf3ae4ae85e7dd5eec0)
@@ -461,8 +461,8 @@
 <!ENTITY xz-home "http://tukaani.org/xz/">
 
-<!ENTITY yaboot-version "1.3.14">
-<!ENTITY yaboot-size "213 KB">
+<!ENTITY yaboot-version "1.3.17">
+<!ENTITY yaboot-size "219 KB">
 <!ENTITY yaboot-url "http://yaboot.ozlabs.org/releases/yaboot-&yaboot-version;.tar.gz">
-<!ENTITY yaboot-md5 "9b1246c474eeb37f61081ad762563b35">
+<!ENTITY yaboot-md5 "f599f52d1887a86fd798252d2946f635">
 <!ENTITY yaboot-home "http://yaboot.ozlabs.org">
 
Index: tches/yaboot-1.3.14-ofpath_path_prefix-1.patch
===================================================================
--- patches/yaboot-1.3.14-ofpath_path_prefix-1.patch	(revision 79e7622886e3c452d04607e1d1b08eb7e1d2bad7)
+++ 	(revision )
@@ -1,19 +1,0 @@
-Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
-Date: 2006-05-16
-Initial Package Version: 1.3.13
-Upstream Status: Not submitted, CLFS-specific
-Origin: copied from the other scripts in ybin directory
-Description: Allows ofpath to use PATH_PREFIX like the other scripts.
-
---- yaboot-1.3.13/ybin/ofpath.orig	2006-05-16 22:32:26.000000000 +0100
-+++ yaboot-1.3.13/ybin/ofpath	2006-05-16 22:33:13.000000000 +0100
-@@ -26,6 +26,9 @@
- ###############################################################################
- 
- PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
-+if [ -n "$PATH_PREFIX" ] ; then
-+    PATH="${PATH}:${PATH_PREFIX}/sbin:${PATH_PREFIX}/bin:${PATH_PREFIX}/usr/sbin:${PATH_PREFIX}/usr/bin:${PATH_PREFIX}/usr/local/sbin:${PATH_PREFIX}/usr/local/bin"
-+fi
- PRG="${0##*/}"
- VERSION=1.0.7
- DEBUG=0
Index: patches/yaboot-1.3.17-ofpath_path_prefix-1.patch
===================================================================
--- patches/yaboot-1.3.17-ofpath_path_prefix-1.patch	(revision a5f7c53ee3c0559bd3d09bf3ae4ae85e7dd5eec0)
+++ patches/yaboot-1.3.17-ofpath_path_prefix-1.patch	(revision a5f7c53ee3c0559bd3d09bf3ae4ae85e7dd5eec0)
@@ -0,0 +1,19 @@
+Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
+Date: 2006-05-16
+Initial Package Version: 1.3.13
+Upstream Status: Not submitted, CLFS-specific
+Origin: copied from the other scripts in ybin directory
+Description: Allows ofpath to use PATH_PREFIX like the other scripts.
+
+--- yaboot-1.3.13/ybin/ofpath.orig	2006-05-16 22:32:26.000000000 +0100
++++ yaboot-1.3.13/ybin/ofpath	2006-05-16 22:33:13.000000000 +0100
+@@ -26,6 +26,9 @@
+ ###############################################################################
+ 
+ PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
++if [ -n "$PATH_PREFIX" ] ; then
++    PATH="${PATH}:${PATH_PREFIX}/sbin:${PATH_PREFIX}/bin:${PATH_PREFIX}/usr/sbin:${PATH_PREFIX}/usr/bin:${PATH_PREFIX}/usr/local/sbin:${PATH_PREFIX}/usr/local/bin"
++fi
+ PRG="${0##*/}"
+ VERSION=1.0.7
+ DEBUG=0
