Updating link to change in openSUSE:Factory/geos revision 23

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geos?expand=0&rev=96bc6e0b7d5c37f00a5c193ec44ecc1e
This commit is contained in:
OBS User buildservice-autocommit 2023-03-30 20:51:19 +00:00 committed by Git OBS Bridge
parent b247cf1e73
commit 78c8853163
3 changed files with 39 additions and 2 deletions

View File

@ -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 <geos/export.h>
#include <string>
#include <vector>
+#include <cstdint>
// 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 <cstring>
#include "capi_test_utils.h"
+#include <cstdint>
namespace tut {
//

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Mar 30 17:23:30 UTC 2023 - Martin Pluskal <mpluskal@suse.com>
- Disable testuite on i586
-------------------------------------------------------------------
Wed Mar 29 15:59:27 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Add geos-add-missing-include.patch: Add missing #include <cstdint>
-------------------------------------------------------------------
Fri Mar 17 09:49:05 UTC 2023 - Martin Pluskal <mpluskal@suse.com>
@ -33,7 +43,7 @@ Mon Nov 28 08:26:52 UTC 2022 - Martin Pluskal <mpluskal@suse.com>
Mon Jul 18 09:25:32 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 3.11.0:
- OffsetCurve
OffsetCurve
- ConcaveHull
- PolygonHull
- LineMerger directed option

View File

@ -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 <cstdint>
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
@ -85,7 +87,10 @@ use GEOS.
%check
# path needs to be exported otherwise unit tests will fail
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir}
# disable tests for i586 as they fail
%ifnarch %ix86
%ctest
%endif
%install
%cmake_install