summaryrefslogtreecommitdiff
path: root/extra/gnu-efi-libs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gnu-efi-libs/PKGBUILD')
-rw-r--r--extra/gnu-efi-libs/PKGBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/extra/gnu-efi-libs/PKGBUILD b/extra/gnu-efi-libs/PKGBUILD
index 45a40216f..6432177d1 100644
--- a/extra/gnu-efi-libs/PKGBUILD
+++ b/extra/gnu-efi-libs/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 170405 2012-11-07 10:31:11Z tpowa $
+# $Id: PKGBUILD 170836 2012-11-12 13:59:20Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Maintainer : Keshav P R <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
@@ -6,7 +6,7 @@
_pkgver="3.0"
pkgname="gnu-efi-libs"
pkgver="${_pkgver}s"
-pkgrel="1"
+pkgrel="2"
pkgdesc="Library for building x86_64 and i386 UEFI Applications using GNU toolchain"
url="http://sourceforge.net/projects/gnu-efi/"
license=('GPL')
@@ -19,7 +19,9 @@ conflicts=('gnu-efi')
provides=('gnu-efi')
replaces=('gnu-efi')
options=('!strip' '!makeflags')
-source=("http://download.sourceforge.net/gnu-efi/gnu-efi_${pkgver}.orig.tar.gz" gnu-efi-libs-x86_64-call-fix.patch)
+source=("http://download.sourceforge.net/gnu-efi/gnu-efi_${pkgver}.orig.tar.gz"
+ gnu-efi-libs-x86_64-call-fix.patch
+ disable-ms_abi-flag.patch)
_build_gnu-efi-libs-x86_64() {
cp -r "${srcdir}/gnu-efi-${_pkgver}" "${srcdir}/gnu-efi-${_pkgver}-x86_64"
@@ -38,7 +40,9 @@ _build_gnu-efi-libs-i386() {
build() {
cd ${srcdir}/gnu-efi-${_pkgver}
# fix http://sourceforge.net/tracker/?func=detail&aid=3576537&group_id=163609&atid=828423
- patch -Np1 -i ../gnu-efi-libs-x86_64-call-fix.patch
+ patch -Np1 -i ../gnu-efi-libs-x86_64-call-fix.patch
+ # fix broken ms_abi flags, causing weird issues with bootloaders
+ patch -Np1 -i ../disable-ms_abi-flag.patch
## Fix Makefiles to enable compile for both UEFI arch
sed 's|INSTALLROOT=/usr/local|INSTALLROOT ?= /usr/lib|g' -i Make.defaults
sed 's|LIBDIR=lib|LIBDIR ?= lib|g' -i Make.defaults
@@ -75,7 +79,6 @@ package() {
_package_gnu-efi-libs-i386
fi
}
-md5sums=('c5081850414bec34d3e254e8e970811b'
- '4b5428c51af1981d3eb158d924d6bf85')
md5sums=('11f63d52071f7382f56c9e81d0aece91'
- '4b5428c51af1981d3eb158d924d6bf85')
+ '4b5428c51af1981d3eb158d924d6bf85'
+ '6295a103438cace5c40606b083c739fd')