From ae42a0c654d9145a92b094640aa92b047e44e30c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 14 Oct 2022 07:35:48 +0700 Subject: [PATCH] libgdal: fix build gcc-12 --- srcpkgs/libgdal/patches/missing-include.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 srcpkgs/libgdal/patches/missing-include.patch diff --git a/srcpkgs/libgdal/patches/missing-include.patch b/srcpkgs/libgdal/patches/missing-include.patch new file mode 100644 index 00000000000..71d19440683 --- /dev/null +++ b/srcpkgs/libgdal/patches/missing-include.patch @@ -0,0 +1,12 @@ +Index: gdal-3.0.4/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +=================================================================== +--- gdal-3.0.4.orig/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp ++++ gdal-3.0.4/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp +@@ -36,6 +36,7 @@ + #include + #include + #include ++#include + #include + #include +