pkgsrc/devel/hdf/patches/patch-aj

83 lines
4.1 KiB
Text
Raw Normal View History

$NetBSD: patch-aj,v 1.8 2009/12/10 17:10:14 drochner Exp $
--- mfhdf/ncgen/Makefile.in.orig 2008-10-13 21:39:11.000000000 +0200
Changes 4.2r1: Configuration * By default HDF4 libraries and utilities are installed under <source_dir>/NewHDF * Windows configuration, build and testing procedures have been changed. Please see INSTALL_WINDOWS.txt file for more information Library * New API SDidtype was added to the library (bug #766) * HCgetcompress renamed to HCPgetcompress * New API HCget_config_info added * The default chunk cache size was changed for 2D and higher chunks * Pablo instumentation was removed Utilities * hdiff and hrepack are supported on Windows. * Substantial performance improvements in hdiff and hrepack Support for new platforms and compilers * Fortran IBM xlf v 8.1 and Absoft f95 version 8.2 compilers are supported on Mac OSX. * Absoft Fortran compiler f95 version 9.0 is supported on Linux 2.4 * PGI C and Fortran compilers are supported on Linux 2.4 * Intel C and Fortran compilers are supported on Linux 2.4 * Cray TS IEEE is supported. Bugs fixed since HDF4.2r0 * VERY IMPORTANT: Data compressed with SZIP may be corrupted; fixed. For more information see "HDF4.2r1 SZIP Release Notes" available at http://hdf.ncsa.uiuc.edu/doc_resource/SZIP/SZIP_HDF4_2r1.pdf * Fortran couldn't read names with spaces when NetCDF interfaces were used; fixed * Library failed to compile in presence of the NetCDF library; fixed * h4fc couldn't create object files; fixed * When rank of SDS is 0, some SD APIs give segmentation fault (bug 1045); fixed * Some GR images with special elements are read in as duplicate (bug 814); fixed * Many bugs fixed in hdiff and hrepack utilities
2005-02-24 17:25:38 +01:00
+++ mfhdf/ncgen/Makefile.in
@@ -37,7 +37,7 @@ build_triplet = @build@
host_triplet = @host@
DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
$(top_srcdir)/config/commence.am
-bin_PROGRAMS = ncgen$(EXEEXT)
+bin_PROGRAMS = hdfncgen$(EXEEXT)
@HDF_BUILD_FORTRAN_FALSE@@HDF_BUILD_NETCDF_TRUE@noinst_PROGRAMS = ctest0$(EXEEXT)
@HDF_BUILD_FORTRAN_TRUE@@HDF_BUILD_NETCDF_TRUE@noinst_PROGRAMS = ctest0$(EXEEXT) \
@HDF_BUILD_FORTRAN_TRUE@@HDF_BUILD_NETCDF_TRUE@ ftest0$(EXEEXT)
@@ -242,11 +242,11 @@ ftest0_SOURCES =
#############################################################################
#############################################################################
-man1_MANS = ncgen.1
+man1_MANS = hdfncgen.1
#############################################################################
#############################################################################
-NCDUMP = ../ncdump/ncdump
+NCDUMP = ../ncdump/hdfncdump
#############################################################################
#############################################################################
@@ -328,7 +328,7 @@ clean-noinstPROGRAMS:
@HDF_BUILD_NETCDF_FALSE@ftest0$(EXEEXT): $(ftest0_OBJECTS) $(ftest0_DEPENDENCIES)
@HDF_BUILD_NETCDF_FALSE@ @rm -f ftest0$(EXEEXT)
@HDF_BUILD_NETCDF_FALSE@ $(LINK) $(ftest0_OBJECTS) $(ftest0_LDADD) $(LIBS)
-ncgen$(EXEEXT): $(ncgen_OBJECTS) $(ncgen_DEPENDENCIES)
+hdfncgen$(EXEEXT): $(ncgen_OBJECTS) $(ncgen_DEPENDENCIES)
@rm -f ncgen$(EXEEXT)
$(LINK) $(ncgen_OBJECTS) $(ncgen_LDADD) $(LIBS)
@@ -613,13 +613,13 @@ ncgenyy.c: ncgen.l
$(LEX) $(srcdir)/ncgen.l
mv lex.yy.c ncgenyy.c
-@HDF_BUILD_FORTRAN_TRUE@@HDF_BUILD_NETCDF_TRUE@check: ncgen $(srcdir)/test0.cdl b-check c-check f-check
-@HDF_BUILD_FORTRAN_FALSE@@HDF_BUILD_NETCDF_TRUE@check: ncgen $(srcdir)/test0.cdl b-check c-check
+@HDF_BUILD_FORTRAN_TRUE@@HDF_BUILD_NETCDF_TRUE@check: hdfncgen $(srcdir)/test0.cdl b-check c-check f-check
+@HDF_BUILD_FORTRAN_FALSE@@HDF_BUILD_NETCDF_TRUE@check: hdfncgen $(srcdir)/test0.cdl b-check c-check
-@HDF_BUILD_NETCDF_FALSE@check: ncgen $(srcdir)/test0.cdl b-check c-check
+@HDF_BUILD_NETCDF_FALSE@check: hdfncgen $(srcdir)/test0.cdl b-check c-check
Changes 4.2r1: Configuration * By default HDF4 libraries and utilities are installed under <source_dir>/NewHDF * Windows configuration, build and testing procedures have been changed. Please see INSTALL_WINDOWS.txt file for more information Library * New API SDidtype was added to the library (bug #766) * HCgetcompress renamed to HCPgetcompress * New API HCget_config_info added * The default chunk cache size was changed for 2D and higher chunks * Pablo instumentation was removed Utilities * hdiff and hrepack are supported on Windows. * Substantial performance improvements in hdiff and hrepack Support for new platforms and compilers * Fortran IBM xlf v 8.1 and Absoft f95 version 8.2 compilers are supported on Mac OSX. * Absoft Fortran compiler f95 version 9.0 is supported on Linux 2.4 * PGI C and Fortran compilers are supported on Linux 2.4 * Intel C and Fortran compilers are supported on Linux 2.4 * Cray TS IEEE is supported. Bugs fixed since HDF4.2r0 * VERY IMPORTANT: Data compressed with SZIP may be corrupted; fixed. For more information see "HDF4.2r1 SZIP Release Notes" available at http://hdf.ncsa.uiuc.edu/doc_resource/SZIP/SZIP_HDF4_2r1.pdf * Fortran couldn't read names with spaces when NetCDF interfaces were used; fixed * Library failed to compile in presence of the NetCDF library; fixed * h4fc couldn't create object files; fixed * When rank of SDS is 0, some SD APIs give segmentation fault (bug 1045); fixed * Some GR images with special elements are read in as duplicate (bug 814); fixed * Many bugs fixed in hdiff and hrepack utilities
2005-02-24 17:25:38 +01:00
-b-check: ncgen $(srcdir)/test0.cdl test1.cdl
- $(TESTS_ENVIRONMENT) ./ncgen -b test1.cdl
+b-check: hdfncgen $(srcdir)/test0.cdl test1.cdl
+ $(TESTS_ENVIRONMENT) ./hdfncgen -b test1.cdl
$(TESTS_ENVIRONMENT) $(NCDUMP) test1.nc > test2.cdl
@if $(DIFF) test1.cdl test2.cdl; then \
echo "*** ncgen -b test successful ***"; \
@@ -645,8 +645,8 @@ c-check: test2.cdl ctest0
@HDF_BUILD_FORTRAN_TRUE@@HDF_BUILD_NETCDF_TRUE@ echo "*** ncgen -f test failed (but roundoff differences are OK) ***"; \
@HDF_BUILD_FORTRAN_TRUE@@HDF_BUILD_NETCDF_TRUE@ fi
-@HDF_BUILD_FORTRAN_TRUE@@HDF_BUILD_NETCDF_TRUE@ftest0$(EXEEXT): ncgen test0.cdl netcdf.inc
-@HDF_BUILD_FORTRAN_TRUE@@HDF_BUILD_NETCDF_TRUE@ $(TESTS_ENVIRONMENT) ./ncgen -f -o ftest0.nc $(srcdir)/test0.cdl > test0.f
+@HDF_BUILD_FORTRAN_TRUE@@HDF_BUILD_NETCDF_TRUE@ftest0$(EXEEXT): hdfncgen test0.cdl netcdf.inc
+@HDF_BUILD_FORTRAN_TRUE@@HDF_BUILD_NETCDF_TRUE@ $(TESTS_ENVIRONMENT) ./hdfncgen -f -o ftest0.nc $(srcdir)/test0.cdl > test0.f
@HDF_BUILD_FORTRAN_TRUE@@HDF_BUILD_NETCDF_TRUE@ $(F77) $(FFLAGS) -o $@ test0.f $(LDFLAGS) $(SHLIBLOC) $(LIBS)
Changes 4.2r1: Configuration * By default HDF4 libraries and utilities are installed under <source_dir>/NewHDF * Windows configuration, build and testing procedures have been changed. Please see INSTALL_WINDOWS.txt file for more information Library * New API SDidtype was added to the library (bug #766) * HCgetcompress renamed to HCPgetcompress * New API HCget_config_info added * The default chunk cache size was changed for 2D and higher chunks * Pablo instumentation was removed Utilities * hdiff and hrepack are supported on Windows. * Substantial performance improvements in hdiff and hrepack Support for new platforms and compilers * Fortran IBM xlf v 8.1 and Absoft f95 version 8.2 compilers are supported on Mac OSX. * Absoft Fortran compiler f95 version 9.0 is supported on Linux 2.4 * PGI C and Fortran compilers are supported on Linux 2.4 * Intel C and Fortran compilers are supported on Linux 2.4 * Cray TS IEEE is supported. Bugs fixed since HDF4.2r0 * VERY IMPORTANT: Data compressed with SZIP may be corrupted; fixed. For more information see "HDF4.2r1 SZIP Release Notes" available at http://hdf.ncsa.uiuc.edu/doc_resource/SZIP/SZIP_HDF4_2r1.pdf * Fortran couldn't read names with spaces when NetCDF interfaces were used; fixed * Library failed to compile in presence of the NetCDF library; fixed * h4fc couldn't create object files; fixed * When rank of SDS is 0, some SD APIs give segmentation fault (bug 1045); fixed * Some GR images with special elements are read in as duplicate (bug 814); fixed * Many bugs fixed in hdiff and hrepack utilities
2005-02-24 17:25:38 +01:00
netcdf.inc:
@@ -655,11 +655,11 @@ netcdf.inc:
Changes 4.2r1: Configuration * By default HDF4 libraries and utilities are installed under <source_dir>/NewHDF * Windows configuration, build and testing procedures have been changed. Please see INSTALL_WINDOWS.txt file for more information Library * New API SDidtype was added to the library (bug #766) * HCgetcompress renamed to HCPgetcompress * New API HCget_config_info added * The default chunk cache size was changed for 2D and higher chunks * Pablo instumentation was removed Utilities * hdiff and hrepack are supported on Windows. * Substantial performance improvements in hdiff and hrepack Support for new platforms and compilers * Fortran IBM xlf v 8.1 and Absoft f95 version 8.2 compilers are supported on Mac OSX. * Absoft Fortran compiler f95 version 9.0 is supported on Linux 2.4 * PGI C and Fortran compilers are supported on Linux 2.4 * Intel C and Fortran compilers are supported on Linux 2.4 * Cray TS IEEE is supported. Bugs fixed since HDF4.2r0 * VERY IMPORTANT: Data compressed with SZIP may be corrupted; fixed. For more information see "HDF4.2r1 SZIP Release Notes" available at http://hdf.ncsa.uiuc.edu/doc_resource/SZIP/SZIP_HDF4_2r1.pdf * Fortran couldn't read names with spaces when NetCDF interfaces were used; fixed * Library failed to compile in presence of the NetCDF library; fixed * h4fc couldn't create object files; fixed * When rank of SDS is 0, some SD APIs give segmentation fault (bug 1045); fixed * Some GR images with special elements are read in as duplicate (bug 814); fixed * Many bugs fixed in hdiff and hrepack utilities
2005-02-24 17:25:38 +01:00
test1.cdl: test0.nc
$(TESTS_ENVIRONMENT) $(NCDUMP) -n test1 test0.nc > $@
Changes 4.2r1: Configuration * By default HDF4 libraries and utilities are installed under <source_dir>/NewHDF * Windows configuration, build and testing procedures have been changed. Please see INSTALL_WINDOWS.txt file for more information Library * New API SDidtype was added to the library (bug #766) * HCgetcompress renamed to HCPgetcompress * New API HCget_config_info added * The default chunk cache size was changed for 2D and higher chunks * Pablo instumentation was removed Utilities * hdiff and hrepack are supported on Windows. * Substantial performance improvements in hdiff and hrepack Support for new platforms and compilers * Fortran IBM xlf v 8.1 and Absoft f95 version 8.2 compilers are supported on Mac OSX. * Absoft Fortran compiler f95 version 9.0 is supported on Linux 2.4 * PGI C and Fortran compilers are supported on Linux 2.4 * Intel C and Fortran compilers are supported on Linux 2.4 * Cray TS IEEE is supported. Bugs fixed since HDF4.2r0 * VERY IMPORTANT: Data compressed with SZIP may be corrupted; fixed. For more information see "HDF4.2r1 SZIP Release Notes" available at http://hdf.ncsa.uiuc.edu/doc_resource/SZIP/SZIP_HDF4_2r1.pdf * Fortran couldn't read names with spaces when NetCDF interfaces were used; fixed * Library failed to compile in presence of the NetCDF library; fixed * h4fc couldn't create object files; fixed * When rank of SDS is 0, some SD APIs give segmentation fault (bug 1045); fixed * Some GR images with special elements are read in as duplicate (bug 814); fixed * Many bugs fixed in hdiff and hrepack utilities
2005-02-24 17:25:38 +01:00
-test0.nc: ncgen $(srcdir)/test0.cdl
- $(TESTS_ENVIRONMENT) ./ncgen -b -o test0.nc $(srcdir)/test0.cdl
Changes 4.2r1: Configuration * By default HDF4 libraries and utilities are installed under <source_dir>/NewHDF * Windows configuration, build and testing procedures have been changed. Please see INSTALL_WINDOWS.txt file for more information Library * New API SDidtype was added to the library (bug #766) * HCgetcompress renamed to HCPgetcompress * New API HCget_config_info added * The default chunk cache size was changed for 2D and higher chunks * Pablo instumentation was removed Utilities * hdiff and hrepack are supported on Windows. * Substantial performance improvements in hdiff and hrepack Support for new platforms and compilers * Fortran IBM xlf v 8.1 and Absoft f95 version 8.2 compilers are supported on Mac OSX. * Absoft Fortran compiler f95 version 9.0 is supported on Linux 2.4 * PGI C and Fortran compilers are supported on Linux 2.4 * Intel C and Fortran compilers are supported on Linux 2.4 * Cray TS IEEE is supported. Bugs fixed since HDF4.2r0 * VERY IMPORTANT: Data compressed with SZIP may be corrupted; fixed. For more information see "HDF4.2r1 SZIP Release Notes" available at http://hdf.ncsa.uiuc.edu/doc_resource/SZIP/SZIP_HDF4_2r1.pdf * Fortran couldn't read names with spaces when NetCDF interfaces were used; fixed * Library failed to compile in presence of the NetCDF library; fixed * h4fc couldn't create object files; fixed * When rank of SDS is 0, some SD APIs give segmentation fault (bug 1045); fixed * Some GR images with special elements are read in as duplicate (bug 814); fixed * Many bugs fixed in hdiff and hrepack utilities
2005-02-24 17:25:38 +01:00
+test0.nc: hdfncgen $(srcdir)/test0.cdl
+ $(TESTS_ENVIRONMENT) ./hdfncgen -b -o test0.nc $(srcdir)/test0.cdl
Changes 4.2r1: Configuration * By default HDF4 libraries and utilities are installed under <source_dir>/NewHDF * Windows configuration, build and testing procedures have been changed. Please see INSTALL_WINDOWS.txt file for more information Library * New API SDidtype was added to the library (bug #766) * HCgetcompress renamed to HCPgetcompress * New API HCget_config_info added * The default chunk cache size was changed for 2D and higher chunks * Pablo instumentation was removed Utilities * hdiff and hrepack are supported on Windows. * Substantial performance improvements in hdiff and hrepack Support for new platforms and compilers * Fortran IBM xlf v 8.1 and Absoft f95 version 8.2 compilers are supported on Mac OSX. * Absoft Fortran compiler f95 version 9.0 is supported on Linux 2.4 * PGI C and Fortran compilers are supported on Linux 2.4 * Intel C and Fortran compilers are supported on Linux 2.4 * Cray TS IEEE is supported. Bugs fixed since HDF4.2r0 * VERY IMPORTANT: Data compressed with SZIP may be corrupted; fixed. For more information see "HDF4.2r1 SZIP Release Notes" available at http://hdf.ncsa.uiuc.edu/doc_resource/SZIP/SZIP_HDF4_2r1.pdf * Fortran couldn't read names with spaces when NetCDF interfaces were used; fixed * Library failed to compile in presence of the NetCDF library; fixed * h4fc couldn't create object files; fixed * When rank of SDS is 0, some SD APIs give segmentation fault (bug 1045); fixed * Some GR images with special elements are read in as duplicate (bug 814); fixed * Many bugs fixed in hdiff and hrepack utilities
2005-02-24 17:25:38 +01:00
-ctest0$(EXEEXT): ncgen $(srcdir)/test0.cdl
- $(TESTS_ENVIRONMENT) ./ncgen -c -o ctest0.nc $(srcdir)/test0.cdl > test0.c
+ctest0$(EXEEXT): hdfncgen $(srcdir)/test0.cdl
+ $(TESTS_ENVIRONMENT) ./hdfncgen -c -o ctest0.nc $(srcdir)/test0.cdl > test0.c
$(COMPILE) -c -o ctest0$(EXEEXT).o test0.c
$(LINK) ctest0$(EXEEXT).o $(ctest0_LDADD) $(LDFLAGS) $(SHLIBLOC) $(LIBS)
Changes 4.2r1: Configuration * By default HDF4 libraries and utilities are installed under <source_dir>/NewHDF * Windows configuration, build and testing procedures have been changed. Please see INSTALL_WINDOWS.txt file for more information Library * New API SDidtype was added to the library (bug #766) * HCgetcompress renamed to HCPgetcompress * New API HCget_config_info added * The default chunk cache size was changed for 2D and higher chunks * Pablo instumentation was removed Utilities * hdiff and hrepack are supported on Windows. * Substantial performance improvements in hdiff and hrepack Support for new platforms and compilers * Fortran IBM xlf v 8.1 and Absoft f95 version 8.2 compilers are supported on Mac OSX. * Absoft Fortran compiler f95 version 9.0 is supported on Linux 2.4 * PGI C and Fortran compilers are supported on Linux 2.4 * Intel C and Fortran compilers are supported on Linux 2.4 * Cray TS IEEE is supported. Bugs fixed since HDF4.2r0 * VERY IMPORTANT: Data compressed with SZIP may be corrupted; fixed. For more information see "HDF4.2r1 SZIP Release Notes" available at http://hdf.ncsa.uiuc.edu/doc_resource/SZIP/SZIP_HDF4_2r1.pdf * Fortran couldn't read names with spaces when NetCDF interfaces were used; fixed * Library failed to compile in presence of the NetCDF library; fixed * h4fc couldn't create object files; fixed * When rank of SDS is 0, some SD APIs give segmentation fault (bug 1045); fixed * Some GR images with special elements are read in as duplicate (bug 814); fixed * Many bugs fixed in hdiff and hrepack utilities
2005-02-24 17:25:38 +01:00