From ec8d2f8f91a11d572f4bb980436b22ebb46fc02085c5920c867431784cbc7982 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 17 Jun 2019 09:20:52 +0000 Subject: [PATCH] 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 --- ...nclude-location-provided-by-openSUSE.patch | 25 +++++++++++++++++++ gammu.changes | 6 +++++ gammu.spec | 2 ++ 3 files changed, 33 insertions(+) create mode 100644 0001-Add-postgresql-include-location-provided-by-openSUSE.patch diff --git a/0001-Add-postgresql-include-location-provided-by-openSUSE.patch b/0001-Add-postgresql-include-location-provided-by-openSUSE.patch new file mode 100644 index 0000000..2425f5e --- /dev/null +++ b/0001-Add-postgresql-include-location-provided-by-openSUSE.patch @@ -0,0 +1,25 @@ +From 5ab94874b60e6614dacad5453acb4552c73878ba Mon Sep 17 00:00:00 2001 +From: Martin Liska +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 + diff --git a/gammu.changes b/gammu.changes index deede7f..be3284f 100644 --- a/gammu.changes +++ b/gammu.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Jun 16 20:08:51 UTC 2019 - Martin Liška + +- 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 diff --git a/gammu.spec b/gammu.spec index ce741be..a162c41 100644 --- a/gammu.spec +++ b/gammu.spec @@ -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