[commit: packages/Cabal] ghc-head: Backwards compatibility patch for cross-compilation changes. (b57b115)
git at git.haskell.org
git at git.haskell.org
Mon Aug 26 23:30:35 CEST 2013
Repository : ssh://git@git.haskell.org/Cabal
On branch : ghc-head
Link : http://git.haskell.org/?p=packages/Cabal.git;a=commit;h=b57b11580a6b666c6f6ef6359eaf5216874ef24a
>---------------------------------------------------------------
commit b57b11580a6b666c6f6ef6359eaf5216874ef24a
Author: Mikhail Glushenkov <mikhail.glushenkov at gmail.com>
Date: Fri Aug 23 08:06:21 2013 +0200
Backwards compatibility patch for cross-compilation changes.
Changes back the types of 'configCompiler' and 'configCompilerEx', but marks
them as deprecated. Adds new functions 'configCompilerEx' and
'configCompilerAuxEx'.
The remaining functions that changed type after the cross-compilation changes
shouldn't matter from the backwards compatibility standpoint:
* InstallDirs.{absoluteInstallDirs, prefixRelativeInstallDirs,
initialPathTemplateEnv} - the versions in D.S.LocalBuildInfo retain their
old types and are usually used instead. In any case, removing the Platform
parameter from here is problematic because the default install dirs now
include $arch and $os vars.
* D.S.Configure.configure - shouldn't be used by the setup scripts.
See #1214 for the original (backwards-incompatible) patches.
>---------------------------------------------------------------
b57b11580a6b666c6f6ef6359eaf5216874ef24a
Cabal/Distribution/Simple/Configure.hs | 44 +++++++++++++++------
cabal-install/Distribution/Client/Sandbox.hs | 8 ++--
cabal-install/Distribution/Client/SetupWrapper.hs | 4 +-
cabal-install/Main.hs | 6 +--
4 files changed, 41 insertions(+), 21 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc b57b11580a6b666c6f6ef6359eaf5216874ef24a
More information about the ghc-commits
mailing list