summaryrefslogtreecommitdiff
path: root/devel/hs-tclhaskell-ghc/files/patch-TclPrimGhc.hs
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2003-10-21 21:56:23 +0000
committerOliver Braun <obraun@FreeBSD.org>2003-10-21 21:56:23 +0000
commitfd737c39b74109bc718e40b7eb06bfc014b0f5cf (patch)
treed2d370dbc3f13dc2e93e1248a63f8a501e456386 /devel/hs-tclhaskell-ghc/files/patch-TclPrimGhc.hs
parentAdd a bit on using Maven with a proxy. (diff)
- Add knob for GHC, prefer lang/ghc6
- Strip PORTNAME, generate PKGNAMESUFFIX depending on GHC version - Add patch file req'd for ghc6, fix package.conf => Bump PORTREVISION PR: ports/58349 Submitted by: maintainer
Diffstat (limited to 'devel/hs-tclhaskell-ghc/files/patch-TclPrimGhc.hs')
-rw-r--r--devel/hs-tclhaskell-ghc/files/patch-TclPrimGhc.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/hs-tclhaskell-ghc/files/patch-TclPrimGhc.hs b/devel/hs-tclhaskell-ghc/files/patch-TclPrimGhc.hs
new file mode 100644
index 000000000000..bc183fc496a2
--- /dev/null
+++ b/devel/hs-tclhaskell-ghc/files/patch-TclPrimGhc.hs
@@ -0,0 +1,11 @@
+--- TclPrimGhc.hs.orig Tue Oct 21 17:29:21 2003
++++ TclPrimGhc.hs Tue Oct 21 17:29:43 2003
+@@ -42,7 +42,7 @@
+ writeElt pstr 0 str
+ return pstr
+ where
+- len = Word.intToWord32 (length str + 1)
++ len = fromIntegral (length str + 1)
+
+ writeElt addr n [] = writeCharOffAddr addr n '\0'
+ writeElt addr n (v :vs) = do