gammu/0001-Add-postgresql-include-location-provided-by-openSUSE.patch
Tomáš Chvátal ec8d2f8f91 Accepting request 710222 from home:marxin:branches:hardware
- Add 0001-Add-postgresql-include-location-provided-by-openSUSE.patch in
  order to fix missing postgresql include path.

OBS-URL: https://build.opensuse.org/request/show/710222
OBS-URL: https://build.opensuse.org/package/show/hardware/gammu?expand=0&rev=47
2019-06-17 09:20:52 +00:00

26 lines
768 B
Diff

From 5ab94874b60e6614dacad5453acb4552c73878ba Mon Sep 17 00:00:00 2001
From: Martin Liska <mliska@suse.cz>
Date: Wed, 5 Jun 2019 10:35:01 +0200
Subject: [PATCH] Add postgresql include location provided by openSUSE
distribution.
---
cmake/FindPostgres.cmake | 1 +
1 file changed, 1 insertion(+)
diff --git a/cmake/FindPostgres.cmake b/cmake/FindPostgres.cmake
index 56435c060..5a19bbbfb 100644
--- a/cmake/FindPostgres.cmake
+++ b/cmake/FindPostgres.cmake
@@ -60,6 +60,7 @@ ELSE(WIN32)
/usr/local/postgresql/include/postgresql
/usr/include
/usr/include/postgresql
+ /usr/include/pgsql
${PG_TMP}
$ENV{POSTGRESQL_HOME}/include/server
$ENV{POSTGRESQL_HOME}/include
--
2.21.0