diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-03-17 18:09:33 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-03-17 18:26:18 +0100 |
commit | bd0063abff3e4c4ebd3b7e32b854050b7de95d82 (patch) | |
tree | a68012bd65ee42061909ebb9fdd3796430e4c0ae /sys-process/cronie/files | |
parent | acct-group/crontab: Initial commit (diff) | |
download | gentoo-bd0063abff3e4c4ebd3b7e32b854050b7de95d82.tar.gz gentoo-bd0063abff3e4c4ebd3b7e32b854050b7de95d82.tar.bz2 gentoo-bd0063abff3e4c4ebd3b7e32b854050b7de95d82.zip |
sys-process/cronie: Bump to version 1.5.6
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-process/cronie/files')
-rw-r--r-- | sys-process/cronie/files/cronie-1.5.6-autoconf-2.70.patch | 38 |
1 files changed, 38 insertions, 0 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 new file mode 100644 index 000000000000..732de86f0a09 --- /dev/null +++ b/sys-process/cronie/files/cronie-1.5.6-autoconf-2.70.patch @@ -0,0 +1,38 @@ +From d29cbc586c9f073eb144d219af3d792c2d2de453 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..6e972fc 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 "$have_obstack" = no], [ ++ CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/obstack" ++]) + + AC_CONFIG_FILES([Makefile]) + AC_OUTPUT +-- +2.31.0 + |