freebsd-ports/math/xgfe/files/patch-multiFuncData.cpp
Alexander Leidinger 7ad012e1d9 Unfortunately, the recent changes to math/xgfe (PR 59024) broke its
compilation on FreeBSD 4 with GCC 2.95.4:
        http://bento.freebsd.org/errorlogs/i386-4-latest/xgfe-2.1.log

The patch below fixes this.

During testing it on FreeBSD 4 and 5 with QT 3.3.1 I noticed that the
Advanced -> Multiple Files and Advanced -> Multiple Functions dialogs
were broken. I'm not sure if this is a new breakage with QT 3.3.1 or
if I didn't notice these when testing the previous patch on FreeBSD 5
with QT 3.2.1. Anyway, these are also fixed and as a precaution
PORTREVISION is bumped.

The patch also adds SIZE info.

PR:		64390
Submitted by:	Marius Strobl <marius@alchemy.franken.de>
Approved by:	maintainer
2004-03-30 17:02:58 +00:00

20 lines
741 B
C++

--- multiFuncData.cpp.orig Mon May 18 04:04:37 1998
+++ multiFuncData.cpp Wed Mar 17 17:35:27 2004
@@ -52,7 +52,7 @@
multiFuncList = new QComboBox( FALSE, this, "ComboBox_3" );
multiFuncList->setMinimumSize( 340, 30 );
multiFuncList->setMaximumSize( 32767, 30 );
- connect( multiFuncList, SIGNAL(activated(const char*)), SLOT(funcChanged(const char*)) );
+ connect( multiFuncList, SIGNAL(activated(const QString&)), SLOT(funcChanged(const QString&)) );
multiFuncList->setSizeLimit( 100 );
multiFuncList->setAutoResize( FALSE );
@@ -243,7 +243,7 @@
multiFuncData::~multiFuncData()
{
}
-void multiFuncData::funcChanged(const char*)
+void multiFuncData::funcChanged(const QString&)
{
}
void multiFuncData::insertNewFunction()