From fd737c39b74109bc718e40b7eb06bfc014b0f5cf Mon Sep 17 00:00:00 2001 From: Oliver Braun Date: Tue, 21 Oct 2003 21:56:23 +0000 Subject: - 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 --- devel/hs-tclhaskell-ghc/files/patch-TclPrimGhc.hs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devel/hs-tclhaskell-ghc/files/patch-TclPrimGhc.hs (limited to 'devel/hs-tclhaskell-ghc/files/patch-TclPrimGhc.hs') 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 -- cgit v1.2.3