From: "Aric Belsito" <lluixhi@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/musl:master commit in: sys-boot/efibootmgr/files/, sys-boot/efibootmgr/
Date: Sun, 19 Mar 2017 00:43:47 +0000 (UTC) [thread overview]
Message-ID: <1489882732.e1c5a2ffef4ff63b0ad20eeda9f0300603753fae.lluixhi@gentoo> (raw)
commit: e1c5a2ffef4ff63b0ad20eeda9f0300603753fae
Author: Rasmus Thomsen <rasmus.thomsen <AT> live <DOT> de>
AuthorDate: Sun Mar 19 00:11:14 2017 +0000
Commit: Aric Belsito <lluixhi <AT> gmail <DOT> com>
CommitDate: Sun Mar 19 00:18:52 2017 +0000
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=e1c5a2ff
Remove -fshort-wchar from make.default
sys-boot/efibootmgr/Manifest | 4 ++++
sys-boot/efibootmgr/efibootmgr-14.ebuild | 29 +++++++++++++++++++++++++++++
sys-boot/efibootmgr/files/musl.patch | 13 +++++++++++++
sys-boot/efibootmgr/metadata.xml | 17 +++++++++++++++++
4 files changed, 63 insertions(+)
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>
next reply other threads:[~2017-03-19 0:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-19 0:43 Aric Belsito [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-09-24 16:46 [gentoo-commits] proj/musl:master commit in: sys-boot/efibootmgr/files/, sys-boot/efibootmgr/ Anthony G. Basile
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1489882732.e1c5a2ffef4ff63b0ad20eeda9f0300603753fae.lluixhi@gentoo \
--to=lluixhi@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox