This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository gmt.
commit 1649b25036477e848a6c9dc3561c7c914caf136a Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Fri Jun 26 18:20:05 2015 +0200 Add patch to fix build on kFreeBSD. --- debian/changelog | 1 + debian/patches/kfreebsd.patch | 14 ++++++++++++++ debian/patches/series | 1 + 3 files changed, 16 insertions(+) diff --git a/debian/changelog b/debian/changelog index ff5e1b1..5034733 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ gmt (5.1.2+dfsg1-1~exp2) UNRELEASED; urgency=medium * Fix removal of empty directory. + * Add patch to fix build on kFreeBSD. -- Bas Couwenberg <sebas...@debian.org> Fri, 26 Jun 2015 17:46:38 +0200 diff --git a/debian/patches/kfreebsd.patch b/debian/patches/kfreebsd.patch new file mode 100644 index 0000000..2326dd7 --- /dev/null +++ b/debian/patches/kfreebsd.patch @@ -0,0 +1,14 @@ +Description: Use ucontext from FreeBSD for GNU/kFreeBSD too. +Author: Bas Couwenberg <sebas...@debian.org> + +--- a/src/common_sighandler.c ++++ b/src/common_sighandler.c +@@ -64,7 +64,7 @@ void backtrace_symbols_fd(void *const *b + # else + # define UC_IP(uc) ((void *) (uc)->uc_mcontext->ss.eip) + # endif +-#elif defined(__FreeBSD__) ++#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + # ifdef __x86_64__ + # define UC_IP(uc) ((void *) (uc)->uc_mcontext.mc_rip) + # elif defined( __arm__) diff --git a/debian/patches/series b/debian/patches/series index 694a445..98c6946 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -6,3 +6,4 @@ output-typo.patch algorithm-typo.patch length-typo.patch palette-typo.patch +kfreebsd.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/gmt.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