From df36d01bfdcd3174f369a9de724f98865f449d64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Tue, 8 Jul 2025 21:54:07 +0200 Subject: [PATCH] app-editors/xemacs: Fix configure failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/959683 Signed-off-by: Ulrich Müller --- .../files/xemacs-21.5.36-configure-postgresql.patch | 13 +++++++++++++ app-editors/xemacs/xemacs-21.5.36.ebuild | 1 + 2 files changed, 14 insertions(+) create mode 100644 app-editors/xemacs/files/xemacs-21.5.36-configure-postgresql.patch diff --git a/app-editors/xemacs/files/xemacs-21.5.36-configure-postgresql.patch b/app-editors/xemacs/files/xemacs-21.5.36-configure-postgresql.patch new file mode 100644 index 0000000000000..ed0608e69483d --- /dev/null +++ b/app-editors/xemacs/files/xemacs-21.5.36-configure-postgresql.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/959683 + +--- xemacs-21.5.36/configure.ac ++++ xemacs-21.5.36/configure.ac +@@ -3697,7 +3697,7 @@ + fi + fi + +- if test -n "$libpq_fe_h_file" -a "$have_libpq" = "yes" ++ if test -n "$libpq_fe_h_file" -a "$have_libpq" = "yes" \ + -a "$with_modules" = "yes"; then + with_postgresql=yes + AC_DEFINE(HAVE_POSTGRESQL) diff --git a/app-editors/xemacs/xemacs-21.5.36.ebuild b/app-editors/xemacs/xemacs-21.5.36.ebuild index d10420bf54946..119cbb09e9502 100644 --- a/app-editors/xemacs/xemacs-21.5.36.ebuild +++ b/app-editors/xemacs/xemacs-21.5.36.ebuild @@ -64,6 +64,7 @@ src_prepare() { eapply "${FILESDIR}/${PN}-21.5.35-unknown-command-test.patch" eapply "${FILESDIR}/${P}-failing-tests.patch" eapply "${FILESDIR}/${P}-failing-tests-2.patch" + eapply "${FILESDIR}/${P}-configure-postgresql.patch" eapply_user eautoconf