python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / applications / misc / mysql-workbench / fix-gdal-includes.patch
blob0a5c31fd40a27c96c213d10d2e8f179dd51690ef
1 --- a/backend/wbpublic/grt/spatial_handler.h
2 +++ b/backend/wbpublic/grt/spatial_handler.h
3 @@ -24,12 +24,12 @@
4 #ifndef SPATIAL_HANDLER_H_
5 #define SPATIAL_HANDLER_H_
7 -#include <gdal/ogrsf_frmts.h>
8 -#include <gdal/ogr_api.h>
9 -#include <gdal/gdal_pam.h>
10 -#include <gdal/memdataset.h>
11 -#include <gdal/gdal_alg.h>
12 -#include <gdal/gdal.h>
13 +#include <ogrsf_frmts.h>
14 +#include <ogr_api.h>
15 +#include <gdal_pam.h>
16 +#include <memdataset.h>
17 +#include <gdal_alg.h>
18 +#include <gdal.h>
19 #include <deque>
20 #include "base/geometry.h"
21 #include "wbpublic_public_interface.h"
22 --- a/backend/wbpublic/grtui/geom_draw_box.h
23 +++ b/backend/wbpublic/grtui/geom_draw_box.h
24 @@ -25,7 +25,7 @@
25 #define _GEOM_DRAW_BOX_H_
27 #include <mforms/drawbox.h>
28 -#include <gdal/ogr_geometry.h>
29 +#include <ogr_geometry.h>
30 #include "wbpublic_public_interface.h"
32 class WBPUBLICBACKEND_PUBLIC_FUNC GeomDrawBox : public mforms::DrawBox {
33 --- a/backend/wbpublic/objimpl/db.query/db_query_Resultset.cpp
34 +++ b/backend/wbpublic/objimpl/db.query/db_query_Resultset.cpp
35 @@ -21,9 +21,9 @@
36 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
39 -#include <gdal/ogrsf_frmts.h>
40 -#include <gdal/ogr_api.h>
41 -#include <gdal/gdal.h>
42 +#include <ogrsf_frmts.h>
43 +#include <ogr_api.h>
44 +#include <gdal.h>
46 #include <grts/structs.db.query.h>
47 #include <grtpp_util.h>