summaryrefslogtreecommitdiff
path: root/sys-power/pmtools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-11-13 13:10:00 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-11-13 13:10:00 +0000
commite9d044d4b9b71200a96adfa280848858c0f468c9 (patch)
tree1bd8ef816043a8cd340f1d774e79553a1a7d31d8 /sys-power/pmtools
parentfc2f1018fc323ef2c6572734a9b130427cba76a6 (diff)
gentoo resync : 13.11.2021
Diffstat (limited to 'sys-power/pmtools')
-rw-r--r--sys-power/pmtools/Manifest4
-rw-r--r--sys-power/pmtools/files/pmtools-20071116-64bit.patch4
-rw-r--r--sys-power/pmtools/pmtools-20110323-r1.ebuild25
3 files changed, 18 insertions, 15 deletions
diff --git a/sys-power/pmtools/Manifest b/sys-power/pmtools/Manifest
index 4cce8be20732..afabe2be2630 100644
--- a/sys-power/pmtools/Manifest
+++ b/sys-power/pmtools/Manifest
@@ -1,7 +1,7 @@
-AUX pmtools-20071116-64bit.patch 674 BLAKE2B 41fb52e70b32dfa35fa0e449e4d508b74fbb8cf5d76f80172e1bead3023ab55eef891741d1637ee12b22a20c37dde55d4558ce36716afccc8be446c30838eb07 SHA512 6683f2e1c06275af9ac789a22005662ae3a9e84f5333ebd6fcc7a524d9298b2e87e4b259d0e2c2edb236821b5221180ffd2de3128fa98e4ef8dd668b7f305290
+AUX pmtools-20071116-64bit.patch 673 BLAKE2B 97a4b621f3da20cbac3255fc7e0d34e0634745ee786b13d088ec90b650c6e0e45a680c5d0cf38418e9b9a306bec276c4cb4f4a5761a3966b778604ee9b7ec824 SHA512 e8a1d485a902bc38bf3586c9f0c3a7b2acf853e1d9e50db98847c5dbe87e64bdb5ec1e90076a6569c82a92fd47b4e979df73f47e9e16e6f54cf3f7be6e986e4d
AUX pmtools-20100123-acpixtract-pmtools.patch 1822 BLAKE2B 6d7f7de1f2807ae5a2309aac553ee1e8ee818c866325fcc06ebdb233fcf98ab8d3c800da8380d6ed39ab020be4825cef486b54812574bb2b2487243d0ed1eb6c SHA512 82d86c85ab481c1aca191c67e825c0a0bd3467b7ef9b92dadbb3fa58e1cc131b10f6e88431c83ca7289c96a304c8a1d65f798280a9fe3300f1b1f998baa7b2ee
AUX pmtools-20100123-madt.patch 1191 BLAKE2B 46d74cafb71bea3a9c7391b3636da8d9dabda9f24fcf20ff0e9469e72cbdf44477a71a42b780f9d5ba442400381add000fce0fec588f37a62b72dce93475c546 SHA512 3984c4a26248a2b152009ab3703e3fd894abd8a12716aaa7f4913b8a8d922c2a60e7e987e401a0c93c56398b63c36013bcbf7b9c51d1c119f6aa7e67e2657594
AUX pmtools-20101124-cflags-ldflags.patch 1743 BLAKE2B 65216ce6a9a347c2bc85a4ea8b891ede00d5dd6564541188cb4641747525fff801b5d20a5e2d21c1a37250ffb61f85db11e3beff07cc1bfb1107264a60f650a2 SHA512 63342f0f1f630eeb74dbe45eddd92b4be4794b34d93f691442bb6a761798d25967d93c73389ef0abace8a285efb91677493996948a34e981959782f493963dc0
DIST pmtools-20110323.tar.gz 62002 BLAKE2B f1de2e266d72c8a69a61df0fc57bc0b27e9a4fc89f840e893b8fbb1bc93ec54dc5f502a1066d17d082341c99b829189911d558261409455fd1db368924fbea59 SHA512 81108c011b45c58c02013a3653c2d00bc2a9a9d80bf85438a193a4fed04a3fd2890d9cd4d64ab455e3e9c1613d35a6be59698395d9a27ca0a858e3935439bafd
-EBUILD pmtools-20110323-r1.ebuild 1294 BLAKE2B 717dfb10f640246e051f7b6a4958eb2f56682bc7d6ba145ccb1048a662ce616cdcc21da1592707e2bbf718c21669de10119eac5c40accb6ee1dcdfa8ada7e2f6 SHA512 02f1eebb4c077a79fc82e34de0e167cbf8844bbd7dc7467db86ec8d4329ec58aef27e1610e9141848da3e6dabe7f61d50de5bf87e3b0d5dff61690a8cefa047d
+EBUILD pmtools-20110323-r1.ebuild 1269 BLAKE2B c5323017ba6a86d7376f803bfda1906bec90bae77ca43bbb5c38c7c941508b176509debdbb6244e45cff50e243045e474c7779473eae80fd1dcf8b91533f5a75 SHA512 af44d40b15920349811e01070d1d2c55a16f409045714991318d1b67c97dd971bd172e1c035dd2c437ca02cfe567ce3c4c71aa1c562fe3c590792fb9cc2df4dd
MISC metadata.xml 644 BLAKE2B 202f9166e3a61a60ddc736c10bb6c6308d95a825e6de730d9acc0bad1a09baf5c3aa96d14f7ed3a0290320b1c2dc216da470ed4dbbdba99c81f600bf94ea424d SHA512 4e4e72ccbd17f9b9ec9ebd3c5eed75198aace3ab5a377716f57dc5c80681e2a46c977f312fbf09ba96b71079e86100f53c2d1a4c48fd87f9ff2ddd7a9ce13ed3
diff --git a/sys-power/pmtools/files/pmtools-20071116-64bit.patch b/sys-power/pmtools/files/pmtools-20071116-64bit.patch
index 756ac8412abe..9883f8b2cb7d 100644
--- a/sys-power/pmtools/files/pmtools-20071116-64bit.patch
+++ b/sys-power/pmtools/files/pmtools-20071116-64bit.patch
@@ -1,5 +1,5 @@
---- madt/madt.c.orig
-+++ madt/madt.c
+--- a/madt/madt.c
++++ b/madt/madt.c
@@ -46,7 +46,7 @@
{
size_t retval;
diff --git a/sys-power/pmtools/pmtools-20110323-r1.ebuild b/sys-power/pmtools/pmtools-20110323-r1.ebuild
index 250b3393cd7b..4edcb8cf77bb 100644
--- a/sys-power/pmtools/pmtools-20110323-r1.ebuild
+++ b/sys-power/pmtools/pmtools-20110323-r1.ebuild
@@ -1,33 +1,36 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=8
-inherit epatch flag-o-matic toolchain-funcs
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="Collection of tools for ACPI and power management"
HOMEPAGE="https://github.com/anyc/pmtools/"
SRC_URI="https://github.com/anyc/pmtools/tarball/${PV} -> ${P}.tar.gz"
-LICENSE="GPL-2"
+S="${WORKDIR}/pmtools"
+LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="doc"
-DEPEND=""
-RDEPEND="${DEPEND}
+
+RDEPEND="
dev-lang/perl
>=sys-power/iasl-20090521"
-S="${WORKDIR}/pmtools"
+PATCHES=(
+ "${FILESDIR}"/${PN}-20100123-acpixtract-pmtools.patch
+ "${FILESDIR}"/${PN}-20100123-madt.patch
+ "${FILESDIR}"/${PN}-20071116-64bit.patch
+ "${FILESDIR}"/${PN}-20101124-cflags-ldflags.patch
+)
src_prepare() {
- epatch "${FILESDIR}"/${PN}-20100123-acpixtract-pmtools.patch
- epatch "${FILESDIR}"/${PN}-20100123-madt.patch
- epatch "${FILESDIR}"/${PN}-20071116-64bit.patch
- epatch "${FILESDIR}"/${PN}-20101124-cflags-ldflags.patch
+ default
# update version info
- sed -i -e "s|20060324|20110323|" acpixtract/acpixtract.c
+ sed -i -e "s|20060324|20110323|" acpixtract/acpixtract.c || die
strip-unsupported-flags
}