DEB pilot-link: Fix FTBFS due to syntax in configure.ac.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/5/head
Slávek Banko 3 years ago
parent 7551b301ad
commit e4268580fa
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1,3 +1,9 @@
pilot-link (0.12.5-dfsg-2debian12.0.0+2~a) bookworm; urgency=medium
* Fix FTBFS due to syntax in configure.ac.
-- Slávek Banko <slavek.banko@axis.cz> Wed, 20 Sep 2021 00:48:20 +0200
pilot-link (0.12.5-dfsg-2debian11.0.0+0~a) bullseye; urgency=medium
* Build a package for KPilot needs in Trinity.

@ -0,0 +1,22 @@
Index: b/configure.ac
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -392,11 +392,13 @@
dnl Determine if system popt is good enough
save_LIBS="$LIBS"
AC_CHECK_HEADER(popt.h,
- AC_CHECK_DECL(POPT_BIT_SET,
- AC_CHECK_LIB(popt, poptStrippedArgv,,
- [with_included_popt="yes"]),
+ [AC_CHECK_DECL(POPT_BIT_SET,
+ [AC_CHECK_LIB(popt, poptStrippedArgv,,
+ [with_included_popt="yes"]
+ )],
[with_included_popt="yes"],
- [#include <popt.h>]),
+ [#include <popt.h>]
+ )],
[with_included_popt="yes"]
)
LIBS="$save_LIBS"

@ -5,3 +5,4 @@ colourcorrect
10_clie_sj22.patch
31_pilot-addresses.1
0001-Don-t-use-PERL_POLLUTE-macros.patch
0002-Fix-configure-syntax.patch

Loading…
Cancel
Save