Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci
In directory sc8-pr-cvs17:/tmp/cvs-serv25224/10.3/unstable/main/finkinfo/sci
Modified Files:
libdap3.info
Added Files:
libdap3.patch
Log Message:
fix undefined symbol on 10.3 (not sure 10.4 needs this patch)
Index: libdap3.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci/libdap3.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- libdap3.info 27 Jun 2006 18:10:26 -0000 1.5
+++ libdap3.info 6 Aug 2007 17:57:42 -0000 1.6
@@ -1,6 +1,6 @@
Package: libdap3
Version: 3.5.2
-Revision: 3
+Revision: 4
BuildDependsOnly: true
GCC: 3.3
Description: DAP 2.0 C++ SDK
@@ -13,6 +13,9 @@
Source: ftp://ftp.unidata.ucar.edu/pub/dods/DODS-3.5/source/libdap-%v.tar.gz
Source-MD5: ed786ae3f8f7ca4e9eac2b87c132d8fb
+# Patch Phase:
+Patch: %n.patch
+
# Compile Phase
SetCPPFLAGS: -I%p/lib/system-openssl/include
SetLDFLAGS: -L%p/lib/system-openssl/lib
@@ -50,5 +53,10 @@
dependency on fink's openssl, we can stay out of
section:crpyto.
<<
+DescPort: <<
+ Patch gl/*env.c to use darwin's _environ compatibility symbol
+ May need to patch various different of these files on
+ different OS X versions (check 'nm gl/.libs/libgnu.a').
+<<
Homepage: http://opendap.org/
--- NEW FILE: libdap3.patch ---
diff -Nurd -x'*~' libdap-3.5.2.orig/gl/putenv.c libdap-3.5.2/gl/putenv.c
--- libdap-3.5.2.orig/gl/putenv.c 2005-08-08 18:11:06.000000000 -0400
+++ libdap-3.5.2/gl/putenv.c 2007-08-06 13:19:58.000000000 -0400
@@ -46,7 +46,12 @@
#if HAVE_GNU_LD
# define environ __environ
#else
-extern char **environ;
+#ifdef __APPLE__
+#include <crt_externs.h>
+#define environ (*_NSGetEnviron())
+#else
+ extern char **environ;
+#endif
#endif
#if _LIBC
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits