summaryrefslogtreecommitdiff
path: root/lang/ghc/files/extra-patch-ghc-utils-prof-cgprof-cgprof.c
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2003-12-12 16:33:17 +0000
committerOliver Braun <obraun@FreeBSD.org>2003-12-12 16:33:17 +0000
commit4c99d59e5e87b6d1d8f057324634268ae1c5b068 (patch)
tree938210f6df8fa1e2325a87b6cebd30e41bce6920 /lang/ghc/files/extra-patch-ghc-utils-prof-cgprof-cgprof.c
parent- Fix build on non-i386 platforms. (diff)
- Fix build on -CURRENT by importing some gcc33 fixes
- Fix linker issue on -CURRENT by not using SplitObjs, same as: http://www.haskell.org/pipermail/glasgow-haskell-users/2003-June/005289.html - Use libgmp from ports on -CURRENT (saves further patching) - Bump PORTREVISION PR: ports/60155 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=95673
Diffstat (limited to 'lang/ghc/files/extra-patch-ghc-utils-prof-cgprof-cgprof.c')
-rw-r--r--lang/ghc/files/extra-patch-ghc-utils-prof-cgprof-cgprof.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/lang/ghc/files/extra-patch-ghc-utils-prof-cgprof-cgprof.c b/lang/ghc/files/extra-patch-ghc-utils-prof-cgprof-cgprof.c
new file mode 100644
index 000000000000..dce9dc88c24f
--- /dev/null
+++ b/lang/ghc/files/extra-patch-ghc-utils-prof-cgprof-cgprof.c
@@ -0,0 +1,20 @@
+--- ghc/utils/prof/cgprof/cgprof.c.orig Thu Dec 11 11:50:34 2003
++++ ghc/utils/prof/cgprof/cgprof.c Thu Dec 11 11:51:47 2003
+@@ -1,5 +1,5 @@
+ /* ------------------------------------------------------------------------
+- * $Id: cgprof.c,v 1.1 2000/04/05 10:06:36 simonmar Exp $
++ * $Id: cgprof.c,v 1.2 2002/10/05 22:18:46 panne Exp $
+ *
+ * Copyright (C) 1995-2000 University of Oxford
+ *
+@@ -1183,8 +1183,8 @@
+ } /* end of new for loop */
+
+ *nonodes = symbol_table_next;
+- fprintf(log,"%s: read %d lines from profile.Graph contains %i nodes.
+- \n",Pgm,nolines,symbol_table_next);
++ fprintf(log,"%s: read %d lines from profile.Graph contains %i nodes.\n",
++ Pgm,nolines,symbol_table_next);
+
+ free_cc_matrix(cc_m); /* be nice and clean up the cost centre matrix */
+ }