aboutsummaryrefslogtreecommitdiffstats
path: root/cad/qfsm/files
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-10-06 05:53:51 +0800
committermiwi <miwi@FreeBSD.org>2007-10-06 05:53:51 +0800
commit322a50a9a97368a1cf9cec6589ef3eeb4bac8693 (patch)
tree58622dfc8f4481b0757ec8018985478d248fdef1 /cad/qfsm/files
parentc195b9bfae36466f79fe0039f8651300be23d71a (diff)
downloadfreebsd-ports-gnome-322a50a9a97368a1cf9cec6589ef3eeb4bac8693.tar.gz
freebsd-ports-gnome-322a50a9a97368a1cf9cec6589ef3eeb4bac8693.tar.zst
freebsd-ports-gnome-322a50a9a97368a1cf9cec6589ef3eeb4bac8693.zip
- Update 0.45
PR: 116922 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'cad/qfsm/files')
-rw-r--r--cad/qfsm/files/patch-src::Draw.cpp10
-rw-r--r--cad/qfsm/files/patch-src::GState.cpp30
-rw-r--r--cad/qfsm/files/patch-src::Machine.h6
3 files changed, 11 insertions, 35 deletions
diff --git a/cad/qfsm/files/patch-src::Draw.cpp b/cad/qfsm/files/patch-src::Draw.cpp
index 89e8fa7e6b45..060131ab44ff 100644
--- a/cad/qfsm/files/patch-src::Draw.cpp
+++ b/cad/qfsm/files/patch-src::Draw.cpp
@@ -1,11 +1,13 @@
---- src/Draw.cpp.orig Sun Feb 29 21:38:23 2004
-+++ src/Draw.cpp Tue Mar 16 23:46:29 2004
-@@ -16,7 +16,7 @@
+--- src/Draw.cpp.orig Fri Aug 17 05:07:21 2007
++++ src/Draw.cpp Wed Oct 3 14:30:19 2007
+@@ -16,8 +16,8 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include <math.h>
+-#include <float.h>
+#include <cmath>
++#include <cfloat>
#include <qnamespace.h>
- #include <qlist.h>
+ #include <qptrlist.h>
#include <qpainter.h>
diff --git a/cad/qfsm/files/patch-src::GState.cpp b/cad/qfsm/files/patch-src::GState.cpp
index 6b8e2531609e..8d03cd8fc724 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 2004-11-21 14:48:41.000000000 +0100
-+++ src/GState.cpp 2007-08-02 14:07:00.000000000 +0200
+--- src/GState.cpp.orig Fri Aug 17 05:05:36 2007
++++ src/GState.cpp Wed Oct 3 14:33:54 2007
@@ -16,7 +16,7 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
@@ -9,29 +9,3 @@
#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(" ");
diff --git a/cad/qfsm/files/patch-src::Machine.h b/cad/qfsm/files/patch-src::Machine.h
index 8448be91d79c..335dce6b793c 100644
--- a/cad/qfsm/files/patch-src::Machine.h
+++ b/cad/qfsm/files/patch-src::Machine.h
@@ -1,11 +1,11 @@
---- src/Machine.h.orig Sat Mar 6 22:27:09 2004
-+++ src/Machine.h Wed Mar 17 00:11:08 2004
+--- src/Machine.h.orig Fri Aug 17 05:06:26 2007
++++ src/Machine.h Wed Oct 3 14:34:14 2007
@@ -19,7 +19,7 @@
#ifndef MACHINE_H
#define MACHINE_H
-#include <math.h>
+#include <cmath>
- #include <qlist.h>
+ #include <qptrlist.h>
#include <qobject.h>
#include <qstringlist.h>