summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2008-03-06 15:28:16 +0000
committer Eric Hameleers <alien@slackware.com>2008-03-06 15:28:16 +0000
commitd53eae63ca8ab690dce98587c88a58153235dba0 (patch)
treec3f78bb66bd2980954dfcdfddbb80ad51bdd55df
parent424b378569f38882e5ed1a9fdbd9c30c380ff401 (diff)
downloadasb-d53eae63ca8ab690dce98587c88a58153235dba0.tar.gz
asb-d53eae63ca8ab690dce98587c88a58153235dba0.tar.xz
Initial revision
-rw-r--r--qcad/build/qcad_64bit.patch22
-rw-r--r--qcad/build/qcad_gcc43.patch44
-rw-r--r--qcad/build/qcad_pedantic.patch11
3 files changed, 77 insertions, 0 deletions
diff --git a/qcad/build/qcad_64bit.patch b/qcad/build/qcad_64bit.patch
new file mode 100644
index 00000000..91b9261e
--- /dev/null
+++ b/qcad/build/qcad_64bit.patch
@@ -0,0 +1,22 @@
+--- qcad-2.0.4.0-1.src/qcadlib/src/engine/rs_entity.cpp.64bit 2005-05-25 18:09:58.000000000 -0400
++++ qcad-2.0.4.0-1.src/qcadlib/src/engine/rs_entity.cpp 2005-05-25 18:10:29.000000000 -0400
+@@ -849,7 +849,7 @@
+ os << " layer: NULL ";
+ } else {
+ os << " layer: " << e.layer->getName().latin1() << " ";
+- os << " layer address: " << (int)(e.layer) << " ";
++ os << " layer address: " << (e.layer) << " ";
+ }
+
+ os << e.pen << "\n";
+--- qcad-2.0.4.0-1.src/qcadlib/src/engine/rs_layer.cpp.64bit 2005-05-25 18:15:22.000000000 -0400
++++ qcad-2.0.4.0-1.src/qcadlib/src/engine/rs_layer.cpp 2005-05-25 18:16:12.000000000 -0400
+@@ -57,7 +57,7 @@
+ os << " name: " << l.getName().latin1()
+ << " pen: " << l.getPen()
+ << " frozen: " << (int)l.isFrozen()
+- << " address: " << (int)(&l)
++ << " address: " << (&l)
+ << std::endl;
+ return os;
+ }
diff --git a/qcad/build/qcad_gcc43.patch b/qcad/build/qcad_gcc43.patch
new file mode 100644
index 00000000..ec105dd0
--- /dev/null
+++ b/qcad/build/qcad_gcc43.patch
@@ -0,0 +1,44 @@
+diff -up qcad-2.0.5.0-1-community.src/dxflib/src/dl_writer_ascii.cpp.gcc43~ qcad-2.0.5.0-1-community.src/dxflib/src/dl_writer_ascii.cpp
+--- qcad-2.0.5.0-1-community.src/dxflib/src/dl_writer_ascii.cpp.gcc43~ 2005-11-22 20:46:57.000000000 +0900
++++ qcad-2.0.5.0-1-community.src/dxflib/src/dl_writer_ascii.cpp 2008-02-11 18:37:19.000000000 +0900
+@@ -25,6 +25,7 @@
+ **
+ **********************************************************************/
+
++#include <string.h>
+ #if _MSC_VER > 1000
+ #pragma once
+ #endif // _MSC_VER > 1000
+diff -up qcad-2.0.5.0-1-community.src/dxflib/src/dl_writer.h.gcc43~ qcad-2.0.5.0-1-community.src/dxflib/src/dl_writer.h
+--- qcad-2.0.5.0-1-community.src/dxflib/src/dl_writer.h.gcc43~ 2005-11-22 20:46:56.000000000 +0900
++++ qcad-2.0.5.0-1-community.src/dxflib/src/dl_writer.h 2008-02-11 18:37:19.000000000 +0900
+@@ -25,6 +25,7 @@
+ **
+ **********************************************************************/
+
++#include <strings.h>
+ #ifndef DL_WRITER_H
+ #define DL_WRITER_H
+
+diff -up qcad-2.0.5.0-1-community.src/qcadlib/src/information/rs_information.cpp.gcc43~ qcad-2.0.5.0-1-community.src/qcadlib/src/information/rs_information.cpp
+--- qcad-2.0.5.0-1-community.src/qcadlib/src/information/rs_information.cpp.gcc43~ 2005-11-22 20:52:39.000000000 +0900
++++ qcad-2.0.5.0-1-community.src/qcadlib/src/information/rs_information.cpp 2008-02-11 18:37:19.000000000 +0900
+@@ -24,6 +24,7 @@
+ **
+ **********************************************************************/
+
++#include <algorithm>
+ #include "rs_information.h"
+
+ #include "rs_constructionline.h"
+diff -up qcad-2.0.5.0-1-community.src/qcadactions/src/rs_actionzoompan.cpp.~1~ qcad-2.0.5.0-1-community.src/qcadactions/src/rs_actionzoompan.cpp
+--- qcad-2.0.5.0-1-community.src/qcadactions/src/rs_actionzoompan.cpp.~1~ 2005-11-22 20:51:46.000000000 +0900
++++ qcad-2.0.5.0-1-community.src/qcadactions/src/rs_actionzoompan.cpp 2008-02-11 18:47:00.000000000 +0900
+@@ -24,6 +24,7 @@
+ **
+ **********************************************************************/
+
++#include <algorithm>
+ #include "rs_actionzoompan.h"
+ #include "rs_snapper.h"
+ #include "rs_point.h"
diff --git a/qcad/build/qcad_pedantic.patch b/qcad/build/qcad_pedantic.patch
new file mode 100644
index 00000000..ba181936
--- /dev/null
+++ b/qcad/build/qcad_pedantic.patch
@@ -0,0 +1,11 @@
+--- qcad-2.0.5.0-1-community.src/mkspecs/defs.pro.nopedantic 2005-11-23 12:51:31.000000000 +0100
++++ qcad-2.0.5.0-1-community.src/mkspecs/defs.pro 2005-11-23 12:51:38.000000000 +0100
+@@ -1,6 +1,6 @@
+ # $Id$
+-QMAKE_CXXFLAGS_DEBUG += -pedantic
+-QMAKE_CXXFLAGS += -pedantic
++#QMAKE_CXXFLAGS_DEBUG += -pedantic
++#QMAKE_CXXFLAGS += -pedantic
+
+ win32 {
+ QMAKE_CFLAGS_THREAD -= -mthreads