summaryrefslogtreecommitdiff
path: root/sys-power/athcool
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-01 21:06:00 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-01 21:06:00 +0000
commit129160ec854dca4c3fedb5bcfbcb56930371da0f (patch)
tree53bf797418ac5e9b99c41ca0382c87b82421e5de /sys-power/athcool
parent441d1370330332b7d78f238d2f5e13f7aed5e4e0 (diff)
gentoo new year resync : 01.01.2021
Diffstat (limited to 'sys-power/athcool')
-rw-r--r--sys-power/athcool/Manifest5
-rw-r--r--sys-power/athcool/athcool-0.3.12.ebuild11
-rw-r--r--sys-power/athcool/files/athcool-0.3.12-build.patch (renamed from sys-power/athcool/files/athcool-0.3.11-build.patch)0
-rw-r--r--sys-power/athcool/files/athcool-0.3.12-fno-common.patch13
4 files changed, 22 insertions, 7 deletions
diff --git a/sys-power/athcool/Manifest b/sys-power/athcool/Manifest
index 0129e515b44a..0f5fa1631f8a 100644
--- a/sys-power/athcool/Manifest
+++ b/sys-power/athcool/Manifest
@@ -1,5 +1,6 @@
AUX athcool 180 BLAKE2B 8cdc96f73da9922eceb650a60074e0cdb9b08d63cd9f845d9ec2478e0c18bfd2f567e5fd8742543f0059668dce0e90c2a78975fc1f1f582b2667c07770999e10 SHA512 e26d2cd77371b8cf2a1ff888d2d1fddc7718159525556cc35f5c752d13677a092ee9fc46e71b08814dd923d26925b27bcbfac53c537502949966e549bfd89e35
-AUX athcool-0.3.11-build.patch 857 BLAKE2B 7e2dfc463d79221062a2c30acc37ac0eda850edbdbff5f11509260604a0e360d6dc6c288ce1c27cb510ddc2c4342f4cf3d7980cda767c2d7ddb263c9045b2b88 SHA512 aa7e158511194a21299556f9d19a5078d636a5cb7bd92852ccac72709819eb97bfcf610cba9a07caeffab6496435cd457680787f561c1054d9987c3ecd6f1600
+AUX athcool-0.3.12-build.patch 857 BLAKE2B 7e2dfc463d79221062a2c30acc37ac0eda850edbdbff5f11509260604a0e360d6dc6c288ce1c27cb510ddc2c4342f4cf3d7980cda767c2d7ddb263c9045b2b88 SHA512 aa7e158511194a21299556f9d19a5078d636a5cb7bd92852ccac72709819eb97bfcf610cba9a07caeffab6496435cd457680787f561c1054d9987c3ecd6f1600
+AUX athcool-0.3.12-fno-common.patch 279 BLAKE2B 925c07baecb9a197529ddb6baa472a9363faecafcfbd100f54968509c7072256749713867ddd60f64603bb7a12c1a3d5dfef28112a1eec2cfdff2c706d297f90 SHA512 f3986f4dafaca418fb656502d140a52445414543ab3b2102d74c9cce3dc9570bb124e2ec481d70e86408afbbfd023f2f716b40efc555f081c9db31084236c602
DIST athcool-0.3.12.tar.gz 18384 BLAKE2B 3b1492a20a3797c3701518704e135feac64e7022f5aceca303b9391fa59331501e52547076823d32d6ce89cf0c4e0bc8c5bd5ef0b158d5518b50ebc245a3b231 SHA512 f6a8ee2edaf1c1e1c222d7b8a28a86478c23fb946ded1af6c1ce83c35e8f056e3a54e047d0ff5c644ff2fc892cf9e19c08be0dd17ca6195cc6d612f80367b223
-EBUILD athcool-0.3.12.ebuild 1047 BLAKE2B 11b9447133f5c7112677e1ac4f137838a1e66de07e8a20c6b3e0f43f1cb81dcb5d389f220a52a41a7d2456fe4909f3ffa9e4a10ca46a4c66acb048ff503e424a SHA512 d614eb925cc52def2c714d2af773a397904a7741c6f895bb51e798188211ff350db605edff8f9f80b9cc12ac59e6adb33020c6c2a40bdb5cb74389b16b1b6d32
+EBUILD athcool-0.3.12.ebuild 1055 BLAKE2B 7ff7424f46798e7648824fd95df126648cfaf82993c41df79a348554802763587bdd8891276be35d1ac4da6ff9c1cb4b9960969009576117fde4c0374d9a4eb6 SHA512 430f4ea9ac3d38f92564fb6aa401db4deb54ca6768b35ac7a5f1326d6a31cccb248c029d581b7b6a02dc94973efa7088e1120a4f88d41f27449a17bf16dd22a0
MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555
diff --git a/sys-power/athcool/athcool-0.3.12.ebuild b/sys-power/athcool/athcool-0.3.12.ebuild
index bd826f25b0f5..f1516378cdd8 100644
--- a/sys-power/athcool/athcool-0.3.12.ebuild
+++ b/sys-power/athcool/athcool-0.3.12.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit toolchain-funcs
@@ -12,12 +12,13 @@ SRC_URI="http://members.jcom.home.ne.jp/jacobi/linux/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* x86"
-IUSE=""
DEPEND="sys-apps/pciutils"
-RDEPEND=""
-PATCHES=( "${FILESDIR}"/${PN}-0.3.11-build.patch )
+PATCHES=(
+ "${FILESDIR}"/${P}-build.patch
+ "${FILESDIR}"/${P}-fno-common.patch
+)
src_configure() {
tc-export CC
diff --git a/sys-power/athcool/files/athcool-0.3.11-build.patch b/sys-power/athcool/files/athcool-0.3.12-build.patch
index bcf3a3054142..bcf3a3054142 100644
--- a/sys-power/athcool/files/athcool-0.3.11-build.patch
+++ b/sys-power/athcool/files/athcool-0.3.12-build.patch
diff --git a/sys-power/athcool/files/athcool-0.3.12-fno-common.patch b/sys-power/athcool/files/athcool-0.3.12-fno-common.patch
new file mode 100644
index 000000000000..7fbbea95e9e8
--- /dev/null
+++ b/sys-power/athcool/files/athcool-0.3.12-fno-common.patch
@@ -0,0 +1,13 @@
+--- a/scanpci.c
++++ b/scanpci.c
+@@ -11,8 +11,8 @@
+
+ #define die printf
+
+-struct pci_filter filter;
+-struct pci_access *pacc;
++extern struct pci_filter filter;
++extern struct pci_access *pacc;
+ static int show_hex = 0;
+
+ static struct device *scan_device( struct pci_dev *p )