[cpl] 01/02: Prevent the mpfit symbol from being exported.

Ole Streicher olebole at moszumanska.debian.org
Fri Nov 21 09:03:02 UTC 2014


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

olebole pushed a commit to branch debian
in repository cpl.

commit 049b7d51f2106b1a1dfefd116a8dc7c87ba88e32
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Fri Nov 21 10:02:19 2014 +0100

    Prevent the mpfit symbol from being exported.
---
 debian/patches/hide_mpfit_symbol.patch | 13 +++++++++++++
 debian/patches/series                  |  1 +
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/hide_mpfit_symbol.patch b/debian/patches/hide_mpfit_symbol.patch
new file mode 100644
index 0000000..f839736
--- /dev/null
+++ b/debian/patches/hide_mpfit_symbol.patch
@@ -0,0 +1,13 @@
+Author: Ole Streicher <olebole at debian.org>
+Description: Prevent the mpfit symbol from being exported.
+--- a/cplcore/cpl_mpfit.h
++++ b/cplcore/cpl_mpfit.h
+@@ -170,7 +170,7 @@
+ extern int mpfit(mp_func funct, int m, int npar,
+ 		 double *xall, mp_par *pars, mp_config *config, 
+ 		 void *private_data, 
+-		 mp_result *result);
++		 mp_result *result) CPL_INTERNAL;
+ 
+ 
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 5015037..9cd454e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@ no_compiletime_cpucheck.patch
 fix_required_versions.patch
 serial-tests
 fix-ftbs-mips64el.patch
+hide_mpfit_symbol.patch

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



More information about the debian-science-commits mailing list