pkgsrc-wip/c2hs/patches/patch-aa
Emil Sköldberg bd6172d6b4 Update to version 0.14.5
Changes since 0.14.3:

2005-12-12  Manuel M T Chakravarty  <chak@cse.unsw.edu.au>

        * c2hs/gen/GenBind.hs: When translating the target type of a
        pointer hook into a Haskell type, don't take the pointer hook
        alias map into account.

        * c2hs.cabal: version 0.14.5

        * c2hs/gen/GenBind.hs: Suppress code generation if requested

        * c2hs/chs/CHS.hs: Added `nocode' to pointer hooks

        * c2hs/chs/CHSLexer.hs: Added `nocode'

2005-12-05      Jelmer Vernooij <jelmer@samba.org>

        * c2hs/c/CTrav.hs: only match in `checkForOneCUName' if there are
        no indirections

2005-12-05      Jelmer Vernooij <jelmer@samba.org>

        * c2hs/gen/GenBind.hs: support mapping struct and union names to haskell
        types

        * c2hs/c/CTrav.hs: added `checkForOneCUName'

Fri Nov 25 10:54:56 EST 2005  Jelmer Vernooij <jelmer@samba.org>

        * add prettify functions for structs, enums and unions

2005-08-10  Manuel M T Chakravarty  <chak@cse.unsw.edu.au>

        * c2hs/gen/GBMonad.hs: apply `upcaseFirstLetter' and
        `downcaseFirstLetter' if specified

        * c2hs/chs/CHS.hs: added `upcaseFirstLetter' and `downcaseFirstLetter'

2005-08-09  Manuel M T Chakravarty  <chak@cse.unsw.edu.au>

        * c2hs/gen/CInfo.hs: exports `getPlatform'
2006-09-01 10:56:25 +00:00

20 lines
777 B
Text

$NetBSD: patch-aa,v 1.2 2006/09/01 10:56:25 emil_s Exp $
--- Setup.hs.orig 2005-07-14 07:58:25.000000000 +0000
+++ Setup.hs
@@ -8,7 +8,7 @@ import Distribution.Simple
import Distribution.Setup
import Distribution.Simple.LocalBuildInfo
-main = defaultMainWithHooks defaultUserHooks {postInst = addWrapperAndLib}
+main = defaultMainWithHooks defaultUserHooks
-- Install the c2hs shell script wrapper that passes the --data options as
-- well as the `C2HS' library module.
@@ -17,6 +17,3 @@ main = defaultMainWithHooks defaultUserH
-- as Cabal doesn't give us enough info (eg, no package name and version) to
-- do it all in Haskell.
--
-addWrapperAndLib :: Args -> InstallFlags -> LocalBuildInfo -> IO ExitCode
-addWrapperAndLib _ _ _ =
- system "./postInst.sh"