public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Christoph Junghans" <junghans@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/acpi_call/, sys-power/acpi_call/files/
Date: Thu,  6 Jul 2017 15:53:25 +0000 (UTC)	[thread overview]
Message-ID: <1499356394.efd2ddc8c87dc36f34aed8fa62ea06fe2dc44c5f.junghans@gentoo> (raw)

commit:     efd2ddc8c87dc36f34aed8fa62ea06fe2dc44c5f
Author:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  6 15:52:41 2017 +0000
Commit:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
CommitDate: Thu Jul  6 15:53:14 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd2ddc8

sys-power/acpi_call: add patch for linux-4.12 (bug #623740)

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 sys-power/acpi_call/acpi_call-1.1.0-r2.ebuild      | 37 ++++++++++++++++++++++
 .../files/acpi_call-1.1.0-linux-4.12.patch         | 10 ++++++
 sys-power/acpi_call/metadata.xml                   |  4 ---
 3 files changed, 47 insertions(+), 4 deletions(-)

diff --git a/sys-power/acpi_call/acpi_call-1.1.0-r2.ebuild b/sys-power/acpi_call/acpi_call-1.1.0-r2.ebuild
new file mode 100644
index 00000000000..0bbb196395e
--- /dev/null
+++ b/sys-power/acpi_call/acpi_call-1.1.0-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit linux-info linux-mod
+
+if [ "${PV}" = "9999" ]; then
+	inherit git-2
+	EGIT_REPO_URI="git://github.com/mkottman/acpi_call.git"
+	KEYWORDS=""
+else
+	inherit vcs-snapshot
+	SRC_URI="https://github.com/mkottman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="A kernel module that enables you to call ACPI methods"
+HOMEPAGE="https://github.com/mkottman/acpi_call"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+CONFIG_CHECK="ACPI"
+MODULE_NAMES="acpi_call(misc:${S})"
+BUILD_TARGETS="default"
+
+PATCHES=(
+	"${FILESDIR}/${P}-linux-3.17.patch"
+	"${FILESDIR}/${P}-linux-4.12.patch"
+)
+
+src_compile(){
+	BUILD_PARAMS="KDIR=${KV_OUT_DIR} M=${S}"
+	linux-mod_src_compile
+}

diff --git a/sys-power/acpi_call/files/acpi_call-1.1.0-linux-4.12.patch b/sys-power/acpi_call/files/acpi_call-1.1.0-linux-4.12.patch
new file mode 100644
index 00000000000..ef9fde9f295
--- /dev/null
+++ b/sys-power/acpi_call/files/acpi_call-1.1.0-linux-4.12.patch
@@ -0,0 +1,10 @@
+--- acpi_call-1.1.0.orig/acpi_call.c	2017-07-03 22:44:38.111270788 +0200
++++ acpi_call-1.1.0/acpi_call.c	2017-07-03 22:44:31.010270815 +0200
+@@ -6,6 +6,7 @@
+ #include <linux/proc_fs.h>
+ #include <linux/slab.h>
+ #include <asm/uaccess.h>
++#include <linux/uaccess.h>
+ #include <linux/acpi.h>
+ 
+ MODULE_LICENSE("GPL");

diff --git a/sys-power/acpi_call/metadata.xml b/sys-power/acpi_call/metadata.xml
index 4b39ce4f91f..3e6c789e783 100644
--- a/sys-power/acpi_call/metadata.xml
+++ b/sys-power/acpi_call/metadata.xml
@@ -4,10 +4,6 @@
 	<maintainer type="person">
 		<email>maksbotan@gentoo.org</email>
 	</maintainer>
-	<maintainer type="person">
-		<email>junghans@gentoo.org</email>
-		<name>Christoph Junghans</name>
-	</maintainer>
 	<upstream>
 		<remote-id type="github">mkottman/acpi_call</remote-id>
 	</upstream>


             reply	other threads:[~2017-07-06 15:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-06 15:53 Christoph Junghans [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-12-19  6:03 [gentoo-commits] repo/gentoo:master commit in: sys-power/acpi_call/, sys-power/acpi_call/files/ Matt Thode
2018-08-07 22:27 Patrice Clement
2020-03-08  5:07 Jason A. Donenfeld
2021-07-09 15:38 Conrad Kostecki

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=1499356394.efd2ddc8c87dc36f34aed8fa62ea06fe2dc44c5f.junghans@gentoo \
    --to=junghans@gentoo.org \
    --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