This file is part of MXE. See LICENSE.md for licensing information.

Contains ad hoc patches for cross building.

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: brodieG <brodieG@users.noreply.github.com>
Date: Sat, 21 Jan 2023 13:25:31 +0000
Subject: [PATCH 1/2] add dependencies via pc file


diff --git a/proj.pc.in b/proj.pc.in
index 1111111..2222222 100644
--- a/proj.pc.in
+++ b/proj.pc.in
@@ -8,7 +8,8 @@ datadir=@datadir@/@PACKAGE@
 Name: PROJ
 Description: Coordinate transformation software library
 Requires:
+Requires.private: sqlite3 libtiff-4 libcurl
 Version: @VERSION@
 Libs: -L${libdir} -lproj
-Libs.private: @EXTRA_LIBS@
+Libs.private: -lstdc++
 Cflags: -I${includedir}

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Tue, 30 Sep 2025 23:58:05 +0200
Subject: [PATCH 2/2] add missing header


diff --git a/src/filemanager.cpp b/src/filemanager.cpp
index 1111111..2222222 100644
--- a/src/filemanager.cpp
+++ b/src/filemanager.cpp
@@ -36,6 +36,7 @@
 #include <algorithm>
 #include <limits>
 #include <string>
+#include <cstdint>
 
 #include "filemanager.hpp"
 #include "proj.h"
diff --git a/src/proj_json_streaming_writer.hpp b/src/proj_json_streaming_writer.hpp
index 1111111..2222222 100644
--- a/src/proj_json_streaming_writer.hpp
+++ b/src/proj_json_streaming_writer.hpp
@@ -33,6 +33,7 @@
 
 #include <vector>
 #include <string>
+#include <cstdint>
 
 #define CPL_DLL
 
diff --git a/src/projections/s2.cpp b/src/projections/s2.cpp
index 1111111..2222222 100644
--- a/src/projections/s2.cpp
+++ b/src/projections/s2.cpp
@@ -52,6 +52,7 @@
 
 #include <errno.h>
 #include <cmath>
+#include <cstdint>
 
 #include "proj.h"
 #include "proj_internal.h"
