* Apply all patches from Gentoo.

svn path=/nixpkgs/trunk/; revision=10175
This commit is contained in:
Eelco Dolstra 2008-01-16 13:26:57 +00:00
parent cc1db9ac88
commit 42e974a9fe

View File

@ -12,21 +12,23 @@ stdenv.mkDerivation {
md5 = "cd3f3eb54446be6003156158d51f4884"; md5 = "cd3f3eb54446be6003156158d51f4884";
}; };
patches = [ # Lots of patches from Gentoo, in particular splash screen support
# Patch to add primitive splash screen support (not the fancy SUSE gfxmenu stuff). # (not the fancy SUSE gfxmenu stuff though). Also a fix for boot
# With this you can set splashimage=foo.xpm.gz in menu.lst to get # failures on systems with more than 2 GiB RAM.
# a 640x480, 14-colour background. gentooPatches = fetchurl {
(fetchurl { url = mirror://gentoo/distfiles/grub-0.97-patches-1.4.tar.bz2;
url = "http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/*checkout*/system/grub-gfx/grub-0.97-graphics.patch?rev=HEAD&cvsroot=AUR&only_with_tag=CURRENT&content-type=text/plain"; sha256 = "1nki5q1b61ahxcmnw6mq7b8ghcysri4lj7q6dx8iqixrvrpxj399";
sha256 = "0m6min9cbj71kvp0kxkxdq8dx2dwm3dj0rd5sjz5xdl13ihaj5hy"; };
})
];
# Autoconf/automake required for the splashimage patch. # Autoconf/automake required for the splashimage patch.
buildInputs = [autoconf automake]; buildInputs = [autoconf automake];
preConfigure = '' preConfigure = ''
unpackFile $gentooPatches
for i in patch/*.patch; do
echo "applying patch $i"
patch -p1 < $i || patch -p0 < $i
done
autoreconf autoreconf
''; '';
} }