summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>2002-06-03 22:31:24 +0000
committerGarrett Wollman <wollman@FreeBSD.org>2002-06-03 22:31:24 +0000
commit936f2ad416c6decfb551f314a91e1392e0a925b9 (patch)
tree20e9356c9a306b7e0d863dd6dc30a5bc761ba2a3 /devel
parentBuild a new scanner to avoid compilation errors in crufty old AT&T (diff)
Comment out unused variables whose initializers caused compile-time errors.
Notes
Notes: svn path=/head/; revision=60556
Diffstat (limited to 'devel')
-rw-r--r--devel/mprof/files/patch-0119
-rw-r--r--devel/mprof/files/patch-mpgraph.c22
2 files changed, 22 insertions, 19 deletions
diff --git a/devel/mprof/files/patch-01 b/devel/mprof/files/patch-01
index dfc379c83721..56920fc57cab 100644
--- a/devel/mprof/files/patch-01
+++ b/devel/mprof/files/patch-01
@@ -78,25 +78,6 @@
+ #ifdef __FreeBSD__
+ #define CRT0_ADDRESS 0x10d3
#endif
-*** ../m/mpgraph.c Tue Apr 20 13:36:04 1993
---- mpgraph.c Wed Sep 15 23:27:07 1993
-***************
-*** 114,120 ****
- vertex from, to;
- mpdata data;
- int mark;
-! struct edge_struct *save
- } *edge, edge_item;
-
- edge
---- 114,120 ----
- vertex from, to;
- mpdata data;
- int mark;
-! struct edge_struct *save;
- } *edge, edge_item;
-
- edge
*** /dev/null Tue Nov 22 00:34:22 1994
--- Makefile.i386 Tue Nov 22 01:03:41 1994
***************
diff --git a/devel/mprof/files/patch-mpgraph.c b/devel/mprof/files/patch-mpgraph.c
new file mode 100644
index 000000000000..771c3a1c9df5
--- /dev/null
+++ b/devel/mprof/files/patch-mpgraph.c
@@ -0,0 +1,22 @@
+--- mpgraph.c.orig Tue Apr 20 16:36:18 1993
++++ mpgraph.c Mon Jun 3 18:26:17 2002
+@@ -23,8 +23,8 @@
+ #define UNUSED -1
+ #define USED 0
+
+-FILE *stout = stdout;
+-FILE *sterr = stderr;
++/* FILE *stout = stdout; */
++/* FILE *sterr = stderr; */
+
+ extern mpcell hmem[];
+ extern char *strdup();
+@@ -114,7 +114,7 @@
+ vertex from, to;
+ mpdata data;
+ int mark;
+- struct edge_struct *save
++ struct edge_struct *save;
+ } *edge, edge_item;
+
+ edge