summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-01-12 18:32:21 +0100
committerLars Wendler <polynomial-c@gentoo.org>2021-01-12 18:32:21 +0100
commit6b49ce0b8b7b4004f920eb26d0acf71abb665d90 (patch)
tree66790bec57f51c31d51b94fe9a3e5e2cfb25fa58 /app-admin/conserver
parentdev-python/tree-sitter: add 0.2.1 (diff)
downloadgentoo-6b49ce0b8b7b4004f920eb26d0acf71abb665d90.tar.gz
gentoo-6b49ce0b8b7b4004f920eb26d0acf71abb665d90.tar.bz2
gentoo-6b49ce0b8b7b4004f920eb26d0acf71abb665d90.zip
app-admin/conserver: Fixed build with sys-devel/autoconf:2.70
Bug: https://bugs.gentoo.org/750230 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-admin/conserver')
-rw-r--r--app-admin/conserver/conserver-8.2.6.ebuild6
-rw-r--r--app-admin/conserver/files/conserver-8.2.6-autoconf-2.70.patch32
2 files changed, 37 insertions, 1 deletions
diff --git a/app-admin/conserver/conserver-8.2.6.ebuild b/app-admin/conserver/conserver-8.2.6.ebuild
index 8ecd6b02a530..aa64a2c5943b 100644
--- a/app-admin/conserver/conserver-8.2.6.ebuild
+++ b/app-admin/conserver/conserver-8.2.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -33,6 +33,10 @@ RDEPEND="${DEPEND}
DOCS=( CHANGES FAQ PROTOCOL README.md conserver/Sun-serial contrib/maketestcerts)
+PATCHES=(
+ "${FILESDIR}/${PN}-8.2.6-autoconf-2.70.patch" #750230
+)
+
src_prepare() {
default
sed -e '/^INSTALL_PROGRAM/s:-s::' \
diff --git a/app-admin/conserver/files/conserver-8.2.6-autoconf-2.70.patch b/app-admin/conserver/files/conserver-8.2.6-autoconf-2.70.patch
new file mode 100644
index 000000000000..057809ffa44b
--- /dev/null
+++ b/app-admin/conserver/files/conserver-8.2.6-autoconf-2.70.patch
@@ -0,0 +1,32 @@
+From ce3b4f1d000c75ace2be2be83a0cc0df84ff6983 Mon Sep 17 00:00:00 2001
+From: Lars Wendler <polynomial-c@gentoo.org>
+Date: Tue, 12 Jan 2021 18:18:23 +0100
+Subject: [PATCH] configure.ac: autoconf-2.70 fix
+
+Gentoo-bug: https://bugs.gentoo.org/750230
+Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
+---
+ configure.ac | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index ee2bc8a..26541f3 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -30,11 +30,11 @@ AH_TEMPLATE([TRUST_UDS_CRED], [Defined if we trust credentials from UDS client])
+
+ dnl ### Normal initialization. ######################################
+ AC_INIT([conserver],m4_esyscmd_s([./gen-version number]))
+-AC_PREREQ(2.59)
++AC_PREREQ(2.69)
+ AC_CONFIG_SRCDIR([conserver/main.c])
+ AC_CONFIG_HEADER(config.h)
+
+-AC_DEFINE_UNQUOTED(CONFIGINVOCATION, "$0 $@")
++AC_DEFINE_UNQUOTED(CONFIGINVOCATION, "$0 $*")
+
+ dnl ### Set some option defaults. ###################################
+ if test -z "$CFLAGS"; then
+--
+2.30.0
+