diff options
Diffstat (limited to 'sci-libs/netcdf/files/netcdf-4.1.1-implicits.patch')
-rw-r--r-- | sci-libs/netcdf/files/netcdf-4.1.1-implicits.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/sci-libs/netcdf/files/netcdf-4.1.1-implicits.patch b/sci-libs/netcdf/files/netcdf-4.1.1-implicits.patch index bd2982bf3a74..9733cb5afab9 100644 --- a/sci-libs/netcdf/files/netcdf-4.1.1-implicits.patch +++ b/sci-libs/netcdf/files/netcdf-4.1.1-implicits.patch @@ -28,3 +28,53 @@ Fix implicit function declarations FCALLSCFUN5(NF_INT, nc_create_par_fortran, NF_CREATE_PAR, nf_create_par, STRING, FINT2CINT, FINT2CINT, FINT2CINT, PCINT2FINT) +--- libncdap3/oc/daplex.c ++++ libncdap3/oc/daplex.c +@@ -86,6 +86,8 @@ + SCAN_PROG + }; + ++int daperror(DAPparsestate* state, const char* msg); ++ + /**************************************************/ + + int +--- libncdap3/oc/ocinternal.c ++++ libncdap3/oc/ocinternal.c +@@ -37,6 +37,8 @@ + #endif + + extern OCnode* makeunlimiteddimension(void); ++int occurlopen(CURL** curlp); ++void occurlclose(CURL* curl); + + #ifdef WIN32 + #include <fcntl.h> +--- libncdap3/oc/dapparse.c ++++ libncdap3/oc/dapparse.c +@@ -11,6 +11,7 @@ + static OCtype octypefor(Object etype); + static char* scopeduplicates(OClist* list); + static int check_int32(char* val, long* value); ++void setwordchars(DAPlexstate* lexstate, int kind); + + /****************************************************/ + +--- libncdap3/ncdap3.c ++++ libncdap3/ncdap3.c +@@ -4,6 +4,7 @@ + * $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/files/netcdf-4.1.1-implicits.patch,v 1.2 2010/12/05 11:38:45 xarthisius Exp $ + *********************************************************************/ + #include "config.h" ++#include "netcdf3.h" + #include "ncdap3.h" + #include "dispatch3.h" + #include "dapdispatch3.h" +--- libncdap3/oc/dapparselex.h ++++ libncdap3/oc/dapparselex.h +@@ -88,4 +88,5 @@ + extern void daplexinit(char* input, DAPlexstate** lexstatep); + extern void daplexcleanup(DAPlexstate** lexstatep); + ++void dassetup(DAPparsestate* state); + #endif /*DAPPARSELEX_H*/ |