diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2018-11-17 03:25:21 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-17 18:42:50 +0700 |
commit | 7b9ef071e76253dcd93ed8d08118d03ac5fec7d2 (patch) | |
tree | 6624727e79485c301f9d2c8e450f076def4693fb /haskell/ghc/ghc.SlackBuild | |
parent | b78776a9321ec271e8f7f972878dff54f19ea738 (diff) | |
download | slackbuilds-7b9ef071e76253dcd93ed8d08118d03ac5fec7d2.tar.gz |
haskell/ghc: Fixed build with Sphinx-1.8.
Thanks to Arnaud.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'haskell/ghc/ghc.SlackBuild')
-rw-r--r-- | haskell/ghc/ghc.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/haskell/ghc/ghc.SlackBuild b/haskell/ghc/ghc.SlackBuild index fae2c37322..2d5985a6e8 100644 --- a/haskell/ghc/ghc.SlackBuild +++ b/haskell/ghc/ghc.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=ghc VERSION=${VERSION:-8.4.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -115,6 +115,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Fix build with Sphinx +# https://phabricator.haskell.org/D5161 +# https://github.com/ghc/ghc/commit/4eebc8016f68719e1ccdf460754a97d1f4d6ef05.patch +patch -p1 < $CWD/4eebc8016f68719e1ccdf460754a97d1f4d6ef05.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |