Update of /cvsroot/fink/experimental/dmacks/finkinfo
In directory 
sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv13680/experimental/dmacks/finkinfo

Added Files:
        hdf.info hdf.patch 
Log Message:
oops

--- NEW FILE: hdf.patch ---
diff -wurb HDF4.2r4/hdf/src/hdfi.h HDF4.2r4-rkg/hdf/src/hdfi.h
--- HDF4.2r4/hdf/src/hdfi.h     2007-12-19 14:16:09.000000000 -0600
+++ HDF4.2r4-rkg/hdf/src/hdfi.h 2009-10-28 15:00:10.000000000 -0500
@@ -766,7 +766,7 @@
 #include <sys/types.h>
 #include <sys/file.h>               /* for unbuffered i/o stuff */
 #include <sys/stat.h>
-#ifdef __i386
+#if defined(__i386) || defined(__x86_64__)
 #ifndef INTEL86
 #define INTEL86   /* we need this Intel define or bad things happen later */
 #endif /* INTEL86 */
@@ -775,6 +775,7 @@
 #define DF_MT   DFMT_APPLE
 #endif /* __i386 */
 
+#if defined(__i386) && !defined(__x86_64__)
 typedef void            VOID;
 typedef void            *VOIDP;
 typedef char            *_fcd;
@@ -792,6 +793,25 @@
 typedef double          float64;
 typedef int             intf;     /* size of INTEGERs in Fortran compiler */
 typedef int               hdf_pint_t;   /* an integer the same size as a 
pointer */
+#elif defined(__x86_64__)
+typedef void              VOID;
+typedef void              *VOIDP;
+typedef char              *_fcd;
+typedef char              char8;
+typedef unsigned char     uchar8;
+typedef char              int8;
+typedef unsigned char     uint8;
+typedef short int         int16;
+typedef unsigned short int uint16;
+typedef int               int32;
+typedef unsigned int      uint32;
+typedef int               intn;
+typedef unsigned int      uintn;
+typedef int               intf;     /* size of INTEGERs in Fortran compiler */
+typedef float             float32;
+typedef double            float64;
+typedef long              hdf_pint_t;   /* an integer the same size as a 
pointer */
+#endif
 #define _fcdtocp(desc) (desc)
 #ifdef  HAVE_FMPOOL
 #define FILELIB PAGEBUFIO  /* enable page buffering */
@@ -1346,7 +1366,7 @@
 
 #endif /*power PC 5 64 */
 /* Linux 64 */
-#if defined __x86_64__  && !(defined  SUN) /* i.e. not SunOS on Intel */
+#if defined __x86_64__  && !(defined  SUN) && !(defined __APPLE__) /* i.e. not 
SunOS on Intel */
 
 #ifdef GOT_MACHINE
 If you get an error on this line more than one machine type has been defined.

--- NEW FILE: hdf.info ---
Package: hdf
Version: 4.2r4
Revision: 1002
Maintainer: Kurt Schwehr <goat...@users.sourceforge.net>
BuildDepends: fink (>= 0.24.12), gcc47, libjpeg, szip
Depends: libjpeg-shlibs, szip-shlibs
Source: http://www.hdfgroup.org/ftp/HDF/HDF_Current/src/HDF%v.tar.gz
Source-MD5: cbcfcdb65f27b743c6001c17619704a8
SourceDirectory: HDF%v
PatchFile: %n.patch
PatchFile-MD5: 45d54ffc957ab500ee7b8361ab674929
ConfigureParams: --with-szlib=%p --with-pic --disable-netcdf --with-jpeg=%p
InstallScript: <<
 make install prefix=%i mandir=%i/share/man docdir=%i/share/doc/%n
(cd %i/bin; mv ncdump hdfdump; mv ncgen hdfgen)
(cd %i/share/man/man1; mv ncgen.1 hdfgen.1; mv ncdump.1 hdfdump.1)
# (cd %i/include; rm -f netcdf.h netcdf.inc netcdf.f90)
# (cd %i/lib; rm -f libudport.a)
 mkdir -p %i/share/doc/%n
 mv hdf/util/testfiles samples
 cp -R samples %i/share/doc/%n
 /bin/rm -rf %i/man
<<
DocFiles: COPYING INSTALL README release_notes/HISTORY.txt 
release_notes/RELEASE.txt release_notes/bugs_fixed.txt 
release_notes/misc_docs.txt
Description: Scientific data format
DescDetail: <<
At its lowest level, HDF is a physical file format for storing
scientific data.  At its highest level, HDF is a collection of
utilities and applications for manipulating, viewing, and analyzing
data in HDF files. Between these levels, HDF is a software library
that provides high-level APIs and a low-level data interface.
<<
DescPort: <<
This 10.6 specific info file should hopefully go away when we can
figure out why 10.5 PPC will not compile.

Formerly maintained by Jeff Whitaker
<<
License: OSI-Approved
Homepage: http://hdf.ncsa.uiuc.edu/


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to