Skip to content

Commit

Permalink
libgdal: fix build gcc-12
Browse files Browse the repository at this point in the history
  • Loading branch information
sgn committed Oct 14, 2022
1 parent 51b6014 commit ae42a0c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions srcpkgs/libgdal/patches/missing-include.patch
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit ae42a0c

Please sign in to comment.