[findutils] do not use the AM_C_PROTOTYPES macro (removed in Automake 1.12)
Kamil Dudka
kdudka at fedoraproject.org
Tue Aug 28 15:00:48 UTC 2012
commit 23afa40d9820274e53b2e6df7b0ab023d39ac096
Author: Kamil Dudka <kdudka at redhat.com>
Date: Tue Aug 28 16:57:45 2012 +0200
do not use the AM_C_PROTOTYPES macro (removed in Automake 1.12)
findutils-4.5.10-automake.patch | 26 ++++++++++++++++++++++++++
findutils.spec | 5 +++++
2 files changed, 31 insertions(+), 0 deletions(-)
---
diff --git a/findutils-4.5.10-automake.patch b/findutils-4.5.10-automake.patch
new file mode 100644
index 0000000..50e29c2
--- /dev/null
+++ b/findutils-4.5.10-automake.patch
@@ -0,0 +1,26 @@
+From 4a848a5e9bda989f9fd31ab4b388e6849ea6381e Mon Sep 17 00:00:00 2001
+From: Kamil Dudka <kdudka at redhat.com>
+Date: Tue, 28 Aug 2012 16:54:15 +0200
+Subject: [PATCH] configure.ac: do not use the AM_C_PROTOTYPES macro
+
+It was removed in Automake 1.12.
+---
+ configure.ac | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 704b5ea..038a3d8 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -77,7 +77,7 @@ AC_PROG_CPP
+ dnl for gnulib
+ gl_EARLY
+
+-AM_C_PROTOTYPES
++dnl AM_C_PROTOTYPES
+
+ AC_PROG_INSTALL
+ AC_PROG_RANLIB
+--
+1.7.1
+
diff --git a/findutils.spec b/findutils.spec
index 53d2b09..d5646ce 100644
--- a/findutils.spec
+++ b/findutils.spec
@@ -22,6 +22,9 @@ Patch3: findutils-4.4.2-xautofs.patch
# eliminate compile-time warnings
Patch4: findutils-4.5.7-warnings.patch
+# configure.ac: do not use the AM_C_PROTOTYPES macro (removed in Automake 1.12)
+Patch5: findutils-4.5.10-automake.patch
+
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
Conflicts: filesystem < 3
@@ -52,6 +55,7 @@ useful for finding things on your system.
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
# needed because of findutils-4.4.0-no-locate.patch
aclocal -I gnulib/m4 -I m4
@@ -101,6 +105,7 @@ fi
%changelog
* Tue Aug 28 2012 Kamil Dudka <kdudka at redhat.com> - 1:4.5.10-7
- fix specfile issues reported by the fedora-review script
+- do not use the AM_C_PROTOTYPES macro (removed in Automake 1.12)
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:4.5.10-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list