[python-cpl] 01/01: Don't call muntrace of mtrace is not available

Ole Streicher olebole-guest at moszumanska.debian.org
Wed Mar 19 08:08:23 UTC 2014


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

olebole-guest pushed a commit to branch debian
in repository python-cpl.

commit 61a8d324c39a14f4c23449e1b314728c8e2c6cae
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Wed Mar 19 09:01:29 2014 +0100

    Don't call muntrace of mtrace is not available
---
 debian/changelog                  |  6 ++++++
 debian/patches/muntrace-fix.patch | 15 +++++++++++++++
 debian/patches/series             |  1 +
 3 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 239c23b..324d21f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-cpl (0.6.2-2) unstable; urgency=low
+
+  * Fix implicit declaration on kfreebsd
+
+ -- Ole Streicher <debian at liska.ath.cx>  Wed, 19 Mar 2014 08:59:41 +0100
+
 python-cpl (0.6.2-1) unstable; urgency=low
 
   * New upstream release
diff --git a/debian/patches/muntrace-fix.patch b/debian/patches/muntrace-fix.patch
new file mode 100644
index 0000000..b1a69c2
--- /dev/null
+++ b/debian/patches/muntrace-fix.patch
@@ -0,0 +1,15 @@
+Author: Ole Streicher <debian at liska.ath.cx>
+Description: Don't call muntrace of mtrace is not available.
+ This is the case on kfreebsd.
+--- a/cpl/CPL_recipe.c
++++ b/cpl/CPL_recipe.c
+@@ -873,7 +873,9 @@
+ 	  self->cpl->memory_dump();
+ 	}
+ 	self->cpl->end();
++#ifdef HAVE_MTRACE
+ 	muntrace();
++#endif
+ 	_exit(retval);
+     }
+     
diff --git a/debian/patches/series b/debian/patches/series
index a410047..2e11b26 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 set-default-plugin-path.patch
 disable_crash_tests.patch
+muntrace-fix.patch

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



More information about the debian-science-commits mailing list