diff --git a/debian/changelog b/debian/changelog
index 0435897..999a37d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -368,7 +368,7 @@ libpqxx (2.6.9-6) unstable; urgency=low
- Fixed a typo: 'Authors' -> 'Author'.
- Renewed copyrights.
- -- Eugene V. Lyubimkin <jackyf.devel@gmail.com> Sat, 09 Jul 2008 02:09:30 +0300
+ -- Eugene V. Lyubimkin <jackyf.devel@gmail.com> Wed, 09 Jul 2008 02:09:30 +0300
libpqxx (2.6.9-5) unstable; urgency=low
diff --git a/debian/control b/debian/control
index 3c7ea67..7ed6c2b 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Build-Depends: debhelper-compat (= 13),
Build-Depends-Indep: doxygen,
xmlto,
graphviz
-Standards-Version: 4.5.0
+Standards-Version: 4.6.2
Vcs-Git: https://salsa.debian.org/debian/libpqxx.git
Vcs-Browser: https://salsa.debian.org/debian/libpqxx
Homepage: https://github.com/jtv/libpqxx/
diff --git a/debian/patches/ac-path-pkgconfig.patch b/debian/patches/ac-path-pkgconfig.patch
new file mode 100644
index 0000000..aee7088
--- /dev/null
+++ b/debian/patches/ac-path-pkgconfig.patch
@@ -0,0 +1,38 @@
+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-03-04
+
+=== modified file 'configure.ac'
+--- a/configure.ac 2020-11-05 19:51:57 +0000
++++ b/configure.ac 2023-03-04 09:29:01 +0000
+@@ -416,7 +416,7 @@
+
+
+ # Find PostgreSQL includes and libraries
+-AC_PATH_PROG([PKG_CONFIG], [pkg-config])
++PKG_PROG_PKG_CONFIG
+ AC_PATH_PROGS(PG_CONFIG, pg_config)
+
+ AC_ARG_WITH(
+
+=== modified file 'debian/control'
+--- a/debian/control 2023-03-04 09:29:00 +0000
++++ b/debian/control 2023-03-04 09:29:01 +0000
+@@ -7,7 +7,8 @@
+ chrpath,
+ libtool,
+ python3-all,
+- autoconf-archive
++ autoconf-archive,
++ pkg-config
+ Build-Depends-Indep: doxygen,
+ xmlto,
+ graphviz
+
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
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
index 49fd760..7395507 100644
--- a/debian/source/lintian-overrides
+++ b/debian/source/lintian-overrides
@@ -1,2 +1,2 @@
## Upstream is not providing gpg signed sources
-libpqxx source: debian-watch-does-not-check-gpg-signature
+libpqxx source: debian-watch-does-not-check-openpgp-signature
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
index 3db648f..1fb27f3 100644
--- a/debian/upstream/metadata
+++ b/debian/upstream/metadata
@@ -1,4 +1,5 @@
Name: libpqxx
+Bug-Database: https://github.com/jtv/libpqxx/issues
Repository: https://github.com/jtv/libpqxx.git
Repository-Browse: https://github.com/jtv/libpqxx
Bug-Submit: https://github.com/jtv/libpqxx/issues