2019-06-17 19:34:35 +00:00
committed by Git OBS Bridge
3 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
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

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jun 16 20:08:51 UTC 2019 - Martin Liška <mliska@suse.cz>
- Add 0001-Add-postgresql-include-location-provided-by-openSUSE.patch in
order to fix missing postgresql include path.
-------------------------------------------------------------------
Mon Feb 11 13:02:47 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -29,6 +29,7 @@ Source0: https://dl.cihar.com/gammu/releases/%{name}-%{version}.tar.xz
# PATCH-FIX-OPENSUSE gammu-remove-gplv3-files.patch idoenmez@suse.de -- Remove GPLv3 files bnc#775397
Patch1: gammu-remove-gplv3-files.patch
Patch2: 0001-Enable-fPIE-pie.patch
Patch3: 0001-Add-postgresql-include-location-provided-by-openSUSE.patch
BuildRequires: cmake >= 2.8
BuildRequires: doxygen
BuildRequires: gettext
@@ -185,6 +186,7 @@ This package contains the Gammu SMS daemon shared library.
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
# GPL-3.0 licensed files, bnc#775397
rm -rf contrib/sms-gammu2android