[packages/acpi] - added am patch (fixes build with automake 1.13)

qboosh qboosh at pld-linux.org
Sun Feb 17 22:14:38 CET 2013


commit 8ecfca8bc0c9ebf8c809227ab8dd8ed0a0df6097
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 17 22:14:44 2013 +0100

    - added am patch (fixes build with automake 1.13)

 acpi-am.patch | 9 +++++++++
 acpi.spec     | 2 ++
 2 files changed, 11 insertions(+)
---
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}
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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/acpi.git/commitdiff/8ecfca8bc0c9ebf8c809227ab8dd8ed0a0df6097



More information about the pld-cvs-commit mailing list