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

qboosh qboosh at pld-linux.org
Sun Jun 16 16:20:21 CEST 2013


commit 1fda5b21de20f828b6be7631cf32386d483f69f0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 16 16:20:31 2013 +0200

    - added am patch (fixes build with automake 1.13+)

 sdparm-am.patch | 11 +++++++++++
 sdparm.spec     |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/sdparm.spec b/sdparm.spec
index d6a09c4..3f1de1e 100644
--- a/sdparm.spec
+++ b/sdparm.spec
@@ -7,6 +7,7 @@ License:	BSD
 Group:		Applications/System
 Source0:	http://sg.danny.cz/sg/p/%{name}-%{version}.tar.xz
 # Source0-md5:	d290e6b45d690bfa2cc05700ec119073
+Patch0:		%{name}-am.patch
 URL:		http://sg.danny.cz/sg/sdparm.html
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -32,6 +33,7 @@ oraz zewnętrzne macierze SCSI.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__aclocal}
diff --git a/sdparm-am.patch b/sdparm-am.patch
new file mode 100644
index 0000000..dcc90b1
--- /dev/null
+++ b/sdparm-am.patch
@@ -0,0 +1,11 @@
+--- sdparm-1.08/configure.ac.orig	2013-05-14 20:27:22.000000000 +0200
++++ sdparm-1.08/configure.ac	2013-06-16 16:16:52.203269768 +0200
+@@ -2,7 +2,7 @@
+ 
+ AM_INIT_AUTOMAKE
+ AM_MAINTAINER_MODE
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
+ 
+ AC_PROG_CC
+ # AC_PROG_CXX
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sdparm.git/commitdiff/1fda5b21de20f828b6be7631cf32386d483f69f0



More information about the pld-cvs-commit mailing list