diff options
| author | Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> | 2020-01-11 00:34:09 +0100 |
|---|---|---|
| committer | dan-shaw <51385773+dan-shaw@users.noreply.github.com> | 2020-01-10 15:34:09 -0800 |
| commit | d400f3d50bd0c79b192134aa50875f7579ad8efc (patch) | |
| tree | 8e78a8571a52d190113f2b683a7d738ddc1454b1 /ports/netcdf-c/fix-build-error-on-linux.patch | |
| parent | 7dc8ecbc08eed912fe1952c3d462cfc683931060 (diff) | |
| download | vcpkg-d400f3d50bd0c79b192134aa50875f7579ad8efc.tar.gz vcpkg-d400f3d50bd0c79b192134aa50875f7579ad8efc.zip | |
[netcdf-c] Update to 4.7.3 and switched to use targets to generate valid targets (#9361)
* fix netcdf configure errors and generated targets
* remove target_path
since cmake searches in name*
* bump control
* netcdf update to 4.7.3 and use targets instead of libraries in cmake
* remove config from the zlib find_dependency call
because there is no config. The target is supplied by a cmake module itself
* move usage of hdf5 target to an further up in the cmakelists.txt and use config also on linux
* fix dynamic builds
* remove code from portfile
* remove commenting from patch and simply delete the lines
Diffstat (limited to 'ports/netcdf-c/fix-build-error-on-linux.patch')
| -rw-r--r-- | ports/netcdf-c/fix-build-error-on-linux.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/ports/netcdf-c/fix-build-error-on-linux.patch b/ports/netcdf-c/fix-build-error-on-linux.patch deleted file mode 100644 index bdcd7c97a..000000000 --- a/ports/netcdf-c/fix-build-error-on-linux.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/include/ncconfigure.h b/include/ncconfigure.h -index 2c5b2c8..d397790 100644 ---- a/include/ncconfigure.h -+++ b/include/ncconfigure.h -@@ -25,20 +25,20 @@ missing functions should be - defined and missing types defined. - */ - --#ifndef HAVE_STRDUP -+#ifndef strdup - extern char* strdup(const char*); - #endif - - /* handle null arguments */ - #ifndef nulldup --#ifdef HAVE_STRDUP -+#ifdef strdup - #define nulldup(s) ((s)==NULL?NULL:strdup(s)) - #else - char *nulldup(const char* s); - #endif - #endif - --#ifdef _MSC_VER -+#ifdef _WIN32 - #ifndef HAVE_SSIZE_T - #include <basetsd.h> - typedef SSIZE_T ssize_t; |
