From 2be4492162bcb841adb21f8991f45755a561191f Mon Sep 17 00:00:00 2001 From: Daniil Bratashov Date: Mon, 16 May 2011 14:39:09 -0300 Subject: academic/gwyddion: Updated for version 2.24. Signed-off-by: Niels Horn --- .../gwyddion-2.24-maskedit-drawing-crash.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 academic/gwyddion/gwyddion-2.24-maskedit-drawing-crash.patch (limited to 'academic/gwyddion/gwyddion-2.24-maskedit-drawing-crash.patch') diff --git a/academic/gwyddion/gwyddion-2.24-maskedit-drawing-crash.patch b/academic/gwyddion/gwyddion-2.24-maskedit-drawing-crash.patch new file mode 100644 index 000000000000..49654813cc23 --- /dev/null +++ b/academic/gwyddion/gwyddion-2.24-maskedit-drawing-crash.patch @@ -0,0 +1,22 @@ +Index: modules/tools/maskedit.c +=================================================================== +--- modules/tools/maskedit.c (revision 12328) ++++ modules/tools/maskedit.c (revision 12329) +@@ -159,7 +159,7 @@ + N_("Mask editor tool, allows to interactively add or remove parts " + "of mask."), + "Yeti ", +- "3.1", ++ "3.2", + "David Nečas (Yeti) & Petr Klapetek", + "2004", + }; +@@ -1524,8 +1524,6 @@ + if (tool->in_setup || tool->args.style != MASK_EDIT_STYLE_DRAWING) + return; + +- g_assert_not_reached(); +- + if (tool->args.tool == MASK_TOOL_PAINT_DRAW) + fillvalue = 1.0; + else if (tool->args.tool == MASK_TOOL_PAINT_ERASE) -- cgit v1.2.3