[packages/hdf-eos5] - fix missing header in configure check
qboosh
qboosh at pld-linux.org
Tue Dec 17 07:17:10 CET 2024
commit d95cb8637c729f00a948337a1f46a855c14c3b8b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Dec 17 05:50:49 2024 +0100
- fix missing header in configure check
hdf-eos5-includes.patch | 10 ++++++++++
hdf-eos5.spec | 2 ++
2 files changed, 12 insertions(+)
---
diff --git a/hdf-eos5.spec b/hdf-eos5.spec
index 8d861cb..cd9ace1 100644
--- a/hdf-eos5.spec
+++ b/hdf-eos5.spec
@@ -12,6 +12,7 @@ License: MIT-like
Group: Libraries
Source0: https://git.earthdata.nasa.gov/projects/DAS/repos/hdfeos5/raw/hdf-eos5-2.0-src.tar.gz?at=refs/heads/HDFEOS5_2.0#/hdf-eos5-2.0-src.tar.gz
# Source0-md5: 151c04a8e7660f868da9fef0fa6c631a
+Patch0: %{name}-includes.patch
Patch1: %{name}-link.patch
Patch2: %{name}-fortran.patch
Patch3: %{name}-types.patch
@@ -76,6 +77,7 @@ Statyczna biblioteka HDF-EOS 5.
%prep
%setup -q -n hdf-eos5-2.0
+%patch -P0 -p1
%patch -P1 -p1
%patch -P2 -p1
%patch -P3 -p1
diff --git a/hdf-eos5-includes.patch b/hdf-eos5-includes.patch
new file mode 100644
index 0000000..78e5361
--- /dev/null
+++ b/hdf-eos5-includes.patch
@@ -0,0 +1,10 @@
+--- hdf-eos5-2.0/configure.ac.orig 2021-04-22 01:06:56.000000000 +0200
++++ hdf-eos5-2.0/configure.ac 2024-12-17 05:42:39.440194238 +0100
+@@ -274,6 +274,7 @@ AS_IF(
+ AC_TRY_RUN(
+ [
+ #include <stddef.h>
++ #include <stdlib.h>
+ #include <szlib.h>
+
+ int main(void)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hdf-eos5.git/commitdiff/d95cb8637c729f00a948337a1f46a855c14c3b8b
More information about the pld-cvs-commit
mailing list