diff options
author | arved <arved@FreeBSD.org> | 2004-06-13 05:41:39 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-06-13 05:41:39 +0800 |
commit | ad8835ec60b92bb8ae7b0a936fea264040f8fbd3 (patch) | |
tree | 269904fdf12046f6eb365913648f418bc8e2a87d /devel/pedisassem | |
parent | af36df77ddff9c0daed3b054f2a9c5c6a4084b7d (diff) | |
download | freebsd-ports-gnome-ad8835ec60b92bb8ae7b0a936fea264040f8fbd3.tar.gz freebsd-ports-gnome-ad8835ec60b92bb8ae7b0a936fea264040f8fbd3.tar.zst freebsd-ports-gnome-ad8835ec60b92bb8ae7b0a936fea264040f8fbd3.zip |
Fix build with gcc34
Diffstat (limited to 'devel/pedisassem')
-rw-r--r-- | devel/pedisassem/files/patch-main.c | 56 | ||||
-rw-r--r-- | devel/pedisassem/files/patch-print.c | 29 |
2 files changed, 85 insertions, 0 deletions
diff --git a/devel/pedisassem/files/patch-main.c b/devel/pedisassem/files/patch-main.c new file mode 100644 index 000000000000..a4423b6ea3e4 --- /dev/null +++ b/devel/pedisassem/files/patch-main.c @@ -0,0 +1,56 @@ +--- main.c.orig Wed Sep 12 13:00:18 2001 ++++ main.c Sat Jun 12 23:39:59 2004 +@@ -2146,7 +2146,7 @@ + if (getMap(pos)&0x05) orMap(pos, 0x10);
+ /*----------*/popTrace();
+ }
+- default:
++ default: break;
+ }
+ return 1;
+ }
+@@ -2246,7 +2246,7 @@ + orMap(r, 0xE0);
+ /*-----------*/popTrace();
+ break;
+- default:
++ default: break;
+ }
+ }
+
+@@ -2306,7 +2306,7 @@ + switch(i)
+ {
+ case 8: changeTo80Real(r,rmax); break;
+- default:
++ default: break;
+ }
+ }
+ }
+@@ -2970,7 +2970,7 @@ + // the following code is move to above position....^^^^^.....
+ //if (ref<pos+4) { eraseUncertain(ref); break; }
+
+- default:
++ default: break;
+ }
+ }
+ //
+@@ -3042,7 +3042,7 @@ + /*-----------*/popTrace();
+ }
+ }
+- default:
++ default: break;
+ }
+ }
+ }
+@@ -3217,7 +3217,7 @@ + }
+ }
+ break;
+- default:
++ default: break;
+ }
+ /*-----------*/popTrace();
+ }
diff --git a/devel/pedisassem/files/patch-print.c b/devel/pedisassem/files/patch-print.c new file mode 100644 index 000000000000..a7c14299b2c2 --- /dev/null +++ b/devel/pedisassem/files/patch-print.c @@ -0,0 +1,29 @@ +--- print.c.bak Fri Oct 13 09:27:24 2000 ++++ print.c Sat Jun 12 23:42:27 2004 +@@ -225,7 +225,7 @@ + case 16: pr1ntf("word"); printCol+=4; break;
+ case 32: pr1ntf("dword"); printCol+=5; break;
+ case 64: pr1ntf("qword"); printCol+=5; break;
+- default:
++ default: break;
+ }
+ prefix();
+ }
+@@ -430,7 +430,7 @@ + break;
+ case 16: print16case();
+ break;
+- default:
++ default: break;
+ }
+ }
+ else
+@@ -449,7 +449,7 @@ + break;
+ case 5: print25case();
+ break;
+- default:
++ default: break;
+ }
+ }
+ } /* end of nmonicprint() */
|