diff options
author | netchild <netchild@FreeBSD.org> | 2004-03-31 01:02:58 +0800 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2004-03-31 01:02:58 +0800 |
commit | c0825cc5c06a8584a157bab72457f8d08a8f1b4f (patch) | |
tree | 8ebdee62e061310d19e568cfc39a51a42f1793ce /math/xgfe/files/patch-ticsLevel.cpp | |
parent | 4f7ce929d324a43274d968ed0f60439ab025e74b (diff) | |
download | freebsd-ports-graphics-c0825cc5c06a8584a157bab72457f8d08a8f1b4f.tar.gz freebsd-ports-graphics-c0825cc5c06a8584a157bab72457f8d08a8f1b4f.tar.zst freebsd-ports-graphics-c0825cc5c06a8584a157bab72457f8d08a8f1b4f.zip |
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
Diffstat (limited to 'math/xgfe/files/patch-ticsLevel.cpp')
-rw-r--r-- | math/xgfe/files/patch-ticsLevel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/math/xgfe/files/patch-ticsLevel.cpp b/math/xgfe/files/patch-ticsLevel.cpp index 4e0ef58ebf0..67d12d55860 100644 --- a/math/xgfe/files/patch-ticsLevel.cpp +++ b/math/xgfe/files/patch-ticsLevel.cpp @@ -6,7 +6,7 @@ diff -u ticsLevel.cpp.orig ticsLevel.cpp void ticsLevel::setTicsLevel() { - string level = ticsLevelEdit->text(); -+ string level = string(ticsLevelEdit->text()); ++ string level = ticsLevelEdit->text().ascii(); gnuInt->setTicsLevel(level); |