From 8ecfca8bc0c9ebf8c809227ab8dd8ed0a0df6097 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 17 Feb 2013 22:14:44 +0100 Subject: [PATCH] - added am patch (fixes build with automake 1.13) --- acpi-am.patch | 9 +++++++++ acpi.spec | 2 ++ 2 files changed, 11 insertions(+) create mode 100644 acpi-am.patch diff --git a/acpi-am.patch b/acpi-am.patch new file mode 100644 index 0000000..3239a89 --- /dev/null +++ b/acpi-am.patch @@ -0,0 +1,9 @@ +--- acpi-1.6/configure.ac.orig 2012-01-13 12:38:58.000000000 +0100 ++++ acpi-1.6/configure.ac 2013-02-17 21:26:27.860871376 +0100 +@@ -1,5 +1,5 @@ + AC_INIT(main.c) +-AM_CONFIG_HEADER(config.h) ++AC_CONFIG_HEADERS(config.h) + AM_INIT_AUTOMAKE(acpi, 1.6) + AC_PROG_CC + AC_ISC_POSIX diff --git a/acpi.spec b/acpi.spec index df4a1e7..39a916b 100644 --- a/acpi.spec +++ b/acpi.spec @@ -7,6 +7,7 @@ License: GPL v2+ Group: Applications/System Source0: http://downloads.sourceforge.net/acpiclient/%{name}-%{version}.tar.gz # Source0-md5: 68d0104a7825c904e3f45de8682cee19 +Patch0: %{name}-am.patch URL: http://acpiclient.sourceforge.net/ BuildRequires: autoconf >= 2.50 BuildRequires: automake @@ -25,6 +26,7 @@ opartych o ACPI. Zawiera informacje o zasilaniu i temperaturze. %prep %setup -q +%patch0 -p1 %build %{__aclocal} -- 2.44.0