aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-02-24 07:51:07 +0800
committernaddy <naddy@FreeBSD.org>2003-02-24 07:51:07 +0800
commit6d3dfe5a0443a7d1f12ed580247795bd8695d31b (patch)
tree0a5c44607614e4bb4008564cce170ff97584d081 /misc
parent2e361591414cde553af327f061482f13c7339663 (diff)
downloadfreebsd-ports-gnome-6d3dfe5a0443a7d1f12ed580247795bd8695d31b.tar.gz
freebsd-ports-gnome-6d3dfe5a0443a7d1f12ed580247795bd8695d31b.tar.zst
freebsd-ports-gnome-6d3dfe5a0443a7d1f12ed580247795bd8695d31b.zip
Fix build on -CURRENT (GCC3).
Diffstat (limited to 'misc')
-rw-r--r--misc/qmc/files/patch-cqmc24
-rw-r--r--misc/qmc/files/patch-main.cc23
-rw-r--r--misc/qmc/files/patch-msg.cc14
3 files changed, 61 insertions, 0 deletions
diff --git a/misc/qmc/files/patch-cqmc b/misc/qmc/files/patch-cqmc
new file mode 100644
index 000000000000..ae8bef535fdd
--- /dev/null
+++ b/misc/qmc/files/patch-cqmc
@@ -0,0 +1,24 @@
+
+$FreeBSD$
+
+--- cqmc.orig Mon Feb 24 00:31:45 2003
++++ cqmc Mon Feb 24 00:32:10 2003
+@@ -18,8 +18,8 @@
+ #ifndef cqmc
+ #define cqmc
+
+-namespace std
+-{
++//namespace std
++//{
+
+ //size of input string
+ #define TERM_GR 128
+@@ -85,6 +85,6 @@
+ extern void tableheadoutput(BOOL *var, unsigned char anz, unsigned char gt);
+ extern void tableoutput(bool value, bool option, unsigned char gt);
+ extern void tabletailoutput(char *minterm);
+-}
++//}
+ #endif
+
diff --git a/misc/qmc/files/patch-main.cc b/misc/qmc/files/patch-main.cc
new file mode 100644
index 000000000000..274a08ee0df8
--- /dev/null
+++ b/misc/qmc/files/patch-main.cc
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- main.cc.orig Mon Feb 24 00:41:46 2003
++++ main.cc Mon Feb 24 00:43:25 2003
+@@ -166,7 +166,7 @@
+ var= new BOOL[anz];
+
+ //number of possibilities
+- help=pow(2,anz);
++ help=pow((unsigned short)2,(unsigned short)anz);
+
+ //create boolean array
+ erg = new bool[help];
+@@ -242,7 +242,7 @@
+
+
+ //number of possibilty
+- help=pow(2,anz);
++ help=pow((unsigned short)2,(unsigned short)anz);
+
+
+ //create boolean array
diff --git a/misc/qmc/files/patch-msg.cc b/misc/qmc/files/patch-msg.cc
new file mode 100644
index 000000000000..402b0e7589e9
--- /dev/null
+++ b/misc/qmc/files/patch-msg.cc
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- msg.cc.orig Mon Feb 24 00:21:58 2003
++++ msg.cc Mon Feb 24 00:23:12 2003
+@@ -42,6 +42,8 @@
+ //Headers
+ #include <iostream>
+
++using namespace std;
++
+ /************
+ * *
+ * Errormsg *