diff options
Diffstat (limited to 'dev-haskell/c2hs/files')
-rw-r--r-- | dev-haskell/c2hs/files/cabalfix.patch | 11 | ||||
-rw-r--r-- | dev-haskell/c2hs/files/digest-c2hs-0.14.3 | 1 | ||||
-rw-r--r-- | dev-haskell/c2hs/files/setupfix.patch | 19 |
3 files changed, 31 insertions, 0 deletions
diff --git a/dev-haskell/c2hs/files/cabalfix.patch b/dev-haskell/c2hs/files/cabalfix.patch new file mode 100644 index 000000000000..4d1a09f413f5 --- /dev/null +++ b/dev-haskell/c2hs/files/cabalfix.patch @@ -0,0 +1,11 @@ +diff -Naur c2hs-0.14.1.orig/c2hs.cabal c2hs-0.14.1/c2hs.cabal +--- c2hs-0.14.1.orig/c2hs.cabal 2005-07-15 14:10:47.000000000 +0000 ++++ c2hs-0.14.1/c2hs.cabal 2005-12-04 21:30:55.000000000 +0000 +@@ -15,6 +15,7 @@ + libraries. It extracts C interface information from vanilla header + files and generates marshaling and signature code in Haskell. + Category: Development tool ++Build-Depends: base, haskell98 + + Executable: c2hs + Hs-Source-Dirs: base/admin diff --git a/dev-haskell/c2hs/files/digest-c2hs-0.14.3 b/dev-haskell/c2hs/files/digest-c2hs-0.14.3 new file mode 100644 index 000000000000..1ade72700b52 --- /dev/null +++ b/dev-haskell/c2hs/files/digest-c2hs-0.14.3 @@ -0,0 +1 @@ +MD5 f654b5950bdbeb4ddbea1fca1407ec57 c2hs-0.14.3.tar.gz 306118 diff --git a/dev-haskell/c2hs/files/setupfix.patch b/dev-haskell/c2hs/files/setupfix.patch new file mode 100644 index 000000000000..6e70a8253e8a --- /dev/null +++ b/dev-haskell/c2hs/files/setupfix.patch @@ -0,0 +1,19 @@ +--- Setup.hs 2005-07-14 09:58:25.000000000 +0200 ++++ Setup.hs 2005-07-28 19:06:11.000000000 +0200 +@@ -8,15 +8,5 @@ + 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. +--- +--- * We need to do this via a shell script that has been munged by ./configure, +--- 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" |