summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2002-06-03 22:31:24 +0000
committerwollman <wollman@FreeBSD.org>2002-06-03 22:31:24 +0000
commit63a83c2edaa993b78c965b272e4860c112330cc1 (patch)
treedda9f58f5e616c74ffd4b8fa60a3fe8e155478da
parent5c229ff92731aa7260fe31431ae2ab01b7a92adc (diff)
downloadFreeBSD-ports-63a83c2edaa993b78c965b272e4860c112330cc1.zip
FreeBSD-ports-63a83c2edaa993b78c965b272e4860c112330cc1.tar.gz
Comment out unused variables whose initializers caused compile-time errors.
-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 dfc379c..56920fc 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 0000000..771c3a1c
--- /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
OpenPOWER on IntegriCloud