summarylogtreecommitdiffstats
path: root/disable-offending-shell-code.patch
diff options
context:
space:
mode:
Diffstat (limited to 'disable-offending-shell-code.patch')
-rw-r--r--disable-offending-shell-code.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/disable-offending-shell-code.patch b/disable-offending-shell-code.patch
new file mode 100644
index 000000000000..f7cb896158ff
--- /dev/null
+++ b/disable-offending-shell-code.patch
@@ -0,0 +1,12 @@
+diff -ruN src.orig/fpcvalkyrie/src/vtextio.pas src/fpcvalkyrie/src/vtextio.pas
+--- src.orig/fpcvalkyrie/src/vtextio.pas 2016-12-21 09:02:25.722725632 -0500
++++ src/fpcvalkyrie/src/vtextio.pas 2016-12-21 09:14:21.148142771 -0500
+@@ -284,7 +284,7 @@
+ try if FMouse then DoneMouse; except on Exception do end;
+ try DoneVideo except on Exception do end;
+ //Unknown to myself, I have no clue why I get an access violation here...
+- {$IFDEF UNIX}Shell('reset');{$ENDIF}
++// {$IFDEF UNIX}Shell('reset');{$ENDIF}
+ inherited Destroy;
+ end;
+