[netcdf] 23/31: Add patch to fix linking tst_fileinfo
Alastair McKinstry
mckinstry at moszumanska.debian.org
Tue Oct 11 10:44:50 UTC 2016
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to branch dev-coinstallable
in repository netcdf.
commit 4162424b18792a08fa93f341c0746003ec50871f
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Wed Oct 5 04:42:43 2016 +0100
Add patch to fix linking tst_fileinfo
---
debian/patches/series | 2 ++
debian/patches/tst-fix.patch | 18 ++++++++++++++++++
2 files changed, 20 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 42994eb..9fa6f6a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,5 @@ reproducible.patch
hdf5-library-path.patch
hdf5-location.patch
pnetcdf-settings.patch
+tst-fix.patch
+ignore
diff --git a/debian/patches/tst-fix.patch b/debian/patches/tst-fix.patch
new file mode 100644
index 0000000..5b3283b
--- /dev/null
+++ b/debian/patches/tst-fix.patch
@@ -0,0 +1,18 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: tst_fileinfo needs to be linked to other libs (-lhdf5)
+Last-Updated: 2016-10-07
+Forwarded: no
+
+Index: netcdf-4.4.1/ncdump/CMakeLists.txt
+===================================================================
+--- netcdf-4.4.1.orig/ncdump/CMakeLists.txt
++++ netcdf-4.4.1/ncdump/CMakeLists.txt
+@@ -61,7 +61,7 @@ IF(ENABLE_TESTS)
+
+ IF(ENABLE_FILEINFO)
+ ADD_EXECUTABLE(tst_fileinfo tst_fileinfo.c)
+- TARGET_LINK_LIBRARIES(tst_fileinfo netcdf)
++ TARGET_LINK_LIBRARIES(tst_fileinfo netcdf ${ALL_TLL_LIBS})
+ add_sh_test(ncdump tst_fileinfo)
+ ENDIF()
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/netcdf.git
More information about the Pkg-grass-devel
mailing list