summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process/cronie/files/cronie-1.5.6-autoconf-2.70.patch')
-rw-r--r--sys-process/cronie/files/cronie-1.5.6-autoconf-2.70.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/sys-process/cronie/files/cronie-1.5.6-autoconf-2.70.patch b/sys-process/cronie/files/cronie-1.5.6-autoconf-2.70.patch
deleted file mode 100644
index 958047784c5f..000000000000
--- a/sys-process/cronie/files/cronie-1.5.6-autoconf-2.70.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 44f6a0db3bac50deb11d15d3d847c41932afbfea Mon Sep 17 00:00:00 2001
-From: Lars Wendler <polynomial-c@gentoo.org>
-Date: Wed, 17 Mar 2021 17:44:38 +0100
-Subject: [PATCH] configure.ac: Don't use AM_CONDITIONAL inside an if statement
-
-or else configure might break:
-
- configure: error: conditional "NEED_OBSTACK" was never defined.
- Usually this means the macro was only invoked conditionally.
-
-Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
----
- configure.ac | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 8c575dd..b578431 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -260,11 +260,11 @@ if test "$enable_anacron" != no; then
- dnl obstack.h is part of GLIBC and may not be present on other systems,
- dnl eg. musl and AIX. There, we static link in our own copy.
- AC_CHECK_HEADER(obstack.h, [have_obstack=yes], [have_obstack=no], [])
-- AM_CONDITIONAL([NEED_OBSTACK], [test "$have_obstack" = no])
-- if test "$have_obstack" = no; then
-- CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/obstack"
-- fi
- fi
-+AM_CONDITIONAL([NEED_OBSTACK], [test "$have_obstack" = no])
-+AS_IF([test "$enable_anacron" != no && test "$have_obstack" = no], [
-+ CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/obstack"
-+])
-
- AC_CONFIG_FILES([Makefile])
- AC_OUTPUT
---
-2.31.0
-