mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
libgdal: fix build gcc-12
This commit is contained in:
parent
51b6014f99
commit
ae42a0c654
1 changed files with 12 additions and 0 deletions
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>
|
||||
|
Loading…
Add table
Reference in a new issue