summaryrefslogtreecommitdiff
path: root/math/xgfe/files/patch-multiFileData.cpp
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2004-03-30 17:02:58 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2004-03-30 17:02:58 +0000
commit7ad012e1d9fc4e62211b50c38b45e788773e4611 (patch)
treeed1a8e636328bba0fe70f24f4ac79950a778c364 /math/xgfe/files/patch-multiFileData.cpp
parentUnbeak for 5.005 (diff)
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
Notes
Notes: svn path=/head/; revision=105715
Diffstat (limited to 'math/xgfe/files/patch-multiFileData.cpp')
-rw-r--r--math/xgfe/files/patch-multiFileData.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/math/xgfe/files/patch-multiFileData.cpp b/math/xgfe/files/patch-multiFileData.cpp
new file mode 100644
index 000000000000..9d9da6f51056
--- /dev/null
+++ b/math/xgfe/files/patch-multiFileData.cpp
@@ -0,0 +1,22 @@
+--- multiFileData.cpp.orig Thu May 21 00:09:57 1998
++++ multiFileData.cpp Wed Mar 17 17:30:37 2004
+@@ -59,8 +59,8 @@
+ multiFileList = new QComboBox( FALSE, mainMultiFileOptions, "ComboBox_2" );
+ multiFileList->setMinimumSize( 340, 30 );
+ multiFileList->setMaximumSize( 32767, 30 );
+- connect( multiFileList, SIGNAL(activated(const char*)), this,
+- SLOT(fileChanged(const char*)) );
++ connect( multiFileList, SIGNAL(activated(const QString&)), this,
++ SLOT(fileChanged(const QString&)) );
+ multiFileList->setSizeLimit( 100 );
+ multiFileList->setAutoResize( FALSE );
+
+@@ -689,7 +689,7 @@
+ {
+ }
+
+-void multiFileData::fileChanged(const char*)
++void multiFileData::fileChanged(const QString&)
+ {
+ }
+