aboutsummaryrefslogtreecommitdiffstats
path: root/cad/qfsm
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-08-02 20:30:34 +0800
committerarved <arved@FreeBSD.org>2007-08-02 20:30:34 +0800
commitcff079e378eea9ad7723b33b2c630b022140384e (patch)
tree43cf213e42ea2702b5a62b84f54f274724b8f47c /cad/qfsm
parent1eefeb38b357a5cb73b6a797818f3c8ca0787445 (diff)
downloadfreebsd-ports-gnome-cff079e378eea9ad7723b33b2c630b022140384e.tar.gz
freebsd-ports-gnome-cff079e378eea9ad7723b33b2c630b022140384e.tar.zst
freebsd-ports-gnome-cff079e378eea9ad7723b33b2c630b022140384e.zip
Fix build on 64bit platforms
Diffstat (limited to 'cad/qfsm')
-rw-r--r--cad/qfsm/files/patch-src::GState.cpp30
1 files changed, 28 insertions, 2 deletions
diff --git a/cad/qfsm/files/patch-src::GState.cpp b/cad/qfsm/files/patch-src::GState.cpp
index 99ec380f5f5a..6b8e2531609e 100644
--- a/cad/qfsm/files/patch-src::GState.cpp
+++ b/cad/qfsm/files/patch-src::GState.cpp
@@ -1,5 +1,5 @@
---- src/GState.cpp.orig Sat Mar 6 22:41:05 2004
-+++ src/GState.cpp Wed Mar 17 00:07:34 2004
+--- src/GState.cpp.orig 2004-11-21 14:48:41.000000000 +0100
++++ src/GState.cpp 2007-08-02 14:07:00.000000000 +0200
@@ -16,7 +16,7 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
@@ -9,3 +9,29 @@
#include <qpen.h>
#include <qbrush.h>
+@@ -196,9 +196,9 @@
+ t->getCPoint2(c2x, c2y);
+ info = t->getInfo();
+
+- qDebug("Adresse: %d", (int)t);
+- qDebug("Start: %d", (int)t->getStart());
+- qDebug("Ende: %d", (int)t->getEnd());
++ qDebug("Adresse: %d", (intptr_t)t);
++ qDebug("Start: %d", (intptr_t)t->getStart());
++ qDebug("Ende: %d", (intptr_t)t->getEnd());
+ qDebug("Inputs: %s", info->getInputsStrBin(/*numin*/).latin1());
+ qDebug("Outputs: %s", info->getOutputsStrBin(/*numout*/).latin1());
+ qDebug(" ");
+@@ -215,9 +215,9 @@
+ t->getCPoint2(c2x, c2y);
+ info = t->getInfo();
+
+- qDebug("Adresse: %d", (int)t);
+- qDebug("Start: %d", (int)t->getStart());
+- qDebug("Ende: %d", (int)t->getEnd());
++ qDebug("Adresse: %d", (intptr_t)t);
++ qDebug("Start: %d", (intptr_t)t->getStart());
++ qDebug("Ende: %d", (intptr_t)t->getEnd());
+ qDebug("Inputs: %s", info->getInputsStrBin(/*numin*/).latin1());
+ qDebug("Outputs: %s", info->getOutputsStrBin(/*numout*/).latin1());
+ qDebug(" ");