Lintian Fixes - kronosnet
Recent merge proposals
Ready changes
Summary
- Add patch ac-path-pkgconfig.patch: Use cross-build compatible macro for finding pkg-config. ( autotools-pkg-config-macro-not-cross-compilation-safe )
Diff
diff --git a/debian/patches/ac-path-pkgconfig.patch b/debian/patches/ac-path-pkgconfig.patch
new file mode 100644
index 0000000..07d7b52
--- /dev/null
+++ b/debian/patches/ac-path-pkgconfig.patch
@@ -0,0 +1,24 @@
+Description: Use cross-build compatible macro for finding pkg-config.
+ .
+ The package uses AC_PATH_PROG to discover the location of pkg-config(1). This
+ macro fails to select the correct version to support cross-compilation.
+ .
+ This patch changes it to use PKG_PROG_PKG_CONFIG macro from pkg.m4.
+ .
+ Refer to https://bugs.debian.org/884798 for details.
+Origin: other
+Last-Update: 2023-08-02
+
+=== modified file 'configure.ac'
+--- a/configure.ac 2023-08-01 11:45:02 +0000
++++ b/configure.ac 2023-08-02 10:47:13 +0000
+@@ -277,7 +277,7 @@
+ saved_PKG_CONFIG="$PKG_CONFIG"
+ saved_ac_cv_path_PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
+ unset PKG_CONFIG ac_cv_path_PKG_CONFIG
+- AC_PATH_PROG([PKG_CONFIG], [pkg-config])
++PKG_PROG_PKG_CONFIG
+ PKG_CHECK_MODULES([libqb_BUILD], [libqb])
+ PKG_CHECK_VAR([libqb_BUILD_PREFIX], [libqb], [prefix])
+ AC_PATH_PROG([DOXYGEN2MAN], [doxygen2man], [no], [$libqb_BUILD_PREFIX/bin$PATH_SEPARATOR$PATH])
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..cb99cc8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+ac-path-pkgconfig.patch
Debdiff
File lists identical (after any substitutions)
No differences were encountered between the control files of package libknet-dev
No differences were encountered between the control files of package libknet-doc
No differences were encountered between the control files of package libknet1
No differences were encountered between the control files of package libknet1-dbgsym
No differences were encountered between the control files of package libnozzle-dev
No differences were encountered between the control files of package libnozzle1
No differences were encountered between the control files of package libnozzle1-dbgsym