ncl/ncl-hdf4.3.patch

23 lines
850 B
Diff
Raw Normal View History

2024-10-03 02:21:37 +00:00
diff -up ncl-6.6.2/ncarview/src/lib/libncarg_ras/hdf.c.hdf4.3 ncl-6.6.2/ncarview/src/lib/libncarg_ras/hdf.c
--- ncl-6.6.2/ncarview/src/lib/libncarg_ras/hdf.c.hdf4.3 2019-02-27 16:44:39.000000000 -0700
+++ ncl-6.6.2/ncarview/src/lib/libncarg_ras/hdf.c 2024-03-01 17:37:19.489279369 -0700
@@ -53,7 +53,6 @@
#include <ncarg/c.h>
#include <hdf.h>
#include <df.h>
-#include <dfgr.h>
#include "ncarg_ras.h"
#include "hdfP.h"
#include "options.h"
diff -up ncl-6.6.2/ni/src/ncl/FileSupport.c.hdf4.3 ncl-6.6.2/ni/src/ncl/FileSupport.c
--- ncl-6.6.2/ni/src/ncl/FileSupport.c.hdf4.3 2019-02-27 16:44:39.000000000 -0700
+++ ncl-6.6.2/ni/src/ncl/FileSupport.c 2024-03-01 18:01:16.326558868 -0700
@@ -39,7 +39,6 @@ short NCLuseAFS;
#include <netcdf.h>
#ifdef BuildHDF4
-#include <dfi.h>
#include <mfhdf.h>
#ifdef BuildHDFEOS
#include <HdfEosDef.h>