Commit 36574cb4 authored by Leo's avatar Leo Committed by Natanael Copa

main/gnu-efi: upgrade to 3.0.9

parent 0389a591
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnu-efi
pkgver=3.0.4
pkgrel=1
pkgver=3.0.9
pkgrel=0
pkgdesc="Development Libraries and headers for EFI"
url="ftp://ftp.hpl.hp.com/pub/linux-ia64"
arch="aarch64 x86 x86_64"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
license="BSD-3-Clause"
subpackages="$pkgname-dev"
depends_dev="$pkgname"
source="https://downloads.sourceforge.net/project/gnu-efi/gnu-efi-$pkgver.tar.bz2
no-werror.patch
"
source="https://downloads.sourceforge.net/project/gnu-efi/gnu-efi-$pkgver.tar.bz2"
builddir="$srcdir"/gnu-efi-${pkgver%[a-z]}
build() {
cd "$builddir"
make -j1 || return 1
make -j1
}
package() {
cd "$builddir"
make PREFIX=/usr INSTALLROOT="$pkgdir" install || return 1
make PREFIX=/usr INSTALLROOT="$pkgdir" install
}
md5sums="612e0f327f31c4b8468ef55f4eeb9649 gnu-efi-3.0.4.tar.bz2
ebe85f7d7e98e5b9ae508af624fa65fe no-werror.patch"
sha256sums="51a00428c3ccb96db24089ed8394843c4f83cf8f42c6a4dfddb4b7c23f2bf8af gnu-efi-3.0.4.tar.bz2
1889f47ee38bbe2f1a7037c1eb484e5e14a8e8564892b1211721d689f4aad62c no-werror.patch"
sha512sums="f4cf340223835883448c95e893501e9921f6bd869a475a0ba3ba0b8eaada184ebcf617a93c27875684fb0f94bfc6ea2a3b8388100cf67c751122fe86f6820cd0 gnu-efi-3.0.4.tar.bz2
52782bec03ea0c1b86150aca4fde726960b9b848996f422d53c78c8dac36ff365469e2c65ea03b5e540fe4bce0a2c747469aa1e81c8985f3315cb3545a786e24 no-werror.patch"
sha512sums="1a775476fcbe354e57c9db258b1c6ad4346b84d1794178ab5d5195b3ffba250066ca4c42a553d5b2866fa1b4e03019d61df0197f269188c73297042990adf316 gnu-efi-3.0.9.tar.bz2"
--- ./Make.defaults.orig
+++ ./Make.defaults
@@ -140,11 +140,11 @@
-I$(TOPDIR)/inc/protocol
ifeq (FreeBSD, $(findstring FreeBSD, $(OS)))
-CFLAGS += $(ARCH3264) -g -O2 -fpic -Wall -Wextra -Werror \
+CFLAGS += $(ARCH3264) -g -O2 -fpic -Wall -Wextra \
-fshort-wchar -fno-strict-aliasing \
-ffreestanding -fno-stack-protector
else
-CFLAGS += $(ARCH3264) -g -O2 -fpic -Wall -Wextra -Werror \
+CFLAGS += $(ARCH3264) -g -O2 -fpic -Wall -Wextra \
-fshort-wchar -fno-strict-aliasing \
-fno-merge-constants -ffreestanding -fno-stack-protector \
-fno-stack-check
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment