[Debian-med-packaging] Bug#818861: [fis-gtm] 01/01: d/p: Add patch to correct declaration/sage order of rundown_state
Andreas Tille
andreas at an3as.eu
Mon Mar 21 12:08:32 UTC 2016
Cool. Thanks a lot, Andreas.
On Mon, Mar 21, 2016 at 11:08:39AM +0000, Gert Wollny wrote:
> This is an automated email from the git hooks/post-receive script.
>
> gert-guest pushed a commit to branch master
> in repository fis-gtm.
>
> commit b341c4236844664d64814c49f348bd64675cce6d
> Author: Gert Wollny <gw.fossdev at gmail.com>
> Date: Mon Mar 21 11:06:45 2016 +0000
>
> d/p: Add patch to correct declaration/sage order of rundown_state
> ---
> .../patches/correct_rundown_state_definition.patch | 37 ++++++++++++++++++++++
> debian/patches/series | 1 +
> 2 files changed, 38 insertions(+)
>
> diff --git a/debian/patches/correct_rundown_state_definition.patch b/debian/patches/correct_rundown_state_definition.patch
> new file mode 100644
> index 0000000..a38af75
> --- /dev/null
> +++ b/debian/patches/correct_rundown_state_definition.patch
> @@ -0,0 +1,37 @@
> +Description: Define the rundown_state enum before it is used
> +Author: Gert Wollny <gw.fossdev at gmail.com>
> +Bug: https://bugs.debian.org/818861
> +
> +--- a/sr_unix/gtm_exit_handler.c
> ++++ b/sr_unix/gtm_exit_handler.c
> +@@ -57,6 +57,15 @@
> + GBLREF boolean_t exit_handler_active;
> + GBLREF boolean_t is_tracing_on;
> +
> ++enum rundown_state
> ++{
> ++ rundown_state_mprof,
> ++ rundown_state_lock,
> ++ rundown_state_db,
> ++ rundown_state_io,
> ++ rundown_state_last
> ++};
> ++
> + static enum rundown_state attempting;
> +
> + #ifdef DEBUG
> +@@ -137,14 +146,6 @@
> + error_def(ERR_LKRUNDOWN);
> + error_def(ERR_MPROFRUNDOWN);
> +
> +-enum rundown_state
> +-{
> +- rundown_state_mprof,
> +- rundown_state_lock,
> +- rundown_state_db,
> +- rundown_state_io,
> +- rundown_state_last
> +-};
> +
> + /* Function that is invoked at process exit time to do cleanup.
> + * The general flow here is to do various types of rundowns (e.g. db rundown, lock rundown, io rundown etc.).
> diff --git a/debian/patches/series b/debian/patches/series
> index 6e9a338..4a5816c 100644
> --- a/debian/patches/series
> +++ b/debian/patches/series
> @@ -3,3 +3,4 @@ upstream_disable_autorelink
> upstream_fix_speeling_errors
> upstream_donot_deploy_all_encryption_libs
> upstream_fix_depency_order
> +correct_rundown_state_definition.patch
>
> --
> Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/fis-gtm.git
>
> _______________________________________________
> debian-med-commit mailing list
> debian-med-commit at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
>
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list