diff options
author | Alexandre Buisse <nattfodd@gentoo.org> | 2006-02-04 14:55:42 +0000 |
---|---|---|
committer | Alexandre Buisse <nattfodd@gentoo.org> | 2006-02-04 14:55:42 +0000 |
commit | 7ffbc855aea6702e33829ceb1d457cbbab3aa4fc (patch) | |
tree | a6f342c5676f6d730c6349f19ecdb70d6071184f /dev-haskell/hmake/files | |
parent | Version bump. Masked for now, there has been a code cleanup. (diff) | |
download | gentoo-2-7ffbc855aea6702e33829ceb1d457cbbab3aa4fc.tar.gz gentoo-2-7ffbc855aea6702e33829ceb1d457cbbab3aa4fc.tar.bz2 gentoo-2-7ffbc855aea6702e33829ceb1d457cbbab3aa4fc.zip |
Bugfix for gcc4.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'dev-haskell/hmake/files')
-rw-r--r-- | dev-haskell/hmake/files/digest-hmake-3.10 | 2 | ||||
-rw-r--r-- | dev-haskell/hmake/files/ghc-version.patch | 14 |
2 files changed, 16 insertions, 0 deletions
diff --git a/dev-haskell/hmake/files/digest-hmake-3.10 b/dev-haskell/hmake/files/digest-hmake-3.10 index fbb65aab0594..c8cc6c283ee3 100644 --- a/dev-haskell/hmake/files/digest-hmake-3.10 +++ b/dev-haskell/hmake/files/digest-hmake-3.10 @@ -1 +1,3 @@ MD5 32c8fea53feaa9b2ead1622609ec052a hmake-3.10.tar.gz 104656 +RMD160 9a507639305e72218b3191e17433983ca4e8001a hmake-3.10.tar.gz 104656 +SHA256 309abe82803f50441caad64c4d5eddea424c5d9d89659c6e473cc4404cc90c48 hmake-3.10.tar.gz 104656 diff --git a/dev-haskell/hmake/files/ghc-version.patch b/dev-haskell/hmake/files/ghc-version.patch new file mode 100644 index 000000000000..cd1f048a0432 --- /dev/null +++ b/dev-haskell/hmake/files/ghc-version.patch @@ -0,0 +1,14 @@ +--- script/confhc.old 2006-02-04 16:24:05.000000000 +0100 ++++ script/confhc 2006-02-04 16:33:39.000000000 +0100 +@@ -76,10 +76,7 @@ + + # Now look for GHC. Determining the version number here is due to Simon Marlow. + ghcsym () { +- echo __GLASGOW_HASKELL__ >ghcsym.hs; +- $1 -E -cpp -optP-P ghcsym.hs -o ghcsym.out; +- grep -v '^#' ghcsym.out > $2; +- rm -f ghcsym.hs ghcsym.out; ++ $1 --numeric-version | cut -d'.' -s -f 1,2 |sed 's/\([0-9]\)\.\([0-9]\)/\10\2/' | sed 's/\([0-9]\)0\([0-9][0-9]\)/\1\2/'i > $2; + } + echo -n " Looking for ghc... " + if which ghc >/dev/null 2>&1 |