Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv3880/10.4/stable/main/finkinfo/sci
Modified Files: netcdf-c7.info Log Message: Build fix for 10.6/Xcode 4.2 (maybe other platforms too). Harmless for 10.8/Xcode 4.6. Index: netcdf-c7.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci/netcdf-c7.info,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- netcdf-c7.info 3 May 2013 02:19:22 -0000 1.5 +++ netcdf-c7.info 3 May 2013 04:56:46 -0000 1.6 @@ -9,6 +9,8 @@ Conflicts: netcdf-absoft, netcdf, netcdf7 Replaces: netcdf-absoft, netcdf, netcdf7 +PatchScript: perl -pi -e 's/ifndef ssize_t/ifndef HAVE_SSIZE_T/' oc2/oc.h + Source: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-%v.tar.gz Source-MD5: d89d8676578aa3993067c40d04de7625 SetCFLAGS: -O2 @@ -95,6 +97,21 @@ << DescPort: << CFLAGS=-O2 is essential to avoid debugging mode flags (-g). + +Patch oc2/oc.h to avoid build failure reported on 10.6: +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../oc2 -I../libsrc4 -I/sw/include -O2 -MT libdap2_la-daputil.lo -MD -MP -MF .deps/libdap2_la-daputil.Tpo -c daputil.c -fno-common -DPIC -o .libs/libdap2_la-daputil.o +In file included from ncdap3.h:12, + from daputil.c:16: +/usr/include/unistd.h:117: error: two or more data types in declaration specifiers +<switching to clang>: +In file included from daputil.c:16: +In file included from ./ncdap3.h:12: +/usr/include/unistd.h:117:26: error: cannot combine with previous 'type-name' + declaration specifier +typedef __darwin_ssize_t ssize_t; + ^ +../oc2/oc.h:24:17: note: instantiated from: +#define ssize_t int << DescUsage: << We now build parallel pnetcdf. ------------------------------------------------------------------------------ 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://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs