diff options
author | drochner <drochner@pkgsrc.org> | 2004-04-20 18:14:37 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2004-04-20 18:14:37 +0000 |
commit | 6277037b0092146b449b5316556f7624945f2db5 (patch) | |
tree | ff64a20d5e98121b559b3e1a489a1691d5872b36 /devel/hdf/patches | |
parent | adcbc19ebdf9e7a4aaab0177f7f924050a183071 (diff) | |
download | pkgsrc-6277037b0092146b449b5316556f7624945f2db5.tar.gz |
update to 4.2r0
changes:
-configuration changes
-support "szip" compression
-some utilities added
-fp2hdf replaced by hdfimport
-USE_BUILDLINK3
Diffstat (limited to 'devel/hdf/patches')
-rw-r--r-- | devel/hdf/patches/patch-aa | 8 | ||||
-rw-r--r-- | devel/hdf/patches/patch-ab | 8 | ||||
-rw-r--r-- | devel/hdf/patches/patch-ac | 8 | ||||
-rw-r--r-- | devel/hdf/patches/patch-ad | 47 | ||||
-rw-r--r-- | devel/hdf/patches/patch-ae | 87 | ||||
-rw-r--r-- | devel/hdf/patches/patch-af | 32 | ||||
-rw-r--r-- | devel/hdf/patches/patch-ag | 10 | ||||
-rw-r--r-- | devel/hdf/patches/patch-ah | 28 | ||||
-rw-r--r-- | devel/hdf/patches/patch-ai | 85 | ||||
-rw-r--r-- | devel/hdf/patches/patch-aj | 69 | ||||
-rw-r--r-- | devel/hdf/patches/patch-ak | 13 | ||||
-rw-r--r-- | devel/hdf/patches/patch-al | 66 | ||||
-rw-r--r-- | devel/hdf/patches/patch-an | 31 | ||||
-rw-r--r-- | devel/hdf/patches/patch-ao | 18 | ||||
-rw-r--r-- | devel/hdf/patches/patch-ap | 8 | ||||
-rw-r--r-- | devel/hdf/patches/patch-aq | 16 | ||||
-rw-r--r-- | devel/hdf/patches/patch-at | 18 | ||||
-rw-r--r-- | devel/hdf/patches/patch-ba | 12 |
18 files changed, 102 insertions, 462 deletions
diff --git a/devel/hdf/patches/patch-aa b/devel/hdf/patches/patch-aa deleted file mode 100644 index 059e55c7821..00000000000 --- a/devel/hdf/patches/patch-aa +++ /dev/null @@ -1,8 +0,0 @@ -$NetBSD: patch-aa,v 1.1.1.1 2001/02/28 22:18:39 jtb Exp $ - ---- /dev/null Mon Feb 26 17:25:58 2001 -+++ Makefile -@@ -0,0 +1,3 @@ -+SUBDIR+= hdf man mfhdf -+ -+.include <bsd.subdir.mk> diff --git a/devel/hdf/patches/patch-ab b/devel/hdf/patches/patch-ab deleted file mode 100644 index ae70a467ad0..00000000000 --- a/devel/hdf/patches/patch-ab +++ /dev/null @@ -1,8 +0,0 @@ -$NetBSD: patch-ab,v 1.1.1.1 2001/02/28 22:18:39 jtb Exp $ - ---- /dev/null Mon Feb 26 17:27:24 2001 -+++ hdf/Makefile -@@ -0,0 +1,3 @@ -+SUBDIR+= src util -+ -+.include <bsd.subdir.mk> diff --git a/devel/hdf/patches/patch-ac b/devel/hdf/patches/patch-ac deleted file mode 100644 index 0bf35278622..00000000000 --- a/devel/hdf/patches/patch-ac +++ /dev/null @@ -1,8 +0,0 @@ -$NetBSD: patch-ac,v 1.1.1.1 2001/02/28 22:18:39 jtb Exp $ - ---- /dev/null Mon Feb 26 17:28:40 2001 -+++ mfhdf/Makefile -@@ -0,0 +1,3 @@ -+SUBDIR+= libsrc dumper ncdump ncgen -+ -+.include <bsd.subdir.mk> diff --git a/devel/hdf/patches/patch-ad b/devel/hdf/patches/patch-ad deleted file mode 100644 index 44c5b002538..00000000000 --- a/devel/hdf/patches/patch-ad +++ /dev/null @@ -1,47 +0,0 @@ -$NetBSD: patch-ad,v 1.5 2002/05/03 23:14:52 jtb Exp $ - ---- /dev/null Wed May 1 14:00:57 2002 -+++ hdf/src/Makefile Wed May 1 14:01:38 2002 -@@ -0,0 +1,42 @@ -+LIB= df -+ -+LIBDIR= ${PREFIX}/lib -+ -+CPPFLAGS+= -Dunix -DMEM_LIST -+ -+NOLINT= 1 -+MKPIC= no -+MKPICINSTALL= no -+MKPROFILE= no -+ -+NOGCCERROR= 1 -+ -+SRCS= atom.c bitvect.c cdeflate.c cnbit.c cnone.c crle.c cskphuff.c \ -+ df24.c df24f.c dfan.c dfanf.c dfcomp.c dfconv.c dff.c dfgr.c \ -+ dfgroup.c dfimcomp.c dfjpeg.c dfkconv.c dfkcray.c dfkfuji.c \ -+ dfknat.c dfkswap.c dfkvms.c dfp.c dfpf.c dfr8.c dfr8f.c dfrle.c \ -+ dfsd.c dfsdf.c dfstubs.c dfufp2i.c dfunjpeg.c dfutil.c dfutilf.c\ -+ dir_mac.c dynarray.c glist.c hbitio.c hblocks.c hbuffer.c \ -+ hchunks.c hcomp.c hcompri.c hdfalloc.c herr.c herrf.c hextelt.c \ -+ hfile.c hfiledd.c hfilef.c hkit.c linklist.c mcache.c \ -+ mfan.c mfanf.c mfgr.c mfgrf.c mstdio.c tbbt.c vattr.c vattrf.c \ -+ vconv.c vg.c vgf.c vgp.c vhi.c vio.c vparse.c vrw.c vsfld.c \ -+ df24ff.f dfanff.f dfff.f dfpff.f dfr8ff.f dfsdff.f dfufp2if.f \ -+ hfileff.f mfgrff.f vattrff.f vgff.f -+ -+INCLUDES= atom.h bitvect.h cdeflate.h cnbit.h cnone.h crle.h cskphuff.h \ -+ df.h dfan.h dfconvrt.h dffunc.inc dfgr.h dfi.h dfivms.h dfrig.h \ -+ dfsd.h dfstubs.h dfufp2i.h dir_mac.h dynarray.h glist.h \ -+ hbitio.h hchunks.h hcomp.h hcompi.h hconv.h hdf.h hdf.inc \ -+ hdfi.h herr.h hfile.h hkit.h hlimits.h hntdefs.h hproto.h \ -+ hqueue.h htags.h linklist.h maldebug.h mcache.h mfan.h mfgr.h \ -+ mstdio.h patchlevel.h src.inc sys_dir_mac.h tbbt.h trace.h \ -+ vattr.h vg.h vgint.h -+ -+afterinstall: -+ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/include/hdf -+ for f in ${INCLUDES}; do \ -+ ${BSD_INSTALL_DATA} $$f ${PREFIX}/include/hdf/$$f; \ -+ done -+ -+.include <bsd.lib.mk> diff --git a/devel/hdf/patches/patch-ae b/devel/hdf/patches/patch-ae deleted file mode 100644 index f25f350c3f7..00000000000 --- a/devel/hdf/patches/patch-ae +++ /dev/null @@ -1,87 +0,0 @@ -$NetBSD: patch-ae,v 1.5 2002/05/03 23:14:52 jtb Exp $ - ---- /dev/null Wed May 1 14:04:01 2002 -+++ hdf/util/Makefile Wed May 1 14:07:48 2002 -@@ -0,0 +1,82 @@ -+UTILS= hdf24to8 hdfcomp hdfed hdfls hdfpack hdftopal hdftor8 \ -+ paltohdf r8tohdf ristosds vmake vshow hdf8to24 \ -+ hdf2jpeg jpeg2hdf fp2hdf hdfunpac vcompat -+ -+all: ${UTILS} -+ -+BINDIR= ${PREFIX}/bin -+LIBDIR= ${PREFIX}/lib -+ -+CPPFLAGS+= -Dunix -+CPPFLAGS+= -I${.CURDIR}/../src -+ -+LDFLAGS+= -L${.CURDIR}/../src -+LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.jpeg}/lib -+LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.zlib}/lib -+ -+LDADD+= -ldf -ljpeg -lz -+ -+NOGCCERROR= 1 -+ -+fp2hdf: fp2hdf.o -+ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -lm -o $@ -+ -+hdf24to8: hdf24to8.o -+ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ -+ -+hdf2jpeg: hdf2jpeg.o -+ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ -+ -+hdf8to24: hdf8to24.o -+ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ -+ -+hdfcomp: hdfcomp.o -+ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ -+ -+hdfed: he_main.o he_cntrl.o he_disp.o he_file.o -+ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ -+ -+hdfls: hdfls.o -+ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ -+ -+hdfpack: hdfpack.o -+ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ -+ -+hdftopal: hdftopal.o -+ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ -+ -+hdftor8: hdftor8.o -+ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ -+ -+hdfunpac: hdfunpac.o -+ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ -+ -+jpeg2hdf: jpeg2hdf.o -+ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ -+ -+paltohdf: paltohdf.o -+ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ -+ -+r8tohdf: r8tohdf.o -+ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ -+ -+ristosds: ristosds.o -+ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ -+ -+vcompat: vcompat.o -+ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ -+ -+vmake: vmake.o -+ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ -+ -+vshow: vshow.o -+ ${CC} ${CPPFLAGS} ${CFLAGS} $? ${LDFLAGS} ${LDADD} -o $@ -+ -+ -+install: ${UTILS} -+ @for f in ${UTILS}; do \ -+ ${BSD_INSTALL_PROGRAM} $$f ${BINDIR}; \ -+ done -+ -+clean: -+ -rm -f *.o ${UTILS} diff --git a/devel/hdf/patches/patch-af b/devel/hdf/patches/patch-af deleted file mode 100644 index 6db630bcc65..00000000000 --- a/devel/hdf/patches/patch-af +++ /dev/null @@ -1,32 +0,0 @@ -$NetBSD: patch-af,v 1.7 2002/05/03 23:14:52 jtb Exp $ - ---- mfhdf/libsrc/Makefile.orig Thu Apr 19 00:17:24 2001 -+++ mfhdf/libsrc/Makefile -@@ -0,0 +1,27 @@ -+.PATH: ${.CURDIR} ${.CURDIR}/../fortran ${.CURDIR}/../fortran/config -+ -+LIB= mfhdf -+ -+LIBDIR= ${PREFIX}/lib -+ -+SRCS= array.c attr.c cdf.c dim.c file.c iarray.c error.c globdef.c \ -+ putget.c putgetg.c sharray.c string.c var.c hdfsds.c mfsd.c \ -+ nssdc.c xdrposix.c jackets-fbsd.c mfsdf.c mfsdff.f -+ -+CPPFLAGS+= -Dunix -DHDF -DNDEBUG -DNETLONG=int -+CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../hdf/src -+ -+NOLINT= 1 -+MKPIC= no -+MKPICINSTALL= no -+MKPROFILE= no -+ -+NOGCCERROR= 1 -+ -+afterinstall: -+ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/include/hdf -+ for f in hdf2netcdf.h local_nc.h mfhdf.h netcdf.h; do \ -+ ${BSD_INSTALL_DATA} $$f ${PREFIX}/include/hdf/; \ -+ done -+ -+.include <bsd.lib.mk> diff --git a/devel/hdf/patches/patch-ag b/devel/hdf/patches/patch-ag deleted file mode 100644 index b652870774f..00000000000 --- a/devel/hdf/patches/patch-ag +++ /dev/null @@ -1,10 +0,0 @@ -$NetBSD: patch-ag,v 1.1.1.1 2001/02/28 22:18:41 jtb Exp $ - ---- /dev/null Wed Feb 28 13:05:04 2001 -+++ man/Makefile -@@ -0,0 +1,5 @@ -+MAN= hdf.1 hdfunpac.1 gr_chunk.3 -+ -+MANDIR= ${PREFIX}/man -+ -+.include <bsd.man.mk> diff --git a/devel/hdf/patches/patch-ah b/devel/hdf/patches/patch-ah deleted file mode 100644 index 5a8b1559d36..00000000000 --- a/devel/hdf/patches/patch-ah +++ /dev/null @@ -1,28 +0,0 @@ -$NetBSD: patch-ah,v 1.6 2002/05/03 23:14:52 jtb Exp $ - ---- /dev/null Wed May 1 14:04:01 2002 -+++ mfhdf/dumper/Makefile Wed May 1 14:10:17 2002 -@@ -0,0 +1,23 @@ -+PROG= hdp -+ -+SRCS= hdp.c hdp_list.c hdp_sds.c hdp_util.c hdp_vd.c hdp_vg.c \ -+ hdp_rig.c show.c hdp_dump.c hdp_gr.c -+ -+BINDIR= ${PREFIX}/bin -+LIBDIR= ${PREFIX}/lib -+ -+CPPFLAGS+= -Dunix -+CPPFLAGS+= -I${.CURDIR}/../libsrc -+CPPFLAGS+= -I${.CURDIR}/../../hdf/src -+ -+LDFLAGS+= -L${.CURDIR}/../libsrc -+LDFLAGS+= -L${.CURDIR}/../../hdf/src -+LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.jpeg}/lib -+LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.zlib}/lib -+ -+LDADD+= -lmfhdf -ldf -ljpeg -lz -lm -+ -+NOMAN= 1 -+NOGCCERROR= 1 -+ -+.include <bsd.prog.mk> diff --git a/devel/hdf/patches/patch-ai b/devel/hdf/patches/patch-ai index 1ffa00ef507..dbdd13580d4 100644 --- a/devel/hdf/patches/patch-ai +++ b/devel/hdf/patches/patch-ai @@ -1,39 +1,48 @@ -$NetBSD: patch-ai,v 1.6 2002/05/03 23:14:52 jtb Exp $ +$NetBSD: patch-ai,v 1.7 2004/04/20 18:14:37 drochner Exp $ ---- /dev/null Wed May 1 14:20:26 2002 -+++ mfhdf/ncdump/Makefile Wed May 1 14:24:12 2002 -@@ -0,0 +1,34 @@ -+PROG= ncdump -+PROGNAME= hdfncdump -+ -+MAN= hdfncdump.1 -+ -+SRCS= ncdump.c vardata.c dumplib.c -+ -+BINDIR= ${PREFIX}/bin -+LIBDIR= ${PREFIX}/lib -+MANDIR= ${PREFIX}/man -+CFLAGS= -g -+CPPFLAGS+= -I${.CURDIR}/../libsrc -+ -+LDFLAGS+= -L${.CURDIR}/../libsrc -+LDFLAGS+= -L${.CURDIR}/../../hdf/src -+LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.jpeg}/lib -+LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.zlib}/lib -+ -+LDADD+= -lmfhdf -ldf -ljpeg -lz -+ -+NOGCCERROR= 1 -+ -+NCGEN= ${.CURDIR}/../ncgen/ncgen -+ -+test: ${PROG} test0.cdl -+ ${NCGEN} -o test0.nc -n test0.cdl -+ ./${PROG} test0.nc > test1.cdl -+ ${NCGEN} -o test1.nc -n test1.cdl -+ ./${PROG} -n test0 test1.nc > test2.cdl -+ @cmp test1.cdl test2.cdl && \ -+ echo "*** ${PROG} test successful ***" ; \ -+ rm test1.cdl test1.nc test2.cdl -+ -+.include <bsd.prog.mk> +--- mfhdf/ncdump/Makefile.in.orig 2003-11-07 19:39:00.000000000 +0100 ++++ mfhdf/ncdump/Makefile.in 2004-04-20 16:38:54.000000000 +0200 +@@ -156,7 +156,7 @@ + ############################################################################# + ############################################################################# + bin_PROGRAMS = ncdump +-man1_MANS = ncdump.1 ++man1_MANS = hdfncdump.1 + + ncdump_SOURCES = dumplib.c ncdump.c vardata.c + ncdump_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a +@@ -171,7 +171,7 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/bin/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/hdf/src/h4config.h + CONFIG_CLEAN_FILES = +-bin_PROGRAMS = ncdump$(EXEEXT) ++bin_PROGRAMS = hdfncdump$(EXEEXT) + PROGRAMS = $(bin_PROGRAMS) + + am_ncdump_OBJECTS = dumplib.$(OBJEXT) ncdump.$(OBJEXT) vardata.$(OBJEXT) +@@ -227,7 +227,7 @@ + + clean-binPROGRAMS: + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) +-ncdump$(EXEEXT): $(ncdump_OBJECTS) $(ncdump_DEPENDENCIES) ++hdfncdump$(EXEEXT): $(ncdump_OBJECTS) $(ncdump_DEPENDENCIES) + @rm -f ncdump$(EXEEXT) + $(LINK) $(ncdump_LDFLAGS) $(ncdump_OBJECTS) $(ncdump_LDADD) $(LIBS) + +@@ -491,11 +491,11 @@ + uninstall-man uninstall-man1 + + +-check: ncdump $(srcdir)/test0.cdl +- ../ncgen/ncgen -o test0.nc -n $(srcdir)/test0.cdl +- ./ncdump test0.nc > test1.cdl +- ../ncgen/ncgen -o test1.nc -n test1.cdl +- ./ncdump -n test0 test1.nc > test2.cdl ++check: hdfncdump $(srcdir)/test0.cdl ++ ../ncgen/hdfncgen -o test0.nc -n $(srcdir)/test0.cdl ++ ./hdfncdump test0.nc > test1.cdl ++ ../ncgen/hdfncgen -o test1.nc -n test1.cdl ++ ./hdfncdump -n test0 test1.nc > test2.cdl + @cmp test1.cdl test2.cdl && echo "*** ncdump test successful ***" ; \ + rm -f test1.nc test1.cdl test2.cdl + # Tell versions [3.59,3.63) of GNU make to not export all variables. diff --git a/devel/hdf/patches/patch-aj b/devel/hdf/patches/patch-aj index 371e5f143ac..8ca1cb14733 100644 --- a/devel/hdf/patches/patch-aj +++ b/devel/hdf/patches/patch-aj @@ -1,40 +1,31 @@ -$NetBSD: patch-aj,v 1.5 2002/05/03 23:14:52 jtb Exp $ +$NetBSD: patch-aj,v 1.6 2004/04/20 18:14:37 drochner Exp $ ---- /dev/null Wed May 1 14:04:01 2002 -+++ mfhdf/ncgen/Makefile Wed May 1 14:11:52 2002 -@@ -0,0 +1,35 @@ -+PROG= ncgen -+PROGNAME= hdfncgen -+ -+MAN= hdfncgen.1 -+ -+SRCS= main.c generate.c load.c ncgentab.c escapes.c getfill.c init.c \ -+ close.c genlib.c -+ -+BINDIR= ${PREFIX}/bin -+LIBDIR= ${PREFIX}/lib -+MANDIR= ${PREFIX}/man -+ -+CPPFLAGS+= -Dunix -DNDEBUG -+CPPFLAGS+= -I${.CURDIR}/../libsrc -+CPPFLAGS+= -I${.CURDIR}/../../hdf/src -+ -+LDFLAGS+= -L${.CURDIR}/../libsrc -+LDFLAGS+= -L${.CURDIR}/../../hdf/src -+LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.jpeg}/lib -+LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.zlib}/lib -+ -+LDADD+= -lmfhdf -ldf -ljpeg -lz -+ -+NOGCCERROR= 1 -+ -+ncgenyy.c: ncgen.l -+ ${LEX} ${LFLAGS} ncgen.l -+ mv lex.yy.c ncgenyy.c -+ -+ncgentab.c: ncgenyy.c ncgen.y -+ ${YACC} ${YFLAGS} ncgen.y -+ mv y.tab.c ncgentab.c -+ touch ncgentab.h -+ -+.include <bsd.prog.mk> +--- mfhdf/ncgen/Makefile.in.orig 2003-11-07 19:39:04.000000000 +0100 ++++ mfhdf/ncgen/Makefile.in 2004-04-20 15:53:32.000000000 +0200 +@@ -166,7 +166,7 @@ + + ############################################################################# + ############################################################################# +-man1_MANS = ncgen.1 ++man1_MANS = hdfncgen.1 + + + ############################################################################# +@@ -185,7 +185,7 @@ + mkinstalldirs = $(SHELL) $(top_srcdir)/bin/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/hdf/src/h4config.h + CONFIG_CLEAN_FILES = +-bin_PROGRAMS = ncgen$(EXEEXT) ++bin_PROGRAMS = hdfncgen$(EXEEXT) + PROGRAMS = $(bin_PROGRAMS) + + am_ncgen_OBJECTS = close.$(OBJEXT) escapes.$(OBJEXT) generate.$(OBJEXT) \ +@@ -246,7 +246,7 @@ + + clean-binPROGRAMS: + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) +-ncgen$(EXEEXT): $(ncgen_OBJECTS) $(ncgen_DEPENDENCIES) ++hdfncgen$(EXEEXT): $(ncgen_OBJECTS) $(ncgen_DEPENDENCIES) + @rm -f ncgen$(EXEEXT) + $(LINK) $(ncgen_LDFLAGS) $(ncgen_OBJECTS) $(ncgen_LDADD) $(LIBS) + diff --git a/devel/hdf/patches/patch-ak b/devel/hdf/patches/patch-ak deleted file mode 100644 index 8310b343190..00000000000 --- a/devel/hdf/patches/patch-ak +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ak,v 1.1.1.1 2001/02/28 22:18:41 jtb Exp $ - ---- mfhdf/libsrc/netcdf.h.in.orig -+++ mfhdf/libsrc/netcdf.h.in -@@ -61,7 +61,7 @@ - * - * Implementation details are contained in the section below on fill values. - */ --#define NC_OLD_FILLVALUES @OLD_FILLVALUES@ -+#define NC_OLD_FILLVALUES 0 - - /* - * Fill values diff --git a/devel/hdf/patches/patch-al b/devel/hdf/patches/patch-al deleted file mode 100644 index 386b8d20c22..00000000000 --- a/devel/hdf/patches/patch-al +++ /dev/null @@ -1,66 +0,0 @@ -$NetBSD: patch-al,v 1.3 2002/05/03 23:14:52 jtb Exp $ - ---- /dev/null Wed May 1 14:04:01 2002 -+++ hdf/test/Makefile Wed May 1 14:13:47 2002 -@@ -0,0 +1,61 @@ -+CSRCS= rig.c sdstr.c blocks.c an.c anfile.c extelt.c file.c file1.c \ -+ vers.c sdmms.c sdnmms.c slab.c litend.c tvset.c comp.c bitio.c \ -+ tree.c macros.c conv.c nbit.c man.c mgr.c testhdf.c tbv.c \ -+ tvsfpack.c chunks.c tvattr.c buffer.c -+ -+COBJS= ${CSRCS:.c=.o} -+ -+FSRCS= fortest.c fortestF.f forsupff.f forsupf.c \ -+ manf.f mgrf.f slabwf.f t24f.f tanf.f tanfilef.f tpf.f tr8f.f \ -+ tsdmmsf.f tsdnmmsf.f tsdnntf.f tsdntf.f tsdstrf.f tstubsf.f \ -+ tvsetf.f, tvattrf.f -+ -+FOBJS= fortestF.o forsupff.o forsupf.o \ -+ manf.o mgrf.o slabwf.o t24f.o tanf.o tanfilef.o tpf.o tr8f.o \ -+ tsdmmsf.o tsdnmmsf.o tsdnntf.o tsdntf.o tsdstrf.o tstubsf.o \ -+ tvsetf.o tvattrf.o -+ -+CPPFLAGS+= -Dunix -+CPPFLAGS+= -I${.CURDIR}/../src -+ -+LDFLAGS+= -L${.CURDIR}/../src -+LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.jpeg}/lib -+LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.zlib}/lib -+ -+LDADD+= -ldf -ljpeg -lz -lm -+ -+FTESTS = fortest fortestF -+ -+all: testhdf ${FTESTS} gentest -+ -+TESTF = fortest.o -+ -+TESTDIR = testdir -+ -+${FOBJS}: fortest.inc -+ -+test: atest-hdf -+ -+atest-hdf: testhdf ${FTESTS} -+ -rm -f *.hdf -+ -+testhdf: ${COBJS} -+ ${CC} ${CPPFLAGS} ${CFLAGS} -o $@ $? ${LDFLAGS} ${LDADD} -+ test -d ${TESTDIR} || mkdir ${TESTDIR} -+ -+fortestF: ${FOBJS} -+ ${FC} ${FFLAGS} -o $@ $? ${LDFLAGS} ${LDADD} -+ -+fortest: fortest.o -+ ${CC} ${CPPFLAGS} ${CFLAGS} -o $@ $? ${LDFLAGS} ${LDADD} -+ -+gentest: gentest.o -+ ${CC} ${CPPFLAGS} ${CFLAGS} -o $@ $? ${LDFLAGS} ${LDADD} -+ -+clean: -+ ${RM} testhdf ${COBJS} ${FOBJS} ${FTESTS} \ -+ core *.hdf ptesthdf qtesthdf gentest *.o fortest.arg ${TESTDIR}/* \ -+ .depend -+ -+depend: -+ mkdep ${CFLAGS} ${CSRCS} diff --git a/devel/hdf/patches/patch-an b/devel/hdf/patches/patch-an deleted file mode 100644 index 1567a0136c9..00000000000 --- a/devel/hdf/patches/patch-an +++ /dev/null @@ -1,31 +0,0 @@ -$NetBSD: patch-an,v 1.3 2002/05/03 23:14:53 jtb Exp $ - ---- /dev/null Wed May 1 14:04:01 2002 -+++ mfhdf/nctest/Makefile Wed May 1 14:14:41 2002 -@@ -0,0 +1,26 @@ -+PROG= nctest -+ -+SRCS = varget.c vargetg.c varput.c varputg.c vardef.c vartests.c \ -+ vputget.c vputgetg.c driver.c cdftests.c dimtests.c rec.c \ -+ atttests.c misctest.c add.c error.c emalloc.c val.c slabs.c -+ -+CPPFLAGS+= -Dunix -DNDEBUG -+CPPFLAGS+= -I${.CURDIR}/../../hdf/src -+CPPFLAGS+= -I${.CURDIR}/../libsrc -+ -+LDFLAGS+= -L${.CURDIR}/../libsrc -+LDFLAGS+= -L${.CURDIR}/../../hdf/src -+LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.jpeg}/lib -+LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.zlib}/lib -+ -+LDADD+= -lmfhdf -ldf -ljpeg -lz -lm -+ -+NOMAN= 1 -+ -+test: $(PROG) -+ @ echo "===========================" -+ @ echo "netCDF C interface tests" -+ @ echo "===========================" -+ ./$(PROG) -+ -+.include <bsd.prog.mk> diff --git a/devel/hdf/patches/patch-ao b/devel/hdf/patches/patch-ao index 025d8f44c42..bfed43b210b 100644 --- a/devel/hdf/patches/patch-ao +++ b/devel/hdf/patches/patch-ao @@ -1,8 +1,8 @@ -$NetBSD: patch-ao,v 1.5 2001/04/19 00:56:34 jtb Exp $ +$NetBSD: patch-ao,v 1.6 2004/04/20 18:14:37 drochner Exp $ ---- hdf/src/hdfi.h.orig Tue Aug 22 20:26:57 2000 -+++ hdf/src/hdfi.h -@@ -151,6 +151,8 @@ +--- hdf/src/hdfi.h.orig 2003-11-01 01:17:14.000000000 +0100 ++++ hdf/src/hdfi.h 2004-04-20 17:02:01.000000000 +0200 +@@ -153,6 +153,8 @@ * Define options for each platform *-------------------------------------------------------------------------*/ @@ -11,11 +11,10 @@ $NetBSD: patch-ao,v 1.5 2001/04/19 00:56:34 jtb Exp $ /* * Meaning of each defined macros (not completed yet) * -@@ -1253,6 +1255,71 @@ - #endif +@@ -1384,6 +1386,71 @@ #endif /* IA64 */ -+ + +#endif /* ! NetBSD */ + +#ifdef __NetBSD__ @@ -53,7 +52,7 @@ $NetBSD: patch-ao,v 1.5 2001/04/19 00:56:34 jtb Exp $ +typedef int intf; /* size of INTEGERs in Fortran compiler */ +typedef float float32; +typedef double float64; -+#if defined(__alpha__) || defined(__sparc64__) ++#if defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) +typedef long hdf_pint_t; /* an integer the same size as a pointer */ +#else +typedef int hdf_pint_t; /* an integer the same size as a pointer */ @@ -80,6 +79,7 @@ $NetBSD: patch-ao,v 1.5 2001/04/19 00:56:34 jtb Exp $ + +#endif /* NetBSD */ + - ++ #ifndef GOT_MACHINE No machine type has been defined. Your Makefile needs to have someing like + -DSUN or -DUNICOS in order for the HDF internal structures to be defined diff --git a/devel/hdf/patches/patch-ap b/devel/hdf/patches/patch-ap index d2e15b83b5f..de4c17a1a2f 100644 --- a/devel/hdf/patches/patch-ap +++ b/devel/hdf/patches/patch-ap @@ -1,12 +1,12 @@ -$NetBSD: patch-ap,v 1.1 2001/03/25 01:09:52 jtb Exp $ +$NetBSD: patch-ap,v 1.2 2004/04/20 18:14:37 drochner Exp $ ---- hdf/src/hconv.h.orig Sat Mar 24 20:43:34 2001 -+++ hdf/src/hconv.h +--- hdf/src/hconv.h.orig 2003-11-01 01:17:13.000000000 +0100 ++++ hdf/src/hconv.h 2004-04-20 14:29:46.000000000 +0200 @@ -63,7 +63,7 @@ /* CONSTANT DEFINITIONS */ /*****************************************************************************/ /* Generally Big-Endian machines */ --#if !defined(VMS) && !defined(INTEL86) && !defined(MIPSEL) && !defined(DEC_ALPHA) && !defined(I860) && !defined(SUN386) && !defined(IA64) +-#if !defined(VMS) && !defined(INTEL86) && !defined(MIPSEL) && !defined(DEC_ALPHA) && !defined(I860) && !defined(SUN386) && !defined(__ia64) && !defined(__x86_64__) +#if BYTE_ORDER == BIG_ENDIAN # if !defined(UNICOS) # define UI8_IN DFKnb1b /* Unsigned Integer, 8 bits */ diff --git a/devel/hdf/patches/patch-aq b/devel/hdf/patches/patch-aq deleted file mode 100644 index a22f2a36288..00000000000 --- a/devel/hdf/patches/patch-aq +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-aq,v 1.2 2001/04/19 00:56:34 jtb Exp $ - ---- mfhdf/libsrc/array.c.orig Thu Apr 19 00:27:02 2001 -+++ mfhdf/libsrc/array.c -@@ -6,6 +6,11 @@ - - #include <string.h> -+#include <sys/endian.h> - #include "local_nc.h" - #include "alloc.h" -+ -+#if BYTE_ORDER == LITTLE_ENDIAN -+#define SWAP 1 -+#endif - - #ifdef NO_MEM_FUNCTS diff --git a/devel/hdf/patches/patch-at b/devel/hdf/patches/patch-at deleted file mode 100644 index d88669119af..00000000000 --- a/devel/hdf/patches/patch-at +++ /dev/null @@ -1,18 +0,0 @@ -$NetBSD: patch-at,v 1.2 2002/05/03 23:14:53 jtb Exp $ - ---- mfhdf/libsrc/xdrposix.c.orig Thu Apr 19 00:27:10 2001 -+++ mfhdf/libsrc/xdrposix.c -@@ -20,6 +20,13 @@ - * x_getlong() and x_putlong(), so, on that platform, it doesn't matter if - * the following isn't 32-bits): - */ -+ -+#include <sys/endian.h> -+ -+#if BYTE_ORDER == LITTLE_ENDIAN -+#define SWAP 1 -+#endif -+ - #ifdef CRAY - # undef NETLONG - # define NETLONG long diff --git a/devel/hdf/patches/patch-ba b/devel/hdf/patches/patch-ba new file mode 100644 index 00000000000..74d066f0371 --- /dev/null +++ b/devel/hdf/patches/patch-ba @@ -0,0 +1,12 @@ +$NetBSD: patch-ba,v 1.1 2004/04/20 18:14:37 drochner Exp $ + +--- configure.orig 2004-04-20 14:41:07.000000000 +0200 ++++ configure 2004-04-20 14:41:38.000000000 +0200 +@@ -7512,6 +7512,7 @@ + mips*-sgi-irix4*) BAR="irix4" ;; + *-linux*) BAR="linux" ;; + *-freebsd*) BAR="fbsd" ;; ++ *-netbsd*) BAR="fbsd" ;; + ia64-*-*) BAR="ia64" ;; + *-ibm-aix*) BAR="aix" ;; + i386-*-solaris2*) BAR="solarisx86" ;; |