-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproj_deprecated_api.patch
36 lines (27 loc) · 1.09 KB
/
proj_deprecated_api.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
diff --unified --recursive --text grib2/wgrib2/Proj4.c grib2.new/wgrib2/Proj4.c
--- grib2/wgrib2/Proj4.c 2016-03-03 21:42:42.000000000 +0100
+++ grib2.new/wgrib2/Proj4.c 2019-09-10 11:52:24.232952563 +0200
@@ -18,6 +18,8 @@
#ifdef USE_PROJ4
+#define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H
+
#include "proj_api.h"
#include "proj4_wgrib2.h"
diff --unified --recursive --text grib2/wgrib2/proj4_initialize.c grib2.new/wgrib2/proj4_initialize.c
--- grib2/wgrib2/proj4_initialize.c 2015-10-13 18:40:25.000000000 +0200
+++ grib2.new/wgrib2/proj4_initialize.c 2019-09-10 11:52:44.896248580 +0200
@@ -7,6 +7,8 @@
#ifdef USE_PROJ4
+#define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H
+
#include "proj_api.h"
#include "proj4_wgrib2.h"
diff --unified --recursive --text grib2/wgrib2/proj4_transform.c grib2.new/wgrib2/proj4_transform.c
--- grib2/wgrib2/proj4_transform.c 2014-05-16 14:05:53.000000000 +0200
+++ grib2.new/wgrib2/proj4_transform.c 2019-09-10 11:52:59.819554922 +0200
@@ -10,6 +10,8 @@
#ifdef USE_PROJ4
+#define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H
+
#include "proj_api.h"
#include "proj4_wgrib2.h"