This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch experimental in repository proj.
commit dabbf15cf05cc8115137cf714170a23e10de94b6 Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Fri Feb 2 18:41:29 2018 +0100 Add patch to link libm to fix FTBFS. --- debian/changelog | 1 + debian/patches/link-libm.patch | 16 ++++++++++++++++ debian/patches/series | 1 + 3 files changed, 18 insertions(+) diff --git a/debian/changelog b/debian/changelog index b311d27..1cef584 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,7 @@ proj (5.0.0~rc1-1) UNRELEASED; urgency=medium * Update copyright-format URL to use HTTPS. * Update copyright years for copyright holders. * Drop patches, applied upstream. + * Add patch to link libm to fix FTBFS. -- Bas Couwenberg <sebas...@debian.org> Fri, 02 Feb 2018 18:07:07 +0100 diff --git a/debian/patches/link-libm.patch b/debian/patches/link-libm.patch new file mode 100644 index 0000000..dbcb320 --- /dev/null +++ b/debian/patches/link-libm.patch @@ -0,0 +1,16 @@ +Description: Link libm to fix FTBFS. +Author: Bas Couwenberg <sebas...@debian.org> +Bug: https://github.com/OSGeo/proj.4/issues/759 +Forwarded: https://github.com/OSGeo/proj.4/pull/762 + +--- a/configure.ac ++++ b/configure.ac +@@ -43,6 +43,8 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM( + [AC_MSG_RESULT([no]);C99_MATH="-DHAVE_C99_MATH=0"]) + CFLAGS="$save_CFLAGS $C99_MATH" + ++AC_SEARCH_LIBS([sqrt], [m]) ++ + AC_CHECK_FUNC(localeconv, [AC_DEFINE(HAVE_LOCALECONV,1,[Define to 1 if you have localeconv])]) + + dnl --------------------------------------------------------------------------- diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..fccd4cf --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +link-libm.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/proj.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel