You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-libs/proj/files/proj-8.1.0-test_factory-inc...

30 lines
844 B

https://patch-diff.githubusercontent.com/raw/OSGeo/PROJ/pull/2760.patch
From fc983b6e3343ba4d52fd0a889bb6bbf6f143f417 Mon Sep 17 00:00:00 2001
From: Even Rouault <even.rouault@spatialys.com>
Date: Thu, 1 Jul 2021 21:24:26 +0200
Subject: [PATCH] =?UTF-8?q?test=5Ffactory.cpp:=20fix=20build,=20in=20parti?=
=?UTF-8?q?cular=20on=20Alpine=20Edge=20(fixes=C2=A0#2759)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
test/unit/test_factory.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/unit/test_factory.cpp b/test/unit/test_factory.cpp
index 985499150e..a60296d10a 100644
--- a/test/unit/test_factory.cpp
+++ b/test/unit/test_factory.cpp
@@ -39,6 +39,8 @@
#include "proj/metadata.hpp"
#include "proj/util.hpp"
+#include <algorithm>
+
#include <sqlite3.h>
#ifdef _MSC_VER