summaryrefslogtreecommitdiff
path: root/math/scilab-toolbox-swt/files
diff options
context:
space:
mode:
Diffstat (limited to 'math/scilab-toolbox-swt/files')
-rw-r--r--math/scilab-toolbox-swt/files/patch-builder.sce17
-rw-r--r--math/scilab-toolbox-swt/files/patch-etc__swt.start18
2 files changed, 35 insertions, 0 deletions
diff --git a/math/scilab-toolbox-swt/files/patch-builder.sce b/math/scilab-toolbox-swt/files/patch-builder.sce
new file mode 100644
index 000000000000..3461826356e3
--- /dev/null
+++ b/math/scilab-toolbox-swt/files/patch-builder.sce
@@ -0,0 +1,17 @@
+--- ./builder.sce.orig 2010-06-30 18:31:36.000000000 +0400
++++ ./builder.sce 2010-07-10 20:13:24.901709864 +0400
+@@ -33,7 +33,7 @@
+ tbx_builder_macros(toolbox_dir);
+ //tbx_builder_src(toolbox_dir);
+ tbx_builder_gateway(toolbox_dir);
+-tbx_builder_help(toolbox_dir);
++// tbx_builder_help(toolbox_dir);
+ tbx_build_loader(TOOLBOX_NAME, toolbox_dir);
+ tbx_build_cleaner(TOOLBOX_NAME, toolbox_dir);
+
+@@ -41,3 +41,5 @@
+ // =============================================================================
+
+ clear toolbox_dir TOOLBOX_NAME TOOLBOX_TITLE;
++
++quit
diff --git a/math/scilab-toolbox-swt/files/patch-etc__swt.start b/math/scilab-toolbox-swt/files/patch-etc__swt.start
new file mode 100644
index 000000000000..4b9e07f0262d
--- /dev/null
+++ b/math/scilab-toolbox-swt/files/patch-etc__swt.start
@@ -0,0 +1,18 @@
+--- ./etc/swt.start.orig 2010-08-30 12:52:10.000000000 +0400
++++ ./etc/swt.start 2010-10-17 16:02:57.850107854 +0400
+@@ -34,15 +34,6 @@
+
+ // Load and add help chapter
+ // =============================================================================
+-if or(getscilabmode() == ["NW";"STD"]) then
+- mprintf("\tLoad help\n");
+- path_addchapter = pathconvert(root_tlbx+"/jar");
+- if ( isdir(path_addchapter) <> [] ) then
+- add_help_chapter("swt", path_addchapter, %F);
+- clear add_help_chapter;
+- end
+- clear path_addchapter;
+-end
+
+
+ clear root_tlbx;