File gammu-postgresql_path.diff of Package gammu
--- gammu/smsd/smsdcore.h.orig 2007-06-01 19:14:27.000000000 +0700
+++ gammu/smsd/smsdcore.h 2007-06-05 22:58:00.000000000 +0700
@@ -17,7 +17,7 @@
#ifdef WIN32
# include <libpq-fe.h>
#else
-# include <postgresql/libpq-fe.h>
+# include <pgsql/libpq-fe.h>
#endif
#endif
--- cfg/autoconf/configure.in.orig 2007-04-16 20:49:28.000000000 +0700
+++ cfg/autoconf/configure.in 2007-06-06 19:40:22.000000000 +0700
@@ -115,7 +115,7 @@
AC_ARG_ENABLE(pgsql,
[ --disable-pgsql Disable postgreSQL support in SMSD],
[pgsql="no"],
- [AC_CHECK_HEADERS(postgresql/libpq-fe.h,
+ [AC_CHECK_HEADERS(pgsql/libpq-fe.h,
[pgsql="yes"
SMSD_LIBS="$SMSD_LIBS -L$(pg_config --libdir) -lpq"],
[pgsql="no"])