aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Thomsen <rasmus.thomsen@live.de>2017-03-19 01:11:14 +0100
committerRasmus Thomsen <rasmus.thomsen@live.de>2017-03-19 01:18:52 +0100
commite1c5a2ffef4ff63b0ad20eeda9f0300603753fae (patch)
tree314b3b6f2346375339e5425a20bf542cf22da8e9 /sys-boot/efibootmgr
parentsys-fs/xfsdump: fix patch (diff)
downloadmusl-e1c5a2ffef4ff63b0ad20eeda9f0300603753fae.tar.gz
musl-e1c5a2ffef4ff63b0ad20eeda9f0300603753fae.tar.bz2
musl-e1c5a2ffef4ff63b0ad20eeda9f0300603753fae.zip
Remove -fshort-wchar from make.default
Diffstat (limited to 'sys-boot/efibootmgr')
-rw-r--r--sys-boot/efibootmgr/Manifest4
-rw-r--r--sys-boot/efibootmgr/efibootmgr-14.ebuild29
-rw-r--r--sys-boot/efibootmgr/files/musl.patch13
-rw-r--r--sys-boot/efibootmgr/metadata.xml17
4 files changed, 63 insertions, 0 deletions
diff --git a/sys-boot/efibootmgr/Manifest b/sys-boot/efibootmgr/Manifest
new file mode 100644
index 0000000..b0e4bf1
--- /dev/null
+++ b/sys-boot/efibootmgr/Manifest
@@ -0,0 +1,4 @@
+AUX musl.patch 472 SHA256 4710704529f140c66b3ebcbfd9613c6471ea27f4eefaaff05427102ef1cabf58 SHA512 08e06251f62f4723b22a447019e7fe0012282876d80511fbebe459fa6adea3ebdfeb322c2e0243d4cdf7a98506ef094a4c0f0142da634a654496e820d697a889 WHIRLPOOL c977cf2c0a517e497ccd3f6eb572dc364d1cfb92d5c899d7fb808ca55fa6b3c30ce458ae5f0422d900ae9ac1c8b4406934b827dce79f5f93aa691e85a1d77b46
+DIST efibootmgr-14.tar.bz2 34972 SHA256 377ec16484414b80afd1b8a586153d7ef55ccf048638080101d49b7c77f37ad8 SHA512 97935f8752440ce236162e174ea3404e907ebddc5877d597a97813da76ad580689fc2e97044885fc860a12a473af7183242b6120e78e53243d35e569fb002baf WHIRLPOOL e5a6860130d9b12274cfe74a962a277989e9961cc8fb70372e8ac0831f79561e30fad0222154c957ed525cf930b912a1d731caff7ef5b2b0987c7cf8f28c4383
+EBUILD efibootmgr-14.ebuild 636 SHA256 4afa6529c6aadcb7cdf342b7ae29afdefe9ede3bc3a40ba8b16621b7147947ae SHA512 2c02ee35fe751757f2cfea135ea8db9076232b2261f95bffc2e1932343cb40933f34f09ae3c7f932a43edf4f7fcdadaec5d233c07c7eb425f8b0ca48bc097c2d WHIRLPOOL a47caa2e4f01c3c040b113cd29f3d44f73401e44ef4b44eda860ca53558c4f7d9b51aaa1f670d01f8be4cf147df69fca8914528b667fab503e40fb2ee73a4fee
+MISC metadata.xml 626 SHA256 44a2b529eab0c2cec715823ecc54948cb93fafb692ac97dd7c8b8bcb4f3170bd SHA512 d52646244bf9c0d10d8c5b986e110944905fc8f898c0330f65cd6c734e6d8cfabf72854cef362f411d3d63fed3f5e22207a7b94d1ea8076e566d8eff228bb33b WHIRLPOOL 56109722d4478b9980f2077a05b9f74f451646a7df62f5c32c9d6ed9de3ccf34c19f670b1c87e1f57573d2231caebdaae86fa3bc91901622d6aa098a8edeb957
diff --git a/sys-boot/efibootmgr/efibootmgr-14.ebuild b/sys-boot/efibootmgr/efibootmgr-14.ebuild
new file mode 100644
index 0000000..ae40316
--- /dev/null
+++ b/sys-boot/efibootmgr/efibootmgr-14.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="User-space application to modify the EFI boot manager"
+HOMEPAGE="https://github.com/rhinstaller/efibootmgr"
+SRC_URI="https://github.com/rhinstaller/efibootmgr/releases/download/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm64 ia64 x86"
+IUSE=""
+
+RDEPEND="sys-apps/pciutils
+ >=sys-libs/efivar-25:="
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ sed -i -e s/-Werror// Make.defaults || die
+ epatch ${FILESDIR}/musl.patch
+}
+
+src_configure() {
+ tc-export CC
+}
diff --git a/sys-boot/efibootmgr/files/musl.patch b/sys-boot/efibootmgr/files/musl.patch
new file mode 100644
index 0000000..b952763
--- /dev/null
+++ b/sys-boot/efibootmgr/files/musl.patch
@@ -0,0 +1,13 @@
+diff --git a/Make.defaults b/Make.defaults
+index c7b734a..7f2f657 100644
+--- a/Make.defaults
++++ b/Make.defaults
+@@ -26,7 +26,7 @@ clang_cflags =
+ gcc_cflags =
+ cflags = $(CFLAGS) $(SUBDIR_CFLAGS) \
+ -Wall -Wextra -Wsign-compare -Wstrict-aliasing \
+- -std=gnu11 -fshort-wchar -fPIC \
++ -std=gnu11 -fPIC \
+ -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"$(localedir)\" \
+ -DEFIBOOTMGR_VERSION="\"$(VERSION)\"" \
+ $(if $(findstring clang,$(CC)),$(clang_cflags),) \
diff --git a/sys-boot/efibootmgr/metadata.xml b/sys-boot/efibootmgr/metadata.xml
new file mode 100644
index 0000000..2202a4d
--- /dev/null
+++ b/sys-boot/efibootmgr/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>floppym@gentoo.org</email>
+ <name>Mike Gilbert</name>
+ </maintainer>
+ <longdescription>
+ This is efibootmgr, a Linux user-space application to modify the Intel
+ Extensible Firmware Interface (EFI) Boot Manager. This application
+ can create and destroy boot entries, change the boot order, change
+ the next running boot option, and more.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">rhinstaller/efibootmgr</remote-id>
+ </upstream>
+</pkgmetadata>