summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-11-25 01:44:46 +0000
committerSam James <sam@gentoo.org>2021-11-25 01:45:05 +0000
commit03e409f30d966755e399c476cc7bf2f508cafae4 (patch)
tree1ccff4e44b43b62a7987640266e06f72d243e539 /sci-libs/netcdf/files/netcdf-4.8.1-big-endian-build.patch
parentdev-perl/PerlIO-eol: Remove old (diff)
downloadgentoo-03e409f30d966755e399c476cc7bf2f508cafae4.tar.gz
gentoo-03e409f30d966755e399c476cc7bf2f508cafae4.tar.bz2
gentoo-03e409f30d966755e399c476cc7bf2f508cafae4.zip
sci-libs/netcdf: add 4.8.1
Doesn't seem to hardcode libdl path anymore which avoids glibc-2.34 issues. Closes: https://bugs.gentoo.org/827188 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/netcdf/files/netcdf-4.8.1-big-endian-build.patch')
-rw-r--r--sci-libs/netcdf/files/netcdf-4.8.1-big-endian-build.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sci-libs/netcdf/files/netcdf-4.8.1-big-endian-build.patch b/sci-libs/netcdf/files/netcdf-4.8.1-big-endian-build.patch
new file mode 100644
index 000000000000..afeff7e3fbd0
--- /dev/null
+++ b/sci-libs/netcdf/files/netcdf-4.8.1-big-endian-build.patch
@@ -0,0 +1,24 @@
+Later version for 4.8.1 grabbed from Debian:
+https://sources.debian.org/patches/netcdf/1:4.8.1-1/byteswap.patch/
+
+Earlier version used:
+https://github.com/DennisHeimbigner/netcdf-c/commit/6f86660da86f279cad1f2804cf3242767de27630.patch
+https://github.com/Unidata/netcdf-c/issues/1687
+https://bugs.gentoo.org/772863
+
+Description: Add forward declarations for byteswap8 & byteswap4.
+Author: Dennis Heimbigner
+Bug: https://github.com/Unidata/netcdf-c/issues/1687
+
+--- a/libdispatch/dfilter.c
++++ b/libdispatch/dfilter.c
+@@ -20,6 +20,9 @@
+ #include "hdf5internal.h"
+ #endif
+
++static void byteswap8(unsigned char*);
++static void byteswap4(unsigned char*);
++
+ /*
+ Unified filter related code
+ */