[cmor] 10/13: Link shlib against -lm

Alastair McKinstry mckinstry at moszumanska.debian.org
Thu Apr 20 10:37:03 UTC 2017


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch debian/master
in repository cmor.

commit 1b9454c8e4e998be947822497b2bc2cf6c040c43
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Tue Dec 20 13:24:48 2016 +0000

    Link shlib against -lm
---
 debian/changelog                | 2 +-
 debian/patches/shlib-link.patch | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cc5c02b..a419cc8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,7 @@
 cmor (3.2.1-1) UNRELEASED; urgency=medium
 
   * New upstream release
-  * DH_COMPAT=10, with debhelper dependecy = 10
+  * DH_COMPAT=10, with debhelper dependency = 10
   TODO: Check symbols and versioning before release to unstable
   * Add license change and clarification to debian/copyright.
     Closes: #821148
diff --git a/debian/patches/shlib-link.patch b/debian/patches/shlib-link.patch
index b63d6a7..e71b2ff 100644
--- a/debian/patches/shlib-link.patch
+++ b/debian/patches/shlib-link.patch
@@ -17,7 +17,7 @@ Index: cmor-3.2.1/Makefile.in
  # Library name
  LIBNAME=libcmor.a
 +SONAME := libcmor.so.2
-+SHLIBFLAGS:= -Wl,-O1 -Wl,-soname,$(SONAME) -Wl,--version-script,cmor.ver -lgfortran
++SHLIBFLAGS:= -Wl,-O1 -Wl,-soname,$(SONAME) -Wl,--version-script,cmor.ver -lgfortran -lm
  
  # Library sources
  LIBSOURCES=@LIBSOURCES@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cmor.git



More information about the debian-science-commits mailing list