libgdal: fix build gcc-12
This commit is contained in:
12
srcpkgs/libgdal/patches/missing-include.patch
Normal file
12
srcpkgs/libgdal/patches/missing-include.patch
Normal file
@@ -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 <cassert>
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
+#include <limits>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
Reference in New Issue
Block a user