diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2003-02-23 23:51:07 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2003-02-23 23:51:07 +0000 |
commit | 4caa5b52e02ea3f3cf92ab43be9450a3cd4444e9 (patch) | |
tree | 91d57c02021d96bf3b9edb3101757dabb8108be9 /misc | |
parent | graphics/gauche-gl to 0.2.2 (diff) |
Fix build on -CURRENT (GCC3).
Notes
Notes:
svn path=/head/; revision=76335
Diffstat (limited to 'misc')
-rw-r--r-- | misc/qmc/files/patch-cqmc | 24 | ||||
-rw-r--r-- | misc/qmc/files/patch-main.cc | 23 | ||||
-rw-r--r-- | misc/qmc/files/patch-msg.cc | 14 |
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 *
|