summaryrefslogtreecommitdiff
path: root/sci-libs/netcdf/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-17 12:27:31 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-17 12:27:31 +0000
commitbcf596975a1c2450e077c80c84017c54198f216c (patch)
tree65f19d38ef25fd66020bd9d2f1f1ffa0391aba6c /sci-libs/netcdf/files
parent2e0bf408961ec1023d3db1fc5d687c233661ac26 (diff)
gentoo auto-resync : 17:03:2023 - 12:27:30
Diffstat (limited to 'sci-libs/netcdf/files')
-rw-r--r--sci-libs/netcdf/files/netcdf-4.9.0-fix-musl-execinfo_h.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/sci-libs/netcdf/files/netcdf-4.9.0-fix-musl-execinfo_h.patch b/sci-libs/netcdf/files/netcdf-4.9.0-fix-musl-execinfo_h.patch
deleted file mode 100644
index 7b711327512a..000000000000
--- a/sci-libs/netcdf/files/netcdf-4.9.0-fix-musl-execinfo_h.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-# Conditionally include execinfo as it's not available on all libc
-# systems. There is a PR upstream for a similiar issue but the actual
-# issus is not reproducable on Gentoo [math library not found] [1], so
-# for now this is a temporary fix and can be removed once the PR [1]
-# is merged upstream.
-# [1]: https://github.com/Unidata/netcdf-c/pull/1701
-#
-# Closes: https://bugs.gentoo.org/828677
---- a/libhdf5/hdf5debug.c
-+++ b/libhdf5/hdf5debug.c
-@@ -5,7 +5,7 @@
- #include "config.h"
- #include <stdarg.h>
- #include <stdio.h>
--#if !defined _WIN32 && !defined __CYGWIN__
-+#ifdef HAVE_EXECINFO_H
- #include <execinfo.h>
- #endif
-
-@@ -15,15 +15,18 @@
-
- #define STSIZE 1000
-
-+#ifdef HAVE_EXECINFO_H
- #ifdef H5BACKTRACE
- # if !defined _WIN32 && !defined __CYGWIN__
- static void* stacktrace[STSIZE];
- # endif
- #endif
-+#endif
-
- int
- nch5breakpoint(int err)
- {
-+#ifdef HAVE_EXECINFO_H
- #ifdef H5BACKTRACE
- # if !defined _WIN32 && !defined __CYGWIN__
- int count = 0;
-@@ -39,6 +42,7 @@ nch5breakpoint(int err)
- if(trace != NULL) free(trace);
- # endif
- # endif
-+#endif
- #endif
- return err;
- }