diff -Nru acpi-call-1.1.0/debian/changelog acpi-call-1.1.0/debian/changelog --- acpi-call-1.1.0/debian/changelog 2014-05-19 14:47:30.000000000 +0000 +++ acpi-call-1.1.0/debian/changelog 2016-08-24 20:46:47.000000000 +0000 @@ -1,3 +1,11 @@ +acpi-call (1.1.0-0ubuntu0morgwai2) trusty; urgency=low + + * Added patch to fix compilation on kernels >=3.17 + (https://github.com/mkottman/acpi_call/issues/51) + * Some tiny changes to debian/copyright + + -- Piotr Morgwai Kotarbinski (FOSS related) Thu, 25 Aug 2016 02:57:46 +0700 + acpi-call (1.1.0-0ubuntu0morgwai1) saucy; urgency=low * Initial release. diff -Nru acpi-call-1.1.0/debian/copyright acpi-call-1.1.0/debian/copyright --- acpi-call-1.1.0/debian/copyright 2014-05-19 14:47:30.000000000 +0000 +++ acpi-call-1.1.0/debian/copyright 2014-05-20 00:34:35.000000000 +0000 @@ -3,7 +3,13 @@ Source: https://github.com/mkottman/acpi_call Files: * -Copyright: 2010 Michal Kottman +Copyright: 2010 Michal Kottman +License: GPL-3.0+ + +Files: debian/* +Copyright: 2014 Piotr Morgwai Kotarbinski (launchpad related address) +License: GPL-2.0+ + License: GPL-3.0+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,8 +27,6 @@ On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". -Files: debian/* -Copyright: 2014 Piotr Morgwai Kotarbinski License: GPL-2.0+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff -Nru acpi-call-1.1.0/debian/patches/0001-Include-linux-acpi.h-instead-of-acpi-acpi.h.patch acpi-call-1.1.0/debian/patches/0001-Include-linux-acpi.h-instead-of-acpi-acpi.h.patch --- acpi-call-1.1.0/debian/patches/0001-Include-linux-acpi.h-instead-of-acpi-acpi.h.patch 1970-01-01 00:00:00.000000000 +0000 +++ acpi-call-1.1.0/debian/patches/0001-Include-linux-acpi.h-instead-of-acpi-acpi.h.patch 2016-08-24 19:53:15.000000000 +0000 @@ -0,0 +1,23 @@ +From: Piotr Morgwai Kotarbinski +Date: Thu, 25 Aug 2016 02:41:18 +0700 +Subject: Include linux/acpi.h instead of acpi/acpi.h. This fixes compilation + on kernels >=3.17. See https://github.com/mkottman/acpi_call/issues/51 for + details. + +--- + acpi_call.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/acpi_call.c b/acpi_call.c +index 3025d97..fa4f2c6 100644 +--- a/acpi_call.c ++++ b/acpi_call.c +@@ -6,7 +6,7 @@ + #include + #include + #include +-#include ++#include + + MODULE_LICENSE("GPL"); + diff -Nru acpi-call-1.1.0/debian/patches/series acpi-call-1.1.0/debian/patches/series --- acpi-call-1.1.0/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ acpi-call-1.1.0/debian/patches/series 2016-08-24 19:53:15.000000000 +0000 @@ -0,0 +1 @@ +0001-Include-linux-acpi.h-instead-of-acpi-acpi.h.patch