File: fix_libpq_include.patch

package info (click to toggle)
mailutils 1%3A3.20-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 38,932 kB
  • sloc: ansic: 187,772; sh: 111,430; yacc: 7,463; cpp: 3,834; makefile: 3,166; lex: 1,972; python: 1,617; exp: 1,563; awk: 152; lisp: 132; sed: 31
file content (18 lines) | stat: -rw-r--r-- 405 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Jordi Mallach <jordi@debian.org>
Date:   Tue Feb 9 16:04:38 2021 +0100

    Fix postgresql include dir.

diff --git a/sql/postgres.c b/sql/postgres.c
index 1c6bed90b..b9a8cf89d 100644
--- a/sql/postgres.c
+++ b/sql/postgres.c
@@ -24,7 +24,7 @@
 #include <mailutils/sql.h>
 #include <mailutils/cctype.h>
 
-#include <libpq-fe.h>
+#include <postgresql/libpq-fe.h>
 
 static char *
 chop (char *str)