public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/musl:master commit in: sys-apps/iucode_tool/, sys-apps/iucode_tool/files/
@ 2018-01-16  6:43 Aric Belsito
  0 siblings, 0 replies; 2+ messages in thread
From: Aric Belsito @ 2018-01-16  6:43 UTC (permalink / raw
  To: gentoo-commits

commit:     7d4a4857616c95c9cc61180053770e3c6a5531c3
Author:     Aric Belsito <lluixhi <AT> gmail <DOT> com>
AuthorDate: Tue Jan 16 06:42:43 2018 +0000
Commit:     Aric Belsito <lluixhi <AT> gmail <DOT> com>
CommitDate: Tue Jan 16 06:42:43 2018 +0000
URL:        https://gitweb.gentoo.org/proj/musl.git/commit/?id=7d4a4857

sys-apps/iucode_tool: new package

 sys-apps/iucode_tool/Manifest                           |  1 +
 sys-apps/iucode_tool/files/iucode-tool-2.2-limits.patch | 11 +++++++++++
 sys-apps/iucode_tool/iucode_tool-2.2.ebuild             | 17 +++++++++++++++++
 sys-apps/iucode_tool/metadata.xml                       |  8 ++++++++
 4 files changed, 37 insertions(+)

diff --git a/sys-apps/iucode_tool/Manifest b/sys-apps/iucode_tool/Manifest
new file mode 100644
index 0000000..26c4488
--- /dev/null
+++ b/sys-apps/iucode_tool/Manifest
@@ -0,0 +1 @@
+DIST iucode-tool_2.2.tar.xz 149896 BLAKE2B c8289541b5a1550e4eaca2dc347cfd78f04cc723c9e7ca995feb1bd8ef8130db1c595613f66ffa22487fefe20a45e51268d989cc24694e6cc1a07012a564ac68 SHA512 edb5969c1e00480e537cddc49d7cbb190ce70e6f0c44d9c40a481038bfa048fade1b454a7f4eef3048cc204ee303758fe76222f9c9fb9b407ed463ee0ccdd429

diff --git a/sys-apps/iucode_tool/files/iucode-tool-2.2-limits.patch b/sys-apps/iucode_tool/files/iucode-tool-2.2-limits.patch
new file mode 100644
index 0000000..d7068a4
--- /dev/null
+++ b/sys-apps/iucode_tool/files/iucode-tool-2.2-limits.patch
@@ -0,0 +1,11 @@
+diff -Naur iucode-tool-2.2.orig/iucode_tool.c iucode-tool-2.2/iucode_tool.c
+--- iucode-tool-2.2.orig/iucode_tool.c	2018-01-15 22:40:29.694987129 -0800
++++ iucode-tool-2.2/iucode_tool.c	2018-01-15 22:40:40.864986929 -0800
+@@ -16,6 +16,7 @@
+ 
+ #include "iucode_tool_config.h"
+ 
++#include <limits.h>
+ #include <stdint.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>

diff --git a/sys-apps/iucode_tool/iucode_tool-2.2.ebuild b/sys-apps/iucode_tool/iucode_tool-2.2.ebuild
new file mode 100644
index 0000000..f40fc0c
--- /dev/null
+++ b/sys-apps/iucode_tool/iucode_tool-2.2.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+DESCRIPTION="tool to manipulate Intel X86 and X86-64 processor microcode update collections"
+HOMEPAGE="https://gitlab.com/iucode-tool/"
+SRC_URI="https://gitlab.com/iucode-tool/releases/raw/master/${PN/_/-}_${PV}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+
+PATCHES=( "${FILESDIR}"/${P}-limits.patch )
+
+S="${WORKDIR}/${PN/_/-}-${PV}"

diff --git a/sys-apps/iucode_tool/metadata.xml b/sys-apps/iucode_tool/metadata.xml
new file mode 100644
index 0000000..56c1244
--- /dev/null
+++ b/sys-apps/iucode_tool/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+	<email>base-system@gentoo.org</email>
+	<name>Gentoo Base System</name>
+</maintainer>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/musl:master commit in: sys-apps/iucode_tool/, sys-apps/iucode_tool/files/
@ 2018-01-24 21:19 Aric Belsito
  0 siblings, 0 replies; 2+ messages in thread
From: Aric Belsito @ 2018-01-24 21:19 UTC (permalink / raw
  To: gentoo-commits

commit:     eec2d6772909cbb8485691b1f94cc7218ebc9946
Author:     Patrick Steinhardt <ps <AT> pks <DOT> im>
AuthorDate: Tue Jan 23 11:23:07 2018 +0000
Commit:     Aric Belsito <lluixhi <AT> gmail <DOT> com>
CommitDate: Tue Jan 23 11:27:44 2018 +0000
URL:        https://gitweb.gentoo.org/proj/musl.git/commit/?id=eec2d677

sys-apps/iucode_tool: link against argp-standalone on musl systems

iucode_tool makes use of the argp header, which is not part of musl,
causing the build to fail on such systems. To fix that, add a dependency
on argp-standalone on musl-based systems and explicitly link against the
argp library.

 sys-apps/iucode_tool/files/iucode_tool-2.2-argp.patch | 13 +++++++++++++
 sys-apps/iucode_tool/iucode_tool-2.2.ebuild           | 14 +++++++++++++-
 2 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/sys-apps/iucode_tool/files/iucode_tool-2.2-argp.patch b/sys-apps/iucode_tool/files/iucode_tool-2.2-argp.patch
new file mode 100644
index 0000000..78acf0d
--- /dev/null
+++ b/sys-apps/iucode_tool/files/iucode_tool-2.2-argp.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile.am b/Makefile.am
+index 415a241..06e6872 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -2,6 +2,8 @@
+ ## Toplevel Makefile.am for iucode_tool
+ ##
+ 
++AM_LDFLAGS = -largp
++
+ sbin_PROGRAMS	 = iucode_tool
+ man_MANS	 = iucode_tool.8
+ 

diff --git a/sys-apps/iucode_tool/iucode_tool-2.2.ebuild b/sys-apps/iucode_tool/iucode_tool-2.2.ebuild
index f40fc0c..2e65da0 100644
--- a/sys-apps/iucode_tool/iucode_tool-2.2.ebuild
+++ b/sys-apps/iucode_tool/iucode_tool-2.2.ebuild
@@ -3,6 +3,8 @@
 
 EAPI="6"
 
+inherit autotools eutils
+
 DESCRIPTION="tool to manipulate Intel X86 and X86-64 processor microcode update collections"
 HOMEPAGE="https://gitlab.com/iucode-tool/"
 SRC_URI="https://gitlab.com/iucode-tool/releases/raw/master/${PN/_/-}_${PV}.tar.xz"
@@ -12,6 +14,16 @@ SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
 IUSE=""
 
-PATCHES=( "${FILESDIR}"/${P}-limits.patch )
+DEPEND="elibc_musl? ( sys-libs/argp-standalone )"
+RDEPEND=${DEPEND}
 
 S="${WORKDIR}/${PN/_/-}-${PV}"
+
+src_prepare() {
+	eapply "${FILESDIR}/${P}-limits.patch"
+	use elibc_musl && eapply "${FILESDIR}/${P}-argp.patch"
+
+	eapply_user
+
+	eautoreconf
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-24 21:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-24 21:19 [gentoo-commits] proj/musl:master commit in: sys-apps/iucode_tool/, sys-apps/iucode_tool/files/ Aric Belsito
  -- strict thread matches above, loose matches on Subject: below --
2018-01-16  6:43 Aric Belsito

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox