diff options
| author | Leo <thinkabit.ukim@gmail.com> | 2020-04-04 14:31:11 -0300 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2020-04-04 14:31:30 -0300 |
| commit | eeea38c8e334545967285a375bfd9a1fe3d0ab2b (patch) | |
| tree | 8a6063a0fdcc84ee68fd99493ef99f79b2693fc7 /testing/netcdf/byteswap.patch | |
| parent | 370474cc94dc50d2eef6de7cf573b4174179a586 (diff) | |
| download | aports-eeea38c8e334545967285a375bfd9a1fe3d0ab2b.tar.bz2 aports-eeea38c8e334545967285a375bfd9a1fe3d0ab2b.tar.xz | |
testing/netcdf: fix build in s390x
Use a patch from debian: https://salsa.debian.org/debian-gis-team/netcdf/-/commit/18d5a1d35b1d3deab05d4150ca1939bc9fb215ba
Diffstat (limited to 'testing/netcdf/byteswap.patch')
| -rw-r--r-- | testing/netcdf/byteswap.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/netcdf/byteswap.patch b/testing/netcdf/byteswap.patch new file mode 100644 index 0000000000..eb4305be6a --- /dev/null +++ b/testing/netcdf/byteswap.patch @@ -0,0 +1,18 @@ +Description: Add forward declarations for byteswap8 & byteswap4. +Author: Dennis Heimbigner +Bug: https://github.com/Unidata/netcdf-c/issues/1687 + +diff --git a/libdispatch/dfilter.c b/libdispatch/dfilter.c +index 8938464..8efe591 100644 +--- 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 + */ |
