diff --git a/yaboot/yaboot-buf-expand.patch b/yaboot/yaboot-buf-expand.patch new file mode 100644 index 0000000..0400ce3 --- /dev/null +++ b/yaboot/yaboot-buf-expand.patch @@ -0,0 +1,11 @@ +--- yaboot-1.3.14/second/fs_xfs.c 2007-08-17 10:29:26.000000000 -0400 ++++ yaboot-1.3.14-fixes/second/fs_xfs.c 2009-03-31 06:03:51.000000000 -0400 +@@ -53,7 +53,7 @@ + }; + + struct boot_file_t *xfs_file; +-static char FSYS_BUF[32768]; ++static char FSYS_BUF[32768*2]; + uint64_t partition_offset; + int errnum; + diff --git a/yaboot/yaboot-xcat.spec b/yaboot/yaboot-xcat.spec index 1423ba9..e5b1856 100644 --- a/yaboot/yaboot-xcat.spec +++ b/yaboot/yaboot-xcat.spec @@ -9,7 +9,8 @@ Group: System/Administration License: GPL2 URL: http://yaboot.ozlabs.org/ Source: http://yaboot.ozlabs.org/releases/yaboot-1.3.14.tar.gz -Patch: yaboot-fixes.patch +Patch0: yaboot-fixes.patch +Patch1: yaboot-buf-expand.patch BuildRoot: %{_tmppath}/%{pkg}-buildroot Prefix: %{_prefix} BuildArch: noarch @@ -22,7 +23,8 @@ ppc nodes. %prep %{__rm} -rf %{buildroot} %setup -q -n yaboot-%{ver} -%patch -p1 +%patch0 -p1 +%patch1 -p1 %build