pkgsrc/math/octave/patches/patch-libgui_qterminal_libqterminal_unix_Vt102Emulation.cpp
dbj e739676bb0 update to octave-4.0.0
Octave 4.0 is a major new release with many new features,
including a graphical user interface, support for classdef
object-oriented programming, better compatibility with Matlab,
and many new and improved functions.

A list of important user-visible changes is availble at
http://octave.org/NEWS-4.0.html, by selecting the Release Notes
item in the News menu of the GUI, or by typing news at the Octave
command prompt.
2016-02-16 04:21:40 +00:00

15 lines
640 B
C++

$NetBSD: patch-libgui_qterminal_libqterminal_unix_Vt102Emulation.cpp,v 1.1 2016/02/16 04:21:40 dbj Exp $
Changes for compiling with Qt5 instead of Qt4
--- libgui/qterminal/libqterminal/unix/Vt102Emulation.cpp.orig 2015-05-23 14:21:53.000000000 +0000
+++ libgui/qterminal/libqterminal/unix/Vt102Emulation.cpp
@@ -994,7 +994,7 @@ void Vt102Emulation::sendKeyEvent( QKeyE
"is missing.");
reset();
- receiveData( translatorError.toAscii().constData() , translatorError.count() );
+ receiveData( translatorError.toLatin1().constData() , translatorError.count() );
}
}