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
This commit is contained in:
Tomáš Chvátal 2019-06-17 09:20:52 +00:00 committed by Git OBS Bridge
parent 9157ac7915
commit ec8d2f8f91
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> 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 # PATCH-FIX-OPENSUSE gammu-remove-gplv3-files.patch idoenmez@suse.de -- Remove GPLv3 files bnc#775397
Patch1: gammu-remove-gplv3-files.patch Patch1: gammu-remove-gplv3-files.patch
Patch2: 0001-Enable-fPIE-pie.patch Patch2: 0001-Enable-fPIE-pie.patch
Patch3: 0001-Add-postgresql-include-location-provided-by-openSUSE.patch
BuildRequires: cmake >= 2.8 BuildRequires: cmake >= 2.8
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: gettext BuildRequires: gettext
@ -185,6 +186,7 @@ This package contains the Gammu SMS daemon shared library.
%setup -q %setup -q
%patch1 -p1 %patch1 -p1
%patch2 -p1 %patch2 -p1
%patch3 -p1
# GPL-3.0 licensed files, bnc#775397 # GPL-3.0 licensed files, bnc#775397
rm -rf contrib/sms-gammu2android rm -rf contrib/sms-gammu2android