summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-misc/qcad/files/qcad-2.0.3.1-gcc34.patch')
-rw-r--r--sci-misc/qcad/files/qcad-2.0.3.1-gcc34.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sci-misc/qcad/files/qcad-2.0.3.1-gcc34.patch b/sci-misc/qcad/files/qcad-2.0.3.1-gcc34.patch
new file mode 100644
index 000000000000..4cab00958ea2
--- /dev/null
+++ b/sci-misc/qcad/files/qcad-2.0.3.1-gcc34.patch
@@ -0,0 +1,14 @@
+--- qcadlib/src/math/rs_math.h.orig Sat Aug 21 20:00:56 2004
++++ qcadlib/src/math/rs_math.h Sat Aug 21 20:07:09 2004
+@@ -45,8 +45,9 @@
+ #include "rs_vector.h"
+
+ #ifdef __GNUC__
+-#define min(x,y) (x<y ? x : y)
+-#define max(x,y) (x>y ? x : y)
++//#define min(x,y) (x<y ? x : y)
++//#define max(x,y) (x>y ? x : y)
++using namespace std;
+ #endif
+
+ #define ARAD 57.29577951308232