Accepting request 1075317 from home:iznogood:branches:Application:Geo
- Add geos-add-missing-include.patch: Add missing #include <cstdint> OBS-URL: https://build.opensuse.org/request/show/1075317 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geos?expand=0&rev=54
This commit is contained in:
parent
479c174951
commit
37ed4e838e
22
geos-add-missing-include.patch
Normal file
22
geos-add-missing-include.patch
Normal 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 {
|
||||||
|
//
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Fri Mar 17 09:49:05 UTC 2023 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
@ -25,6 +25,8 @@ License: LGPL-2.1-only
|
|||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
URL: https://libgeos.org
|
URL: https://libgeos.org
|
||||||
Source0: https://download.osgeo.org/%{name}/%{name}-%{version}.tar.bz2
|
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: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -76,7 +78,7 @@ This package contains the development files to build applications that
|
|||||||
use GEOS.
|
use GEOS.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake
|
%cmake
|
||||||
|
Loading…
x
Reference in New Issue
Block a user