Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=208b6ea1073d6e0d17ab32ee237dc5a2c6493aa7
commit 208b6ea1073d6e0d17ab32ee237dc5a2c6493aa7 Author: James Buren <[email protected]> Date: Thu Nov 10 15:28:22 2011 -0600 efilinux-0.8-1-x86_64 * new package diff --git a/source/base-extra/efilinux/FrugalBuild b/source/base-extra/efilinux/FrugalBuild new file mode 100644 index 0000000..ec54e4c --- /dev/null +++ b/source/base-extra/efilinux/FrugalBuild @@ -0,0 +1,26 @@ +# Compiling Time: 0.01 SBU +# Maintainer: James Buren <[email protected]> + +pkgname=efilinux +pkgver=0.8 +pkgrel=1 +pkgdesc="A simple Linux bootloader for UEFI." +url="http://kernel.org" +up2date="$pkgver" +depends=() +makedepends=('gnu-efi') +groups=('base-extra') +archs=('i686' 'x86_64') +source=(ftp://ftp.sunet.se/pub/Linux/kernel.org/linux/boot/efilinux/$pkgname-$pkgver.tar.bz2 \ + $pkgname-0.8-stuff.patch) +sha1sums=('1fe8a2b44efacd7df93321006d6bd42866893b9e' \ + '76676a2803117525cb614134152c0a525e6b8076') + +build() +{ + Fsed "gnuefi/" "" Makefile + Fsed "-Werror" "-Werror $CFLAGS" Makefile + Fpatchall + Fmake + Ffilerel /boot/efilinux.efi +} diff --git a/source/base-extra/efilinux/efilinux-0.8-stuff.patch b/source/base-extra/efilinux/efilinux-0.8-stuff.patch new file mode 100644 index 0000000..f76d019 --- /dev/null +++ b/source/base-extra/efilinux/efilinux-0.8-stuff.patch @@ -0,0 +1,12 @@ +diff -aur a/fs/fs.c b/fs/fs.c +--- a/fs/fs.c 2011-11-10 15:25:45.632753103 -0600 ++++ b/fs/fs.c 2011-11-10 15:26:02.455744027 -0600 +@@ -66,7 +66,7 @@ + if (!f) + return EFI_OUT_OF_RESOURCES; + +- for (i = 0; i < nr_fs_devices; i++) { ++ for (dev_len = i = 0; i < nr_fs_devices; i++) { + EFI_DEVICE_PATH *path; + CHAR16 *dev; + _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
