conserver: fix build with new autotools
authorMichael Pratt <mcpratt@pm.me>
Thu, 25 Aug 2022 19:03:21 +0000 (15:03 -0400)
committerRosen Penev <rosenp@gmail.com>
Fri, 9 Sep 2022 22:20:58 +0000 (15:20 -0700)
Backport a patch that fixes build
with new versions of Autoconf and Automake.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
net/conserver/Makefile
net/conserver/patches/000-100-backport-config-macro-fix.patch [new file with mode: 0644]

index bfe851e810356a4d4a369ea865058073f3883cec..ab3f39aacf023dbcb93ed3d64d8eb35d856bd94c 100644 (file)
@@ -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 (file)
index 0000000..e57a321
--- /dev/null
@@ -0,0 +1,27 @@
+From ce3b4f1d000c75ace2be2be83a0cc0df84ff6983
+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(-)
+
+--- 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