From: Michael Pratt Date: Thu, 25 Aug 2022 19:03:21 +0000 (-0400) Subject: conserver: fix build with new autotools X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=94f2484ac75fbce52a9d1439b3d7bfad75587fe7;p=feed%2Fpackages.git conserver: fix build with new autotools Backport a patch that fixes build with new versions of Autoconf and Automake. Signed-off-by: Michael Pratt --- diff --git a/net/conserver/Makefile b/net/conserver/Makefile index bfe851e810..ab3f39aacf 100644 --- a/net/conserver/Makefile +++ b/net/conserver/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=conserver PKG_VERSION:=8.2.6 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/conserver/conserver/tar.gz/v$(PKG_VERSION)? diff --git a/net/conserver/patches/000-100-backport-config-macro-fix.patch b/net/conserver/patches/000-100-backport-config-macro-fix.patch new file mode 100644 index 0000000000..e57a321fd8 --- /dev/null +++ b/net/conserver/patches/000-100-backport-config-macro-fix.patch @@ -0,0 +1,27 @@ +From ce3b4f1d000c75ace2be2be83a0cc0df84ff6983 +From: Lars Wendler +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 +--- + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/configure.ac ++++ b/configure.ac +@@ -30,11 +30,11 @@ AH_TEMPLATE([TRUST_UDS_CRED], [Defined i + + 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