From 37ed4e838e01ff84490addd6d574b98541b4cfc16b8789643887eff2913aa513 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Wed, 29 Mar 2023 17:18:29 +0000 Subject: [PATCH] Accepting request 1075317 from home:iznogood:branches:Application:Geo - Add geos-add-missing-include.patch: Add missing #include OBS-URL: https://build.opensuse.org/request/show/1075317 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geos?expand=0&rev=54 --- geos-add-missing-include.patch | 22 ++++++++++++++++++++++ geos.changes | 5 +++++ geos.spec | 4 +++- 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 geos-add-missing-include.patch diff --git a/geos-add-missing-include.patch b/geos-add-missing-include.patch new file mode 100644 index 0000000..57e0b25 --- /dev/null +++ b/geos-add-missing-include.patch @@ -0,0 +1,22 @@ +diff -Nur geos-3.11.2-orig/include/geos/shape/fractal/HilbertEncoder.h geos-3.11.2/include/geos/shape/fractal/HilbertEncoder.h +--- geos-3.11.2-orig/include/geos/shape/fractal/HilbertEncoder.h 2023-03-17 00:57:01.000000000 +0100 ++++ geos-3.11.2/include/geos/shape/fractal/HilbertEncoder.h 2023-03-29 17:57:48.640180182 +0200 +@@ -18,6 +18,7 @@ + #include + #include + #include ++#include + + // Forward declarations + namespace geos { +diff -Nur geos-3.11.2-orig/tests/unit/capi/GEOSMakeValidTest.cpp geos-3.11.2/tests/unit/capi/GEOSMakeValidTest.cpp +--- geos-3.11.2-orig/tests/unit/capi/GEOSMakeValidTest.cpp 2023-03-17 00:57:01.000000000 +0100 ++++ geos-3.11.2/tests/unit/capi/GEOSMakeValidTest.cpp 2023-03-29 18:38:55.141543602 +0200 +@@ -11,6 +11,7 @@ + #include + + #include "capi_test_utils.h" ++#include + + namespace tut { + // diff --git a/geos.changes b/geos.changes index ca8bf7e..d92dee9 100644 --- a/geos.changes +++ b/geos.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 29 15:59:27 UTC 2023 - Bjørn Lie + +- Add geos-add-missing-include.patch: Add missing #include + ------------------------------------------------------------------- Fri Mar 17 09:49:05 UTC 2023 - Martin Pluskal diff --git a/geos.spec b/geos.spec index f8627ee..f7381ff 100644 --- a/geos.spec +++ b/geos.spec @@ -25,6 +25,8 @@ License: LGPL-2.1-only Group: Development/Libraries/C and C++ URL: https://libgeos.org Source0: https://download.osgeo.org/%{name}/%{name}-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM geos-add-missing-include.patch -- Add missing #include +Patch0: geos-add-missing-include.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig @@ -76,7 +78,7 @@ This package contains the development files to build applications that use GEOS. %prep -%autosetup +%autosetup -p1 %build %cmake