From 2760b12100fc77c43519c3f4bbe6257203dcb994 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:40:29 +0100 Subject: [PATCH] add LIBS=-ltermcap [release 1.2.0-2mamba;Tue Jul 22 2014] --- augeas-1.2.0-readline.patch | 11 +++++++++++ augeas.spec | 11 +++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 augeas-1.2.0-readline.patch diff --git a/augeas-1.2.0-readline.patch b/augeas-1.2.0-readline.patch new file mode 100644 index 0000000..9c64260 --- /dev/null +++ b/augeas-1.2.0-readline.patch @@ -0,0 +1,11 @@ +--- augeas-1.2.0/src/augtool.c.orig 2014-07-22 15:53:13.272830984 +0200 ++++ augeas-1.2.0/src/augtool.c 2014-07-22 15:53:21.541845065 +0200 +@@ -190,7 +190,7 @@ + + #ifndef HAVE_RL_COMPLETION_MATCHES + typedef char *rl_compentry_func_t(const char *, int); +-static char **rl_completion_matches(ATTRIBUTE_UNUSED const char *text, ++char **rl_completion_matches(ATTRIBUTE_UNUSED const char *text, + ATTRIBUTE_UNUSED rl_compentry_func_t *func) { + return NULL; + } diff --git a/augeas.spec b/augeas.spec index 766d084..c473f4c 100644 --- a/augeas.spec +++ b/augeas.spec @@ -1,6 +1,6 @@ Name: augeas Version: 1.2.0 -Release: 1mamba +Release: 2mamba Summary: A command line tool that focuses on the most basic problem in handling Linux configurations programmatically Group: System/Management Vendor: openmamba @@ -8,6 +8,7 @@ Distribution: openmamba Packager: Silvan Calarco URL: http://augeas.net/ Source: http://download.augeas.net/augeas-%{version}.tar.gz +Patch0: augeas-1.2.0-readline.patch License: LGPL ## AUTOBUILDREQ-BEGIN ## note: run 'autospec -u -a6 augeas' to get the list of build requirements. @@ -38,9 +39,12 @@ This package contains libraries and header files for developing applications tha %prep %setup -q +%patch0 -p1 %build -%configure +%configure \ + LIBS="-ltermcap" + %make %install @@ -90,5 +94,8 @@ This package contains libraries and header files for developing applications tha %changelog +* Tue Jul 22 2014 Silvan Calarco 1.2.0-2mamba +- add LIBS=-ltermcap + * Thu Jul 17 2014 Silvan Calarco 1.2.0-1mamba - package created using the webbuild interface