[SCM] image display tool for astronomy branch, debian, updated. b3f3e22b05a03c61742ba1e05602f098f3f59b71

Ole Streicher debian at liska.ath.cx
Mon Apr 9 17:01:36 UTC 2012


The following commit has been merged in the debian branch:
commit 1cabdeb1f38957cf20ef3991e34dd5450d22c20f
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Mon Apr 9 17:43:26 2012 +0200

    Avoid crashes for "View Horizontal/Vertical Graph"

diff --git a/debian/patches/fix_blt.patch b/debian/patches/fix_blt.patch
new file mode 100644
index 0000000..84d644e
--- /dev/null
+++ b/debian/patches/fix_blt.patch
@@ -0,0 +1,26 @@
+Author: Ole Streicher <debian at liska.ath.cx>
+Description: BLT crashes when it reaches this code. This seems to be some 
+ remaining bug in the BLT-3.0 distributed with ds9. However; This fix is 
+ pragmatic -- I will not guarantee that this is not a memore hole.
+ I would very much appreciate if someone could review this and provide 
+ a better fix.
+--- saods9-6.2+dfsg.orig/saotk/frame/frblt.C
++++ saods9-6.2+dfsg/saotk/frame/frblt.C
+@@ -315,7 +315,7 @@ void FrameBase::bltCut(char* xname, char
+   if (Blt_GetVector(interp, xname, &xx) != TCL_OK)
+     goto error;
+ 
+-  if (Blt_ResetVector(xx, x, length, length*sizeof(double), TCL_DYNAMIC) != 
++  if (Blt_ResetVector(xx, x, length, length*sizeof(double), TCL_STATIC) != 
+       TCL_OK)
+     goto error;
+ 
+@@ -323,7 +323,7 @@ void FrameBase::bltCut(char* xname, char
+   if (Blt_GetVector(interp, yname, &yy) != TCL_OK)
+     goto error;
+ 
+-  if (Blt_ResetVector(yy, y, length, length*sizeof(double), TCL_DYNAMIC) != 
++  if (Blt_ResetVector(yy, y, length, length*sizeof(double), TCL_STATIC) != 
+       TCL_OK)
+     goto error;
+ 
diff --git a/debian/patches/series b/debian/patches/series
index eccb9fc..bf2549e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@ add_psscale.patch
 avoid_compile_warnings_saotk.patch
 use_external_libs_saotk.patch
 use_external_libs_main.patch
+fix_blt.patch

-- 
image display tool for astronomy



More information about the debian-science-commits mailing list